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 ...
- 02-25-2009 #1
[SOLVED] URPMI Database locked?
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 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?
Thanks.
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.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 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 #4Just Joined!
- Join Date
- Feb 2009
- Posts
- 7
Open a command line and Type the following commands and You root user
The first is to know the process works in order to arrest:
Of course, if there were a number of operations can be disabled works kill orderCode:ps -aef | grep rpm | grep -v grep
After the stop of the operation delete locked files in the packages ManagerCode: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
That everythingCode: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.




