PDA

View Full Version : yum only checks local files, will not check repos


ewinb
2005-12-07, 09:21 AM CST
I have installed FC5 without any problems and have kept it up to date with yum.

Except! Except that I am now hung with the recent cluster of unresolved dependencies. I see from the rawhide report that they are fixed, but when I run 'yum update', yum only reads the local files before "Resolving Dependencies", at which point it complains it needs some libs, and then it quits.

How can I provoke (or command) yum to get out of the funk it is in?

bob
2005-12-07, 12:12 PM CST
Have you tried 'yum clean all' ?

ewinb
2005-12-07, 01:06 PM CST
Yes, after backing up the /var/cache/yum directories (for use on other local FC5 boxes).

Running 'yum update' now fails because yum cannot find repomd.xml

Any suggestions? I can restore this file from the backup.

NBZ
2005-12-07, 06:22 PM CST
try 'yum makecache'. I think that is what I did,

It will only look for new files once every 8 hours now. It can be overridden in the config files.

Alternatively in /var/cache/yum for each each repo you wanna rescan, in the relevant directory delete the yum cookie file, and yum will look for an update for the repo.

ewinb
2005-12-07, 09:12 PM CST
Thanks, deleting the cookie helped to resolve this problem.