LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 08:50 PM   #1
bglnelissen
Member
 
Registered: Feb 2004
Location: Utrecht Holland
Distribution: MacOS, Debian, Raspbian
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
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 02:42 AM.
 
Old 11-25-2006, 07: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, 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
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, 12: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, 06: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion

All times are GMT -5. The time now is 11:25 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
Open Source Consulting | Domain Registration