[PlanetCCRMA] rpm hang

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Thu Oct 9 19:22:01 2003

> > > Anyone ever seen rpm commands just hang? 
> > 
> > After you kill -9 it
> > see if you have files left over like:
> >   /var/run/rpm/__*
> Thanks for the tip!!!  I have 3 files, __db.00[123] , that show up in
> /var/lib/rpm.  When I remove them, I can run *one* rpm command.  The
> command seems to end - that is, an "rpm -q -a" gives me the whole list
> of installed rpms, drops me back to the shell prompt, but is still in
> the process table!  Then there's the kill -9, and I need to rm the
> __db files again.

You could ty to remove the files and then rebuild the database, I think
the command is:
  rpm --rebuilddb

It will take a while...
-- Fernando