LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
Search this Thread
Old 03-09-2004, 04:46 AM   #1
/home/kyle
Member
 
Registered: Mar 2004
Posts: 148

Rep: Reputation: 15
urpmi database locked!


Hmmm, I was puttin in some FTP servers for main, and contrib, with Konsole, then when I got to plf, and updates, it says that the urpmi database is locked...and I cant download any packages with RPMDrake becuase its the urpmi database is locked, it wasent locke an hour ago...jsut locked outa no where. Any solutions?
 
Old 03-09-2004, 05:18 AM   #2
Nu-Bee
Member
 
Registered: Dec 2002
Location: USA
Distribution: Mandrake 9.2
Posts: 269

Rep: Reputation: 30
Re: urpmi database locked!

Quote:
Originally posted by /home/kyle
Hmmm, I was puttin in some FTP servers for main, and contrib, with Konsole, then when I got to plf, and updates, it says that the urpmi database is locked...and I cant download any packages with RPMDrake becuase its the urpmi database is locked, it wasent locke an hour ago...jsut locked outa no where. Any solutions?
There's an easier way but if you reboot it should be fine.

There's also a lock file somewhere you can delete, but I forgot where.
 
Old 03-09-2004, 06:58 AM   #3
MunterMan
Member
 
Registered: Nov 2003
Location: The North of England
Distribution: Suse 10.3
Posts: 172

Rep: Reputation: 30
Sounds like the locks on your rpm database are not current.

To fix it, log in as root and ues the commands:

cd /var/lib/rpm
rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb

That should solve it!
 
Old 03-09-2004, 07:05 AM   #4
/home/kyle
Member
 
Registered: Mar 2004
Posts: 148

Original Poster
Rep: Reputation: 15
I rebooted my computer and it worked just fine.


Thank you.
~Kyle
 
  


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.... againstms Linux - Newbie 2 05-18-2006 05:05 PM
URPMI Database Locked Dooley Mandriva 6 02-07-2006 03:17 AM
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
urpmi.update --all / urpmi database locked thepoint Mandriva 5 11-05-2003 07:03 PM


All times are GMT -5. The time now is 06:15 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration