[CentOS] yum warning...

Marko Vojinovic vvmarko at gmail.com
Thu Jan 5 15:01:33 UTC 2012


On Thursday 05 January 2012 06:17:17 John Doe wrote:
> # yum update
> ...
> Downloading Packages:
> vsftpd-2.2.2-6.el6_2.1.x86_64.rpm                                 | 149
> kB     00:01     Running rpm_check_debug
> Running Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Warning: RPMDB altered outside of yum.
>   Updating   :
> vsftpd-2.2.2-6.el6_2.1.x86_64                                         1/2
> Cleanup    :
> vsftpd-2.2.2-6.el6_0.1.x86_64                                         2/2
> Updated:
>   vsftpd.x86_64
> 0:2.2.2-6.el6_2.1                                                          
>          Complete!
> 
> 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.

HTH, :-)
Marko






More information about the CentOS mailing list