Results 1 to 5 of 5
I am using Mandriva 2008.1 KDE 3.5 A few days ago I encountered a problem. Whenever I try to use the package manager, whether to install a program or update ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-25-2009 #1
[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.
- 02-25-2009 #2
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.
- 02-25-2009 #3
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.
- 02-25-2009 #4
- 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
- 02-25-2009 #5
Thank you very much googel. That worked perfectly.