Re: yum warning...

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



On Thu, Jan 05, 2012 at 03:01:33PM +0000, Marko Vojinovic wrote:
> On Thursday 05 January 2012 06:17:17 John Doe wrote:
> > # yum update
> > ...
...
> > Running Transaction Test
> > Transaction Test Succeeded
> > Running Transaction
> > Warning: RPMDB altered outside of yum.
...
> > 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. :-)
you can but then you need to resync yum and rpm databases:

[tru@centos6 ~]$ yum history sync
will "fix" your warnings

Tru
-- 
Tru Huynh (mirrors, CentOS i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B

Attachment: pgpPxiOgx8T8Q.pgp
Description: PGP signature

_______________________________________________
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