Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

waiting for transaction lock error

Alpa Shah

waiting for transaction lock error

while uninstalling rpm on redhat 4.0, I am getting following warning and after this warning command gets hang and does nothing.

warning: waiting for transaction lock on /var/lock/rpm/transaction

when I forcefully come out from command execution, it gives following error.

error: can't create transaction lock on /var/lock/rpm/transaction

Any idea how to overcome this?
Steven E. Protter
Exalted Contributor

Re: waiting for transaction lock error


It would be helpful to know what rpm you are uninstalling.

Try rebooting the system, running updatedb and trying again.

You have some kind of problem with the rpm database and may be forced to rebuild it. There is a command on the rpm man page for this.

Steven E Protter
Owner of ISN Corporation
Alpa Shah

Re: waiting for transaction lock error

Got the problem solved after rebooting the m/c. Thanks a lot.