Jump to content

urpmi database locked [solved]


Recommended Posts

I found this on it:

 

killall urpmi urpmi.update urpme rpm urpmi.addmedia
rm /var/lib/urpmi/.LOCK /var/lib/rpm/RPMLOCK

 

The first command will ensure that any urpmi process isn't running. You could always try the second command first and if it fails to remove them, then it would show that a urpmi process is still running. Then you could kill and then remove the files.

Link to comment
Share on other sites

ive just tried those commands and this is the message i recieve

 

[root@localhost john]# killall urpmi urpmi.update urpme rpm urpmi.addmedia

urpmi: no process killed

urpmi.update: no process killed

urpme: no process killed

rpm: no process killed

urpmi.addmedia: no process killed

[root@localhost john]# rm /var/lib/urpmi/.LOCK /var/lib/rpm/RPMLOCK

rm: remove regular empty file `/var/lib/urpmi/.LOCK'? y

rm: cannot lstat `/var/lib/rpm/RPMLOCK': No such file or directory

Link to comment
Share on other sites

  • 2 years later...
ive just tried those commands and this is the message i recieve

 

[root@localhost john]# killall urpmi urpmi.update urpme rpm urpmi.addmedia

urpmi: no process killed

urpmi.update: no process killed

urpme: no process killed

rpm: no process killed

urpmi.addmedia: no process killed

[root@localhost john]# rm /var/lib/urpmi/.LOCK /var/lib/rpm/RPMLOCK

rm: remove regular empty file `/var/lib/urpmi/.LOCK'? y

rm: cannot lstat `/var/lib/rpm/RPMLOCK': No such file or directory

 

try adding a .RPMLOCK (the file is hidden the same as .LOCK)

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...