How to Fix “Warning: RPMDB altered outside of yum” Error on Linux Fedora 16 Server

Question :
When i try to install the packages or software using the yum command, the following error or warning message appeared:

Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing :......

Answer :
Some application has altered the rpm database (installed or removed a package) without going through the Yum APIs. To avoid this, it’s recommended to update, install or remove RPM packages using yum command, instead of ” rpm -e” or “rpm -i” or “rpm -ivh” or “rpm -Uvh”.

READ  How to Delete Anonymous Users From MySQL on CentOS 6.2

To fix this, just run this command :

[root@fedora16 ~]# yum clean all
Cleaning repos: Fedora16-Repository
Cleaning up Everything

Leave a Reply

Your email address will not be published. Required fields are marked *