LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-08-2003, 11:38 AM   #1
timberwolf
Member
 
Registered: Dec 2003
Location: Singapore
Distribution: Mandrake 9.2
Posts: 128

Rep: Reputation: 15
How to unlock urpmi database?


I just tried to update my Mandrake 9.2 using the update software but there was an error that said "urpmi databased locked". How do i unlock the urpmi database?

-Aquila
 
Old 12-08-2003, 12:51 PM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: slackware64
Posts: 1,649

Rep: Reputation: 53
you can try "urpmi.update -a" from the command line
as root if it doesn't work as user

(rebooting has always sorted this one for me)
 
Old 12-19-2003, 06:45 AM   #3
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
check out this url

http://mandrake.vmlinuz.ca/bin/view/Main/UsingUrpmi
 
Old 04-19-2012, 03:04 AM   #4
jhazz
LQ Newbie
 
Registered: Aug 2011
Location: Davao City, Philippines
Posts: 25

Rep: Reputation: 0
i WONDER IF THIS STEP WORKED OUT... ????
 
Old 04-20-2012, 05:03 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia1 KDE openbox
Posts: 2,862
Blog Entries: 33

Rep: Reputation: 143Reputation: 143
This works for me, as a shell script,
Code:
#!/bin/sh
   if [ -f /var/lib/urpmi/.LOCK ]; then
      sudo rm -f /var/lib/urpmi/.LOCK
   fi
   if [ -f /var/lib/urpmi/.RPMLOCK ]; then
      sudo rm -f /var/lib/urpmi/.RPMLOCK
   fi
Make it executable, and your going without a reboot.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: unlock rpmdatabase when: RPM DATABASE LOCKED bglnelissen LinuxAnswers Discussion 5 03-01-2008 06:46 AM
urpmi database locked.... againstms Linux - Newbie 2 05-18-2006 04:05 PM
How to unlock urpmi? akihandyman Mandriva 2 05-31-2004 12:45 AM
urpmi.update --all / urpmi database locked thepoint Mandriva 5 11-05-2003 06:03 PM
Urpmi database oldrelac Linux - Newbie 2 08-08-2003 01:04 PM


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

Main Menu
 
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
Open Source Consulting | Domain Registration