Re: yum warning...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux