rpmq hangs, rpm --rebuilddb gives segmentation fault

Tony Nelson tonynelson at georgeanelson.com
Thu Jan 11 18:16:29 UTC 2007


At 10:11 AM -0500 1/11/07, Don Levey wrote:
>Has anyone seen anything like this?  This morning at about 4:am (when my
>daily cron jobs run) it seems that a process was started for rpmq.  When I
>woke up this morning I found that it was still running, taking 99% of my
>CPU.  I decided to kill it; CPU was returned.  However, running yum update
>or rpm -qa, each of which run rpmq, causes the problem again.
>
>Looking online, I see that one was to deal with this is to rebuild the RPM
>database via 'rpm --rebuilddb'.  However, that seg faults on me.  I tried to
>run 'yum clean' to no avail.  Should I try 'rpm --initdb' instead?

No (though --initdb no longer removes your existing database, it doesn't do
anything useful anymore either).  If Michael Young's suggestion to reboot
doesn't help, try as root "rpm --verifydb".  The Packages file must be OK,
for --rebuilddb to work.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-list mailing list