[Yum] yum update of yum breaks yum
Fajar Nugraha
fajar at fajar.net
Sat Jan 12 13:34:53 UTC 2008
On 1/11/08, william noble <deinometis at yahoo.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20080112/33c3db05/attachment-0001.htm
More information about the Yum
mailing list