LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 05-20-2003, 08:34 AM   #1
monte
Member
 
Registered: Apr 2003
Location: Georgia
Distribution: Fedora Core
Posts: 41

Rep: Reputation: 15
RPM Database Rebuild


I'm having trouble with doing rpm --rebuilddb.

After I run the rebuild, I do db_verify Packages. I get:
Old or incorrect db version.
Packages: DB_VERIFY_BAD. Database verification failed.

I'm using RH9 with the version of rpm that came with it, 4.2

Any help?
 
Old 05-20-2003, 11:52 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You probably have a lock file in your database. Try deleting the database:

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

and then rebuild it:

rpm --rebuilddb
 
Old 05-20-2003, 05:13 PM   #3
monte
Member
 
Registered: Apr 2003
Location: Georgia
Distribution: Fedora Core
Posts: 41

Original Poster
Rep: Reputation: 15
I tried that, (several times). Still get the error message
 
Old 09-25-2003, 04:22 PM   #4
jdphjp
LQ Newbie
 
Registered: May 2003
Posts: 8

Rep: Reputation: 0
rpm Packages trouble

I am having the same trouble.

I do a rebuild and the __db* are not there.

I am at a standstill.

Help would be greatly appreciated!

Thanks.
 
  


Reply



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
rebuild rpm database robertngo Red Hat 2 06-25-2005 02:31 PM
Can't rebuild RPM database tawalker Linux - Software 3 04-22-2004 04:17 AM
up2date not respond / trying to rebuild rpm database thejackal13 Linux - Software 7 11-07-2003 10:47 AM
RPM database problems - can't rebuild Ross Clement Red Hat 4 10-21-2003 12:35 PM
RPM Database Rebuild monte Linux - Newbie 1 05-20-2003 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration