PDA

View Full Version : yum update problem re:nvidia



JoeyJoJoe
27th May 2006, 05:10 PM
I try to do a yum update (including updating to the new kernal) this means I have to update my kmod-nividia but it doesn't seem to work despite saying that the download reached 100% i get this message after the download section is complete


Error Downloading Packages:
kmod-nvidia - 1.0.8762-1.2.6.16_1.2122_FC5.i686: failure: kmod-nvidia-1.0.8762-1.2.6.16_1.2122_FC5.i686.rpm from livna: [Errno 256] No more mirrors to try.

which is strange because I thought it had downloaded... should I just wait for another one... and if I do decide to just leave it is there any way I can just update everything but the kernal and kmod-nvidia?

linmix
27th May 2006, 05:42 PM
Looks like you have connection problems. Try again. If the problem persists change the retry settings in your yum.conf

JoeyJoJoe
27th May 2006, 06:39 PM
I'm using the yum.conf from fedorafaq but I can't see any retry settings... there is a time out setting, set to 7... should I up that? The update seems like it's got to 100% so i'm a bit confused about it all

JoeyJoJoe
27th May 2006, 06:46 PM
This is getting strange now... I tried to re-start it and this is what it said (bearing in mind in the summery it said that kmod-nvidia would be 1.6 MB and that after installing the new one the update of it would be 1.6MB:


(1/2): kmod-nvidia-1.0.87 100% |=========================| 1.6 MB 00:05
(2/2): kmod-nvidia-1.0.87 100% |=========================| 3.1 MB 00:05
http://rpm.livna.org/fedora/5/i386/kmod-nvidia-1.0.8762-1.2.6.16_1.2122_FC5.i686.rpm: [Errno -1] Package does not match checksum
Trying other mirror.
(2/2): kmod-nvidia-1.0.87 100% |=========================| 4.7 MB 00:05
http://livna.cat.pdx.edu/fedora/5/i386/kmod-nvidia-1.0.8762-1.2.6.16_1.2122_FC5.i686.rpm: [Errno -1] Package does not match checksum
Trying other mirror.
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/5/i386/kmod-nvidia-1.0.8762-1.2.6.16_1.2122_FC5.i686.rpm: [Errno 9] Requested Range Not Satisfiable
Trying other mirror.
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/5/i386/kmod-nvidia-1.0.8762-1.2.6.16_1.2122_FC5.i686.rpm: [Errno 9] Requested Range Not Satisfiable
Trying other mirror.


Error Downloading Packages:
kmod-nvidia - 1.0.8762-1.2.6.16_1.2122_FC5.i686: failure: kmod-nvidia-1.0.8762-1.2.6.16_1.2122_FC5.i686.rpm from livna: [Errno 256] No more mirrors to try.

Any ideas?

linmix
27th May 2006, 07:10 PM
"Package does not match checksum" is the key to the strange behaviour. A package is downloaded, but it got corrupted somewhere along the line and therefore the checksum doesn't match.

As for yum.conf, mine has:

# re-trying takes forever.
retries=5
# I get disconnected quite often
timeout=50
# How long before refreshing the database
metadata_expire=1800

JoeyJoJoe
27th May 2006, 09:07 PM
if the package has been corrupted is there any way I can get rid the data which it is remembering and then start over. It's not downloading a lot of the stuff because (I think) it has saved it in a temporary file and is then reading from there, can I get rid of that and then re-download the metadata and packages or do I just have to wait; my yum.conf said something about it expiraing after "1800"... is that seconds/minutes/days? would changing that help?

linmix
27th May 2006, 09:30 PM
man yum.conf:

metadata_expire
Time (in seconds) after which the metadata will expire. So that
if the current metadata downloaded is less than this many sec-
onds old then yum will not update the metadata against the
repository.
man yum:

CLEAN OPTIONS
The following are the ways which you can invoke yum in clean mode.

yum clean packages
Eliminate any cached packages from the system. Note that pack-
ages are not automatically deleted after they are downloaded.

yum clean headers
Eliminate all of the files which yum uses to determine the
remote availability of packages. Using this option will force
yum to download all the headers the next time it is run.

yum clean all
Runs yum clean packages and yum clean headers as above.
However, as far as I know, incomplete or corrupt files are deleted/overwritten on each new invocation of yum.

JoeyJoJoe
28th May 2006, 12:20 PM
I did a yum clean all and then re-downloaded all of it, although it didn't help... which is very strange.

What's more strange is the fact that in the list of what will be downloaded it says installing:
kmod-nvidia i686 1.0.8762-1.2.6.16_1.2122_FC5 livna 1.6 M
and further down updating for dependencies:
kmod-nvidia i686 1.0.8762-1.2.6.16_1.2122_FC5 livna 1.6 M

but it is already getting it and installing it... so it doesn't need updating. it gets even stranger when it actually tries to download stuff because it says:
(1/2): kmod-nvidia-1.0.87 100% |=========================| 1.6 MB 00:42
(2/2): kmod-nvidia-1.0.87 100% |=========================| 3.1 MB 00:51
http://rpm.livna.org/fedora/5/i386/kmod-nvidia-1.0.8762-1.2.6.16_1.2122_FC5.i686.rpm: [Errno -1] Package does not match checksum
Trying other mirror.
(2/2): kmod-nvidia-1.0.87 100% |=========================| 4.7 MB 00:15
http://livna.cat.pdx.edu/fedora/5/i386/kmod-nvidia-1.0.8762-1.2.6.16_1.2122_FC5.i686.rpm: [Errno -1] Package does not match checksum

...why is it trying to download 4.7 MB when it should only be 1.6... why when it goes on to (2/2) does it start at about 50% complete? and then (2/2) reaches the end and then decideds to go after something else... it's all very strange

Is there a command i can use to get everything but the new kernal and kmod-nvidia or will I have to do it manually?

linmix
28th May 2006, 07:18 PM
It looks like it expects a package of 1.6Mb, checks the checksum - which for some reason doesn't match and continues with a new download. Each time it downloads a multiple of 1.6Mb

Try configuring a different set of mirrors and see if that helps.

As for excluding packages from a download. Take some time to read the man pages !

--exclude=package
Exclude a specific package by name or glob from updates on all
repositories.
Configuration Option: exclude

Seve
28th May 2006, 07:23 PM
Hello:
There is or was a BUG with the livna kmod-nvidia 8762 with respect to dependencies etc [paraphrasing]
Try # yum update xorg-x11-drv-nvidia
and it should update both the kmod-nvidia and xorg-x11-dri-nvidia, both are from livna. Once it has completed, then you can do your normal yum update as usual. This worked a couple of days ago......so it may not be the same today, however, it may be worth a shot.
hth
Seve

JoeyJoJoe
29th May 2006, 09:09 AM
Seve, that got it working. Thanks to both of you for you help.

sej7278
29th May 2006, 04:47 PM
just download the .bin file from nvidia and let it compile itself, stop wasting your life with livna rpms.

linmix
31st May 2006, 06:05 AM
Wish it was that easy. I tried ... and failed miserably: changing runlevels, editing conf files etc is ok if you know what you're doing but it sure is daunting to a newbie or anyone used to an almost 'single-click' installation mthod (e.g. yumex). Not sure where the waste is in that...