Last ditch effort for me is defined on this page. Saved my bacon a time or two.
http://hermes.afaa.asso.fr/users/pascal/linux/rpm-rebuilddb James On Wed, 2002-12-04 at 12:30, Luca Olivetti wrote: > Praedor Atrebates wrote: > > Good Shiva! What a massive pain. Might you consider producing a perl script > > that would handle all the steps you mentioned as a last-ditch rpm db recovery > > tool? > > No, first because I don't know perl and second because, though some > steps can be automated, the procedure has to be manually supervised (and > it's just a matter of stringing some commands together with pipes anyway). > Besides I hope it never happens again ;-) > (and BTW, instead of using urpmf on each file -- slow -- I actually > extracted the list of files from the hdlists and grepped through them) > > > I have lost my rpm db a few times but always got it back with the > > rebuilddb command but I can say I would HATE to have to go through all the > > steps you mentioned to get the db back if the normal procedure fails. > > As I said, I have rpmdb problems all the time, but I had this big > problem only once (twice if I count a cdWriter server I setup at work, > but I didn't even try to recover it: it's working now and it will be > easier to reinstall everything when it fails). > > > Bye > -- > Luca Olivetti > Note.- This message reached you today, it may not tomorrow if you > are using MAPS services. They arbitrarily include in their lists > IP addresses not related in any way to spam, and in so doing are > disrupting Internet connectivity. Please stop supporting them. > See http://slashdot.org/article.pl?sid=01/05/21/1944247
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
