[CentOS] yum warning...

Ljubomir Ljubojevic office at plnet.rs
Thu Jan 5 17:53:39 UTC 2012

On 01/05/2012 04:01 PM, Marko Vojinovic wrote:
> On Thursday 05 January 2012 06:17:17 John Doe wrote:
>> How come a simple update of a a single package from CentOS update
>> would "alter RPMDB outside of yum"...?
> The warning is generated by yum, saying that its own database of installed
> packages does not match the rpm database. This basically means that sometime
> back you have used rpm directly to install/remove some package, circumventing
> yum. You are not supposed to install rpm packages behind yum's back. :-)
> The warning has nothing to do with the vsftpd package which is being updated
> in this instance. It's rather yum performing the database check when the
> transaction starts.

This can be avoided using "yum localinstall <package-filename>" from the 
location where that package is, instead of "rpm -ivh <package-filename>".


Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant

More information about the CentOS mailing list