[CentOS] Problem running yum update command
Darr247
darr247 at gmail.com
Sun Apr 6 02:32:24 UTC 2014
On 06 April 2014 @00:46 zulu, H wrote:
> Googling the message I find several-year old posts where it seems that
> the database has been corrupted (or similar.) Has anyone else seen this
> recently and is there a recommended fix?
>
If you're in the /etc/sudoers file...
$ sudo yum clean all
$ sudo rpm --rebuilddb
otherwise, try
$ su -c yum clean all
$ su -c rpm --rebuilddb
NB there are 2 dashes in front of rebuilddb.
More information about the CentOS
mailing list