[PlanetCCRMA] rpm hang

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Thu Oct 9 18:16:02 2003


> Anyone ever seen rpm commands just hang?  Doesn't matter what it's doing,
> could even be "rpm -q -a"  The command just hangs, I can't ^C out of it
> but have to do a kill -9 from another shell.
> 
> This is stock RH9, upgrading a 7.1 install.  Yeah, I know, a big jump,
> but it wasn't my call to make, I just have to fix it.  Aye yi yi...

I have seen it happen (sometimes frequently) in 8.0. Not in 9 so far (it
is a completely different version of rpm) and I don't remember seeing it
in 7.1 (well, I don't remember much about 7.1 :-). After you kill -9 it
see if you have files left over like:
  /var/run/rpm/__*
You have to get rid of those, they include (or are) locks and then you
cannot run rpm again till you get rid of them or reboot. 

-- Fernando