RPM broken

Paul Nasrat pauln at truemesh.com
Sat Apr 3 17:55:02 UTC 2004


On Sat, Apr 03, 2004 at 12:50:48PM -0500, James Olin Oden wrote:
> On Sat, 3 Apr 2004, Martin Alderson wrote:
> 
> > I installed fedora core 2 test 2 this morning, and some tool locked up 
> > while using RPM. Now RPM has died - I type any command in and it just 
> > sits there with no output.
> > 
> > I seem to remembering having to clear a cache or lock file, or maybe 
> > even rebuilding the RPM database.
> > 
> > Any suggestsions?
> >
> First off, get the output from the back trace.  To do this find rpm's 
> pid, and then run:
> 
> 	gdb -p $pid
> 	bt	# This is in gdb
> 
> Send that output to the list.  There are two case of lockups that I know
> of.  One, the program using librpm was kill with a -9 or it exited before 
> closing the rpmdb.   This one is pretty common, and the back trace will 
> show if this is the case.  This lockup is not a bug in rpm, and is fixed
> by removing the files:
> 
> 	/var/lib/rpm/__db*


Also the new rpm transaction lock:

/var/lock/rpm/transaction may need to be removed.

> The second one, I have only seen the CVS head, but it coudl be elsewhere, 
> is when rpm hangs while waiting for a scriptlet to exit.  This one is 

4.3 is pretty close to HEAD I guess.

Paul





More information about the fedora-test-list mailing list