Latest LQ Deal: Latest LQ Deals
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 04-06-2006, 04:12 PM   #1
LQ Newbie
Registered: Dec 2004
Location: Latvian SSR :)
Distribution: feisty
Posts: 3

Rep: Reputation: 0
Talking Lost /var

Couple of days a ago my whole /var directory just died... That ain't good, that's for sure... So I wasn't able to boot linux properly... I couldn't restore it so I simply copied the whole /var directory from a live cd to my linux partition... Maybe that's a bit stupid, but anyway it seemed to work fine afterwards... The only problem for now is the lost RPM database (it is quite hard to install an rpm when you've got to guess the dependencies every time)! Is it possible to rebuild this database? I have been trying to google for the answer, but the only thing I found was "rpm --rebuilddb" (which doesn't actually seem to work for me)...
Old 04-06-2006, 04:21 PM   #2
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
Take a look here

It should be something like
rpm -i -v --nodeps --noscripts --notriggers --excludepath / \

But again, look at that link and follow those directions. Alway Always backup everything first too.

Last edited by bosewicht; 04-06-2006 at 04:23 PM.


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
Howto recover lost and formatted data on lost partitions. Sören Schneider Member Success Stories 2 04-05-2006 06:38 AM
Lost panel in Gnome -- now I'm completely lost! webwench Linux - Newbie 3 04-30-2005 01:38 AM
Lost mouse after reboot+lost modem BACTRATE Mandriva 3 04-07-2005 06:45 AM
power lost from cable modem, interface lost a10392 Linux - Networking 4 11-16-2004 09:01 AM
Moving /var/adm and /var/lib - why does it hurt? J_Szucs Linux - General 1 09-15-2004 06:46 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:13 PM.

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