Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-28-2003, 01:43 PM   #1
LQ Newbie
Registered: May 2003
Posts: 10

Rep: Reputation: 0
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.
Old 05-28-2003, 01:52 PM   #2
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
Old 05-28-2003, 08:23 PM   #3
LQ Newbie
Registered: May 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks. I did not yet try rm -f

Last edited by hershst; 05-28-2003 at 08:24 PM.
Old 05-28-2003, 08:32 PM   #4
Senior Member
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
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.
Old 05-29-2003, 04:21 PM   #5
LQ Newbie
Registered: May 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks, LQ Addict. Your method described in Crashed_Again (post #2) worked!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Package manager for Redhat Avatar33 Red Hat 4 04-13-2005 08:29 AM
Freezing RedHat Package Manager redhatman Fedora 1 12-12-2004 01:23 PM
Package manager on RedHat _flaab_ Red Hat 2 10-15-2003 07:56 PM
Redhat Package Manager on 8.0 ehedman Linux - Distributions 1 05-24-2003 07:04 AM
Redhat 8 Package manager not recog CD mediamaker Linux - Distributions 5 03-17-2003 11:28 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration