LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2005, 03:34 PM   #1
fueldistributa
Member
 
Registered: Dec 2005
Location: Ottawa,ON
Distribution: OpenSuSe 10 & Fedora Core 5 & BackTrack
Posts: 46

Rep: Reputation: 15
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
 
Old 12-20-2005, 03:38 PM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
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).
 
Old 12-20-2005, 04:13 PM   #3
fueldistributa
Member
 
Registered: Dec 2005
Location: Ottawa,ON
Distribution: OpenSuSe 10 & Fedora Core 5 & BackTrack
Posts: 46

Original Poster
Rep: Reputation: 15
Voila

Thx that was exactly the problem. Now I just got to figure out where it installed too.
 
Old 12-20-2005, 04:35 PM   #4
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

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


Reply



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
rpm error: can't create transaction lock NL-Stitch Linux - Newbie 5 10-19-2011 07:50 AM
Unable to mount share due to file lock Rivitir Linux - Networking 0 07-18-2005 10:12 AM
can't create transaction lock mohit dhawan Linux - Newbie 2 05-05-2005 02:59 AM
rpm transaction lock problem DJOtaku Linux - Software 1 04-26-2005 04:26 PM
When I run rpm -Uvh it says "warning: waiting for transaction lock" Niceman2005 Linux - Software 5 11-12-2004 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:49 AM.

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