[CentOS] yum update fails: CentOS 5.2
ssilva at sgvwater.com
Mon Jan 12 21:07:55 UTC 2009
on 1-12-2009 12:24 PM Spiro Harvey spake the following:
>> tried deleting /var/lib/rpm/__* after killing all yum processes?
> Yum has command line options to do its housecleaning which I would
> try first.
> yum help clean
> What does deleting the __db files do that the yum clean all doesn't?
> (which I notice doesn't delete those specific files)
Yum clean all only does housekeeping on yum's files. It does not fix any
problems in the underlying rpm database.
Deleting the __db files will usually clean up after improperly closed rpm
sessions. You usually have to follow the deletion with "rpm --updatedb" for it
to do anything.
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 258 bytes
Desc: OpenPGP digital signature
More information about the CentOS