LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Console problems, RPM cannot create due to transaction lock??? (https://www.linuxquestions.org/questions/linux-newbie-8/console-problems-rpm-cannot-create-due-to-transaction-lock-394991/)

fueldistributa 12-20-2005 03:34 PM

Console problems, RPM cannot create due to transaction lock???
 
Ok

I've downloaded some software to install onto my system.
I open up my console and type in:
rpm -i productname.rpm

Now I receive the error message:
error: cam't create transaction lock on /var/lib/rpm/__db.000

I check my man on transaction lock, and notices it says a Lock on a table?? why is it referring to a database table lock? Then I notice further in my read that there is no unlock table command.

Can a guru gimme a heads up on what needs to be performed in order to install my rpm package??? without having the error of a transaction lock.


Thank you

GrueMaster 12-20-2005 03:38 PM

First, make sure you are installing this as root, as users don't have read/write permissions on the rpm database by default. Second, if root gets the same error, make sure you don't have another package manager running somewhere (urpmi, yast, etc).

fueldistributa 12-20-2005 04:13 PM

Voila
 
Thx that was exactly the problem. Now I just got to figure out where it installed too.

GrueMaster 12-20-2005 04:35 PM

To find out what and where it installs, run "rpm -qlp <rpmfile>" (where <rpmfile> is the name of the package you are installing).


All times are GMT -5. The time now is 10:51 PM.