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 Print Unique Lines from a File?

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 *

SiteGround.com

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.

TRY FREE

* up to 30 days money back guarantee