Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.


  Search this Thread
Old 03-06-2005, 08:50 PM   #1
Registered: Feb 2004
Location: Utrecht Holland
Distribution: Fedora, Debian, Mandrake, OSX, OpenBSD
Posts: 76

Rep: Reputation: 15
Post DISCUSSION: unlock rpmdatabase when: RPM DATABASE LOCKED

This thread is to discuss the article titled: unlock rpmdatabase when: RPM DATABASE LOCKED
Old 07-11-2005, 02:41 AM   #2
LQ Newbie
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
Question 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.

Last edited by tandd1827; 07-11-2005 at 02:42 AM.
Old 11-25-2006, 07:45 PM   #3
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Rep: Reputation: 30
Try the command without the quotations, i.e.

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


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

Hope that helps
Old 02-04-2007, 05:20 PM   #4
the crazy cow
LQ Newbie
Registered: Feb 2007
Distribution: madriva one,fedora 4,fedora 6,knoppix 5.1
Posts: 4

Rep: Reputation: 0

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

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


# 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
-urpmi.addmedia ...etc
very easy for kde.
Old 10-26-2007, 12:43 AM   #5
king sabri
LQ Newbie
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0

than you man it is rally work 100%
Old 03-01-2008, 06:46 AM   #6
LQ Newbie
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Hey thanks for this!

It made solving this problem a snap


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to unlock urpmi database? timberwolf Mandriva 7 11-21-2016 09:14 PM
Locked Files - How To Unlock Them bas12547 Linux - Software 9 01-26-2011 04:11 PM
unlock a locked folder in Suse 10.0 dcg757s Linux - Newbie 6 11-11-2005 04:54 PM
Locked VFAT Drive, can't Unlock Kenji Miyamoto Linux - General 9 01-04-2005 09:28 PM
RPM database locked cepheus Linux - Newbie 1 10-23-2004 01:43 PM > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration