LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RedHat Package Manager -- freezing while processing headers (https://www.linuxquestions.org/questions/linux-software-2/redhat-package-manager-freezing-while-processing-headers-62332/)

hershst 05-28-2003 01:43 PM

RedHat Package Manager -- freezing while processing headers
 
My redhat-config-packages (aka Redhat Package Manager)
gets to the point where it displays ...
-------------------------------
|Checking System Status |
| |
|Processing Headers |
--------------------------------
then it just stops.

This happened followed several attempts to run through the Redhat Package Manager in order to remove extra packages from servers. I ran through several servers attached to a KVM at once and I did not take care to shut all other programs before starting.
What can I do now?
I suspect that I have a corrupt rpm database.

On another machine with this problem,
I just ran an upgrade installation which also
froze when anaconda was examining the system.
When I rebooted, I did have a working Redhat Package Manager.
I may try this again, but I prefer a "cleaner" method.

Crashed_Again 05-28-2003 01:52 PM

rm -f /var/lib/rpm/__db*
rpm --rebuilddb

That should rebuild the database for you. It may just be a stale lock file in the database thats causing all the confusion.

hershst 05-28-2003 08:23 PM

Thanks. I did not yet try rm -f

iceman47 05-28-2003 08:32 PM

You could write a very easy script that rebuilds the rpm database every day for example with cron, I found that the rpm database crashes frequently.

hershst 05-29-2003 04:21 PM

Thanks, LQ Addict. Your method described in Crashed_Again (post #2) worked!


All times are GMT -5. The time now is 12:28 AM.