Results 1 to 5 of 5
What does this error mean?
I keep getting this error every time I try to update my system....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-25-2008 #1Just Joined!
- Join Date
- Jun 2008
- Location
- Temecula - Temecula Creek
- Posts
- 7
urpmi database locked
What does this error mean?
I keep getting this error every time I try to update my system.
- 06-25-2008 #2
This sometimes happens on Mandriva. These commands (you must be root) will usually get you up and running again:
ThenCode:rm -f "/var/lib/urpmi/.LOCK"
Here is a ressource that might help. However, I have to say that when I was using MAndriva, even after following these instructions, URPMI would still lock from time to time. It's one of the reasons I stopped using it, in fact.Code:rm -f "/var/lib/urpmi/.RPMLOCK"
Distribution: Archlinux
Processor: 3 x Amd 64 bit
Ram: 4 GB
Graphics card: Nvidia GeForce 9800 GT
- 06-25-2008 #3
Manchunian's solution will work, but you shouldn't have persistant problems with urpmi locking. It usually means that you've previously tried to install some software. Then - for whatever reason - the download has failed leaving urpmi in limbo.
It may point to problems with your setup rather than to a bug in the package management system which - in current versions - is very good.
Sometimes it's better to use urpmi from a command line, because that way if things go wrong you get more feedback. To be honest urpmi is great when it's working well, but when something is wrong it can be hard to pin down the fault.I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
- 06-25-2008 #4
Yes, this issue can arise with any distribution. In Debian (and Debian derivatives) you do dpkg --configure -a to get everything working again. However, I did find this happened far too frequently in Mandriva - perhaps because that was because I was using the Mandriva Control Center. Note that, whereas I was getting this issue very frequently in Mandriva, I can only remember it happening once in Debian - and that was because I accidently interrupted apt from installing some software.
Distribution: Archlinux
Processor: 3 x Amd 64 bit
Ram: 4 GB
Graphics card: Nvidia GeForce 9800 GT
- 06-25-2008 #5
I had the same trouble for a long time, and looking back it's hard to pin down how I solved it because the error messages I got weren't all that helpful.
In the end it was because Mandriva was - by default - configured to use the ipv6 protocol, but this is still unsupported by my ISP. This is a recurring theme in posts to the Mandriva Forum, and strangely not one that seems to be discussed openly... Linux has a few dirty little secrets when it comes to configuring networks.. Shhhhh.
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso


Reply With Quote

