[CentOS] yum warning...

Fri Jan 6 10:27:01 UTC 2012
Tru Huynh <tru at centos.org>

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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20120106/ec8c75a0/attachment-0005.sig>