Click to See Complete Forum and Search --> : RPM Problem
PuterFreaK
11-14-2001, 01:34 AM
When I try to install an RPM I get the following:
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
What do I do and how do I avoid this happening in the future?
xjimmyx
11-14-2001, 01:49 AM
You have to have root privelages to install that package, so..
$su
<password>
#rpm -ihv package.rpm
PuterFreaK
11-14-2001, 01:51 AM
Yes I know....Same error as root...
PuterFreaK
11-14-2001, 02:22 AM
Ok I figured out what the problem was but I have one question. I had Ximian Red Carpet.
Can only one program access the rpm database at a time or does Red Carpet just screw things up?
Trounce
11-14-2001, 03:01 AM
From my Xperiences...only one rpm manager can access the database at a time...in that each manager tries to get exclusive access to the database...I guess it's to prevent inconsistencies from arising.