RPM - runaway rpmq or rebuild rpm db

From Skytech
Revision as of 08:02, 31 August 2012 by Martin (talk | contribs) (Created page with "Category:Linux = Runaway rpmq process or need to rebuild rpm db = check if you have some runaway processed from rpmq (usually 100% cpu for a long time): <pre> lsof | gre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Runaway rpmq process or need to rebuild rpm db

check if you have some runaway processed from rpmq (usually 100% cpu for a long time):

lsof | grep /var/lib/rpm/

Then kill them one by one.

Lastly, remove the __db* files and rebuild the db:

rm -f /var/lib/rpm/_db*
rpm --rebuilddb -vv

Done.