Waiting for Transaction Lock when installing rpm
miah
jjohnson at sunrise-linux.com
Fri Jul 9 15:22:30 EDT 2004
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
On Fri, Jul 09, 2004 at 01:58:00PM -0400, Don Levey wrote:
> Due to a server crash last night, I'm temporarily setting up my
> workstation as a mail server, running Fedora Core 2. To that end, I'm
> trying to
> install some rpms for clamav.
>
> I tried the normal rpm install:
> rpm -Uvh <rpm name>
> and it seemed to hang. I terminated the shell in which this was running,
> and tried again, and got the following:
> warning: waiting for transaction lock
> <ctrl-c>
> error: can't create transaction lock
>
> The process that was running the original rpm is still around, even
> when trying to kill-9 it:
> root 31879 1 0 09:15 ? 00:00:00 rpm -Uvh
> clamav-0.74-1.i386.rpm
>
> Any thoughts on:
> 1) How to kill the previous process when kill -9 doesn't?
> 2) Any other way to get this rpm to install?
>
> TIA,
> -Don
>
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list