MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I did those two things mentioned in the two posts above, still had the lock thing coming up, eventually I found that it was caused by having a terminal on one desktop that I previously ran a urpmi command, then from another desktop I had another terminal open and was running urpmi commands from it, just had to end the session in the first terminal to avoid the lock error.
Many people in other posts kept telling others it was caused by the same user on a network having two instances of urpmi going at the same time on two computers and just had to end one. Basically that's what I was doing on one computer.
Also happened when I once had the GUI rpmdrake (Mandrake 10.2) open and tried running urpmi commands from terminal.
Last edited by Junior Hacker; 01-21-2007 at 03:07 AM.
Oh my, I have the same problem. If I hadn't found this thread I would post a new thread. I hope this will get enough attention and I hope this will be given an apt solution. Coz just like Kristoffer, I did the same two things too. And nothing happens, indeed. Still it is locked. What exactly must I do?
It probably won't unlock because it was disrupted during a download or install of a package you instigated(rarely not).
I usually use this easy script,
(You may need to be root to do this....)
Code:
#!/bin/sh
if [ -f /var/lib/urpmi/.LOCK ]; then
sudo rm -f /var/lib/urpmi/.LOCK
fi
if [ -f /var/lib/urpmi/.RPMLOCK ]; then
sudo rm -f /var/lib/urpmi/.RPMLOCK
fi
Then, gui way, go to mmc, install and remove software,
If your using "urpmi" try the "--resume" switch to save some bandwidth.
HTH
Glenn
Last edited by GlennsPref; 04-25-2012 at 05:14 AM.
Reason: You may need to be root to do this....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.