Ask Your Question

What causes yum warning about rpm database?

asked 2014-04-12 11:44:38 -0500

Peter Scott gravatar image

I occasionally get warnings from yum that the rpm database has been modified outside of yum. If I was using rpm to locally install things I could understand it. However, I don't do so -- all I ever do is: yum update. What could be accessing the database outside of yum?


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-04-23 08:22:00 -0500

Peter Scott gravatar image

Thanks for the suggestions. In my case it seems it happens whenever kmod-nvidia-304xx is erased and updated. I ran yum history and it showed with > and < when the updates had been done. Looking at yum.log told me that it was down to kmod-nvidia-304xx.

edit flag offensive delete link more

answered 2014-04-12 13:14:52 -0500

marcindulak gravatar image

Different commercial products use rpm directly - for example Intel compilers. I would search amongst the packages that do not belong to Fedora:

rpm -qa --qf "%{name}-%{version}-%{release}.%{arch} %{PACKAGER} %{VENDOR}\n" | grep -v Fedora

The search result is not definitive (there can always be mistakes in the Packager and Vendor or the fields missing), but it is a good start to learn what's on your systems that does not belong to Fedora.

A google search for the "Warning: RPMDB altered outside of yum." reveals other reasons: wrong clock and akmods , which calls rpm directly (see /usr/sbin/akmods).

edit flag offensive delete link more



Could you file a bug report against akmods to use yum install instead?

mether gravatar imagemether ( 2014-04-23 11:21:38 -0500 )edit

Question Tools

1 follower


Asked: 2014-04-12 11:44:38 -0500

Seen: 473 times

Last updated: Apr 23 '14