Results 1 to 5 of 5
Thread: [SOLVED] URPMI Database locked?
Enjoy an ad free experience by logging in. Not a member yet? Register.
[SOLVED] URPMI Database locked?
A few days ago I encountered a problem. Whenever I try to use the package manager, whether to install a program or update stuff, it tells me A fatal error has occurred: urpmi database is locked (another program is already using it).
What does that mean? I have tried rebooting, and to the best of my knowledge no other program is using it.
Is there a way I can find out which program is using it? How did this happen, and how do I fix it?
Oh, please try and be as specific as possible, I'm still a Linux noob.
There could be an updater working in the background. Check the output of top command or process manager. I am not using Mandriva and I can't tell you exactly. Fedora has an updater too which work in background and one has to stop it before using any other Package Manager tool.
I used to use 2008.1, and there is an auto-updater that works in the background which caused me no end of irritation. It always seemed to take forever to update the repositories during which the database is locked. I ended up turning the autoupdates off altogether, but I'm afraid I don't recall how I went about doing it. I think there is an option in the control center or it autostarted programs.
- Join Date
- Feb 2009
The first is to know the process works in order to arrest:
ps -aef | grep rpm | grep -v grep
ps -aef | grep rpm | grep -v grep root 8109 8099 99 07:30 ? 00:00:10 /usr/bin/perl /usr/bin/rpmdrake -- ... kill -9 8109
rm -f /var/lib/urpmi/.LOCK rm -f /var/lib/urpmi/.RPMLOCK
I hope that helped you
Thank you very much googel. That worked perfectly.