Waiting for Transaction Lock when installing rpm

Don Levey lug at the-leveys.us
Fri Jul 9 15:37:01 EDT 2004


Miah wrote:
> RPM holds its lock files in /var/lib/rpm, the locks are named like
> db__*.  rm those files, then rpm --rebuilddb and you should be fine.
> Kill off the running rpm command if possible.  Be careful that you
> don't rm any files other than the db__* files.
>
>
> -miah

Unfortunately, after removing these three files (__db.001, 002, 003) and
running the
rpm --rebuilddb command, I still get:

	[root at dauphin rpm]# rpm --rebuilddb
	warning: waiting for transaction lock

I'm seeing more and more processes just hang, inexplicably.  For example,
trying to 'find' *.lock files, lsof, and so on.  Looking at top, BTW, shows
nothing at all using more than 1% of either CPU or memory.

 -Don




More information about the Discuss mailing list