LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxAnswers Discussion (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/)
-   -   DISCUSSION: unlock rpmdatabase when: RPM DATABASE LOCKED (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/discussion-unlock-rpmdatabase-when-rpm-database-locked-298516/)

bglnelissen 03-06-2005 08:50 PM

DISCUSSION: unlock rpmdatabase when: RPM DATABASE LOCKED
 
This thread is to discuss the article titled: unlock rpmdatabase when: RPM DATABASE LOCKED

tandd1827 07-11-2005 02:41 AM

is there another way?
 
we seem to be having problems.we did what you suggested, but we don't know where to go from there. after entering the first line of code:
# rm -f "/var/lib/urpmi/.LOCK"
The rpm still will not install and prints: urpmi database locked
in an error message

Any help would be appreciated. We know nothing aout Unix code, but have dabbled some in envelop

Thank you.

LinuxBlackBox 11-25-2006 07:45 PM

Try the command without the quotations, i.e.


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

and

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

Hope that helps

the crazy cow 02-04-2007 05:20 PM

Quote:

Originally Posted by LinuxBlackBox
Try the command without the quotations, i.e.


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

and

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

Hope that helps


try the simply aditional"--nolock"
don't lock rpm db

before runing urpmi just read help "urpmi -h"very simple"

or another simpli kill proces:main panel--->clik run comand->[here write-->ksysguard--before run comand clik-->option--->click "run as diferent user :root
tape root pasword:******

then run comand.-->kill proces:can be-urpmi
-gurpmi
-rpmdarke
-gurpmi
-urpmi.addmedia ...etc
very easy for kde.

king sabri 10-26-2007 12:43 AM

thaaaaaaaanxxxxxxx
 
than you man it is rally work 100%

sdede2 03-01-2008 06:46 AM

Hey thanks for this!

It made solving this problem a snap


All times are GMT -5. The time now is 02:19 PM.