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. |
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. |
Thanks. I did not yet try rm -f
|
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.
|
Thanks, LQ Addict. Your method described in Crashed_Again (post #2) worked!
|
All times are GMT -5. The time now is 12:28 AM. |