On Wednesday 04 December 2002 03:30 pm, Luca Olivetti wrote:
> Praedor Atrebates wrote:
[...]
> > 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).

Speaking of which...I have discovered a reliable way to produce an rpm 
database problem, at least with Mandrake 8.2.  Run "rpm -qa" and stop it 
before it finishes with a Ctrl-C (it will proceed to list every single rpm 
installed with the aforementioned command).  For me, every time, it wrecks 
the database and requires that I do a rebuilddb.  Why do this in the first 
place?  By accident. I have been looking for a specific subset of packages 
but hit the "Enter" key before entering the rest of the search parameters.  I 
_mean_ to do an "rpm -qa|grep <some word>" and instead sometimes hit "Enter" 
and run the truncated command.  

praedor

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to