Jump to content

urpmi database always locked


CrackedLCD
 Share

Recommended Posts

I keep getting messages that there are updates available for my system but every time i try to install the updates, i keep getting an error that the urpmi database is locked BUT I'm not running ANY other app that uses it (ie - installing/removing packages or changing sources). I've tried killall urpmi urpmi.update urpme urpmi.addmedia etc and there aren't any urpmi processes running...what can i do?

Link to comment
Share on other sites

First of all, make sure it's not being used with

ps -e | grep rpm

If you have any output from that command, please post it here.

If you have no output, then you can do (as root)

rm -f /var/lib/urpmi/.LOCK

and

rm -f /var/lib/urpmi/.RPMLOCK

that should take care of your problem.

Link to comment
Share on other sites

I just installed 2008.1 this past weekend and was having a lot of problems with rpmdrake and the database always being locked. I think my problem was the mirror I chose (the 'coffee' mirror) was offline for several days (and it may still be offline). You might try deleting your media sources, then add them back choosing a different mirror.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...