LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
Search this Thread
Old 03-06-2005, 09:50 PM   #1
bglnelissen
Member
 
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, 03:41 AM   #2
tandd1827
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 03:42 AM.
 
Old 11-25-2006, 08:45 PM   #3
LinuxBlackBox
Member
 
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

and

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

Hope that helps
 
Old 02-04-2007, 06: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
Exclamation

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.
 
Old 10-26-2007, 01:43 AM   #5
king sabri
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
thaaaaaaaanxxxxxxx

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

Rep: Reputation: 0
Hey thanks for this!

It made solving this problem a snap
 
  


Reply


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 4 04-20-2012 06:03 AM
Locked Files - How To Unlock Them bas12547 Linux - Software 9 01-26-2011 05:11 PM
unlock a locked folder in Suse 10.0 dcg757s Linux - Newbie 6 11-11-2005 05:54 PM
Locked VFAT Drive, can't Unlock Kenji Miyamoto Linux - General 9 01-04-2005 10:28 PM
RPM database locked cepheus Linux - Newbie 1 10-23-2004 02:43 PM


All times are GMT -5. The time now is 12:00 AM.

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