LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2008, 02:45 AM   #1
adeepakk
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
Urpimi database is locked


i am trying to install ktorrent, i get a error message ¨urpmi database is locked¨, please help me and guide me as to how i go about unlocking the the database
 
Old 06-14-2008, 03:04 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by adeepakk View Post
i am trying to install ktorrent, i get a error message ¨urpmi database is locked¨, please help me and guide me as to how i go about unlocking the the database
Close the Mandriva Control Centre before following the instructions below.

First of all make sure the database is not being used, start a konsole (terminal) session and type: su then press enter.

*** Pay Close Attention Here As You Are In Root Mode ***

Type:

ps -e | grep rpm and press enter. The -> | <-(pipe) is achieved by holding down your shift key and pressing the key before the letter z.

If all you get is a command prompt it is safe to proceed with the following.

Type:

rm -f /var/lib/urpmi/.LOCK and press enter.

Now type:

rm -f /var/lib/urpmi/.RPMLOCK and press enter.

Your database is now unlocked. To save time type:

urpmi ktorrent and press enter.

When install has finished, type: exit then press enter to return to a normal user and finally close the konsole window.
 
  


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
Urpmi-database locked Kristoffer G Mandriva 6 04-25-2012 05:20 PM
adept database is already locked ? budword Linux - Software 4 07-08-2007 02:04 PM
urpmi database locked.... againstms Linux - Newbie 2 05-18-2006 05:05 PM
urpmi database locked? otto k Mandriva 9 05-17-2005 12:37 PM
urpmi database locked? KiLLaWaBBiT Linux - Software 2 09-06-2004 02:56 AM


All times are GMT -5. The time now is 06:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration