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
msg62150/pgp00000.pgp
Description: PGP signature
