Re: yum update of yum breaks yum
"Fajar Nugraha" <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
On 1/11/08, william noble <[email protected]> wrote: > > On CentOS 4 I did a 'yum -y update yum' from > yum.noarch 2.4.3-1.c4 to yum.noarch 2.4.3-4.el4.centos. The update > succeeded, but the next invocation of yum warned: > Warning: cache file is version 6, we need 10, will regenerate This warning is normal when there is a change in metadata cache. Yum should be able to continue automatically. However, for this to happen on the same version (2.4.3), usually means something is wrong. and failed (see below). How can I repair this? Since you're using yum from Centos repo, I suggest you contact Centos maintainers or file a bug report. In the mean time, you could try : - cleaning old metadata manually, as suggested by Brian - remove (or move) /var/cache/yum - downgrading yum to a working version. Dependencies Resolved > > > ============================================================================= > Package Arch Version Repository > Size > > ============================================================================= > Updating: > yum noarch 2.4.3-4.el4.centos base > 386 k > Installing for dependencies: > yum-metadata-parser i386 1.0-8.el4.centos base > 23 k Since this update also install yum-metadata-parser, you might need to remove this package if you want to downgrade yum. Regards, Fajar _______________________________________________ Yum mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum