LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-20-2003, 12:21 AM   #1
Streams
Member
 
Registered: Jun 2002
Location: NewZealand
Distribution: Slackware 9.1
Posts: 146

Rep: Reputation: 15
rpm DB destroyed


I stupidly installed some rpms with the --force option because they had so many missing dependancies, I know I shouldint have.

Anyway, the rpm database in now missing the entry to every rpm installed, completely blank. I have tried rpm --rebuilddb numerous time s but this has not fixed it.

What can I do??

Thanks for the help.
 
Old 05-20-2003, 12:23 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Delete the old database by doing:

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

then do:

rpm --rebuilddb
 
Old 05-20-2003, 12:30 AM   #3
Streams
Member
 
Registered: Jun 2002
Location: NewZealand
Distribution: Slackware 9.1
Posts: 146

Original Poster
Rep: Reputation: 15
Thanks for the response, but it didint work. I guess the backup is screwed too.
 
Old 05-22-2003, 01:20 AM   #4
Streams
Member
 
Registered: Jun 2002
Location: NewZealand
Distribution: Slackware 9.1
Posts: 146

Original Poster
Rep: Reputation: 15
Can't anyone help me out here?
 
  


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
KDE Destroyed! RodWC Debian 6 12-07-2005 11:33 AM
destroyed system alaios Linux - General 1 03-25-2004 03:47 AM
kde destroyed alaios Linux - Software 3 03-19-2004 03:34 AM
Up2Date Destroyed? HappyDude Red Hat 8 11-04-2003 07:03 PM
i destroyed my lilo......um...help. roesingape Linux - Software 9 05-28-2003 10:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:23 PM.

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