LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   lock message (https://www.linuxquestions.org/questions/fedora-35/lock-message-688938/)

giraf 12-07-2008 12:53 PM

lock message
 
What is the meaning of this massage , got it when I tried to install an rpm package , it is stuck on it :

" warning: waiting for transaction lock on /var/lib/rpm/__db.000"

colucix 12-07-2008 01:33 PM

Most likely there is a stale lock somewhere. Usually they are removed in single user mode (runlevel 1) e.g. upon rebooting. If this is not the case, you can try to manually remove the /var/lib/rpm/__db.000, but first check if some application keeps the rpm database open:
Code:

# lsof | grep /var/lib/rpm
If the above command does not show any line of output, then you can safely try to remove the aforementioned file:
Code:

# cd /var/lib/rpm
# rm -f __db*

If the above procedure does not solve the problem, maybe you have some degree of corruption in the rpm database and you have to rebuild it. This is another story, anyway.


All times are GMT -5. The time now is 01:44 AM.