What is best update site for Up2date
Harry Putnam
reader at newsguy.com
Tue Feb 24 12:10:47 UTC 2004
jim tate <mickeyboa at comcast.net> writes:
> I am getting unresolved dependencies problems on a large amount of
> packages that need to be updated.
> I upgraded to yum-2.0.5-1.noarch.rpm and up2date-4.3.11-2.1.i386.rpm.
> Any ideals?
NOTE:
All of this is wild guess work so beware following suggestions.
I see by the version of up2date, you are working with core2 test1
files.
In the last few days there has been a major version update accross
the board I think. Or maybe its just that my install isos were out of
sync pretty bad. But I needed to update some 650+ packages.
I noticed some mirrors I was redirected to had older versions but
found the latest stuff only on the main site. (early yesterday)
I think on that scale, up2date may find dependancey problems that are
really because the dependancies are too slow downloading or someother
kind of download related timeout.
What I did was use the `--get' command to up2date to just download
everything in rough increments of 20-50 packages at a time by getting a
full list with up2date -u then using shell scripting to piecemeal all
those packages with up2date --get.
Things started to work better after that with a command that tells
up2date to look in /var/spool/up2date before downloading:
create a list of 20-50 packages, then:
up2date -i `cat list` -k /var/spool/up2date.
Then up2date can find the dependancy packages on hdd.
After a few successfull rounds of that, I got brave and ran.
up2date -i -u -k /var/spool/up2date \
and updated the remaining 3oo or so packages in one go.
I've discovered that the -k /var/spool/up2date may not be necessary
... it seemed like up2date found them anyway. It might be default
behavior.
--
So to summarize:
1) Get all the updates on disk with:
up2date --get `cat list` (try increments first)
2) Ran a few starters with:
up2date -i `cat list` -k /var/spool/up2date
If it seems to be working try:
up2date -i -u -k /var/spool/up2date
(The -i is necessary only if you have up2date configged not to
install automatically)
--
I'd try a few groups of 20 for starters. But maybe it would be ok all
at once. Things may have propigated now but I'd have a browser open
on
http://download.fedora.redhat.com/pub/fedora/linux/core/development/$ARCH
(rawhide)
To make sure any mirror packages you may get redirected to have the
current versions. It they do then using a line like (wrapped for
mail):
yum-mirror fedora-core-rawhide \
http://fedora.redhat.com/download/up2date-mirrors/fedora-core-rawhide
in /etc/sysconfig/rhn/sources
Might allow you to get them faster instead of relying on the main site
only.
More information about the fedora-test-list
mailing list