LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   urpmi database locked! (https://www.linuxquestions.org/questions/mandriva-30/urpmi-database-locked-155298/)

/home/kyle 03-09-2004 03:46 AM

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?

Nu-Bee 03-09-2004 04:18 AM

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.

MunterMan 03-09-2004 05:58 AM

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!

/home/kyle 03-09-2004 06:05 AM

I rebooted my computer and it worked just fine. :)


Thank you.
~Kyle


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