LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-26-2003, 03:34 PM   #1
lf412
LQ Newbie
 
Registered: Feb 2003
Location: Maryland, USA
Distribution: YellowDog, RedHat
Posts: 7

Rep: Reputation: 0
rpm command problem


When I try to use the rpm command to install packages, I get this error on RH 7.2.

error: rpmdb: damaged header instance #133 retrieved, skipping

I also get that same error when running rpmdb --rebuilddb. How should I go about fixing this? Thanks.
 
Old 02-26-2003, 04:06 PM   #2
mychl
Member
 
Registered: Jul 2001
Location: Earth
Posts: 164

Rep: Reputation: 30
Reinstall the rpm rpm......

That's a joke by the way, 'cause if rpm's not working, you won't be able to reinstall it..........

So maybe you might want to try something else to replace the rpm utility.... Find the RPM.tar.gz yo uneed and install that..... might help, might not...
????
 
Old 02-26-2003, 06:22 PM   #3
lf412
LQ Newbie
 
Registered: Feb 2003
Location: Maryland, USA
Distribution: YellowDog, RedHat
Posts: 7

Original Poster
Rep: Reputation: 0
Where should I go about finding the .tar.gz file? And doesn't that just extract the rpm?
 
Old 02-26-2003, 07:14 PM   #4
mychl
Member
 
Registered: Jul 2001
Location: Earth
Posts: 164

Rep: Reputation: 30
http://www.google.com/linux is the best place to start for ANY questions.

Get the tar.gz file, then unpack it... tar zxvf filename.tar.gz which will create a directory called filename.

Go into the directory and type ./configure
then... make
then make install (as root)

That's all there is to it.....
 
Old 02-26-2003, 08:52 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
First you might want to try this:

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

What the first command does is deleted the existing rpm database. Then the second one rebuilds the database. If you want a further explanation of why you might want to do this try this link.
 
  


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
How can I get the rpm command and rpm build command on my Debian box? abefroman Debian 6 11-28-2005 12:38 PM
Problem using rpm command thorney Linux - Newbie 1 11-24-2005 06:50 PM
problem with rpm command saipraveen Linux - Newbie 3 08-22-2005 03:51 PM
rpm -q command praveenv Linux - Newbie 2 09-08-2004 04:41 AM
command line rpm dependency problem rolandkirk55 Linux - Software 0 09-07-2004 08:14 PM


All times are GMT -5. The time now is 09:11 AM.

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