How to Fix “Warning: RPMDB altered outside of yum.”


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

Warning: RPMDB altered outside of yum.

Example :

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

This means 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 Install and Configure yum-priorities on CentOS 5/RHEL 5 Linux Server

To fix this, just run this command :

[root@centos6 ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: CentOS6.2-Repository
Cleaning up Everything
Cleaning up list of fastest mirrors

One comment on “How to Fix “Warning: RPMDB altered outside of yum.”

  • udosoft

    yum history new

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>