LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-28-2003, 02:43 PM   #1
hershst
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, 02:52 PM   #2
Crashed_Again
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, 09:23 PM   #3
hershst
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 09:24 PM.
 
Old 05-28-2003, 09:32 PM   #4
iceman47
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, 05:21 PM   #5
hershst
LQ Newbie
 
Registered: May 2003
Posts: 10

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


Reply


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 09:29 AM
Freezing RedHat Package Manager redhatman Fedora 1 12-12-2004 02:23 PM
Package manager on RedHat _flaab_ Red Hat 2 10-15-2003 08:56 PM
Redhat Package Manager on 8.0 ehedman Linux - Distributions 1 05-24-2003 08:04 AM
Redhat 8 Package manager not recog CD mediamaker Linux - Distributions 5 03-18-2003 12:28 AM


All times are GMT -5. The time now is 02:36 PM.

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