:::: MENU ::::

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

Installed:
nethogs.x86_64 0:0.8.0-1.el6

Complete!

How do you fix this problem?

+George Rushby


  • http://www.niccolobrogi.com Niccolò Brogi

    Yup.

  • http://www.documentosdoadm.wordpress.com/ Eduardo Mozart de Oliveira

    Worked here! Thanks!
    I think that this happen when we install a package manually with RPM instead using YUM, right?

  • udosoft

    “yum clean all” does not work!
    the right command is
    yum history new
    BR
    Udosoft