I don't think you can rebuild your rpm database as there is no other way to
know what is
installed :(. I can only suggest you in future move files to another
location instead of
deleting them, until you see that everything is working. Try googling for
some undelete 
utilities .

> -----Original Message-----
> From: Andrew Mark Tze Liang Choong [mailto:mail@;pdaconsult.co.uk]
> Sent: Thu, November 14, 2002 4:13 PM
> To: [EMAIL PROTECTED]
> Subject: rebuild /var/lib/rpm/Packages ?
> 
> 
> bear with me. i'm still quite a newbie having only been using 
> linux for
> about a year.
> 
> i'm using psyche with synaptic as my package manager. 
> something happened
> - synaptic crashed and when i started it up again, it was unable to
> start as i had two packages of krb5-workstation but different 
> versions.
> 
> i deleted /var/lib/rpm/Packages and synaptic started again. however, i
> now do not have a list of the installed packages on my system!!! dumb
> huh? 
> 
> now i can't get the redhat package manager or synaptic to work!!! is
> there a command under rpm to rebuild my package db list and get
> /var/lib/rpm/Packages back?
> 
> i tried rpm --initdb, rpm --rebuilddb but that doesn't have seemed to
> work.
> 
> any help would be very much appreciated.....
> 
> thanks in advance.
> 
> andrew.
> 
> 
> 
> 
> 
> 
> 
> -- 
> Psyche-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/psyche-list
> 



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to