March 25, 2017

CentOS Warning: RPMDB altered outside of yum

Yum is an automatic updater and package installer/remover for rpm-based systems. It automatically computes dependencies and figures out what things should occur in order to safely install, remove, and update rpm packages. Yum also efficiently and easily retrieves information on any package installed or available in a repository to the installer.

When trying to update your server via the yum command you might see the following error / warning message:

Warning: RPMDB altered outside of yum.

Total download size: 28 k
Installed size: 53 k
Is this ok [y/N]: y
Downloading Packages:
nethogs-0.8.0-1.el6.x86_64.rpm | 28 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

Warning: RPMDB altered outside of yum.

Installing : nethogs-0.8.0-1.el6.x86_64 1/1

nethogs.x86_64 0:0.8.0-1.el6


How do you fix this problem?

+George Rushby