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 02-10-2005, 08:59 AM   #1
NL-Stitch
Member
 
Registered: Jul 2004
Posts: 75

Rep: Reputation: 16
rpm error: can't create transaction lock


when i try to intsall software on my fc3
i get this

rpm -Uvh package.rpm
error: can't create transaction lock

am i using the wrong vaiables or is there something wrong with my rpm software?
 
Old 02-10-2005, 09:05 AM   #2
NL-Stitch
Member
 
Registered: Jul 2004
Posts: 75

Original Poster
Rep: Reputation: 16
fixed..

i wasn root

DOH!!!

 
1 members found this post helpful.
Old 02-12-2010, 10:02 PM   #3
ronmagee1
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Thumbs up TY

It is little things like that which drive me mad! Thanx
 
Old 01-14-2011, 05:36 PM   #4
captainentropy
Member
 
Registered: Mar 2010
Location: Berkeley
Distribution: Ubuntu, Mint, CentOS
Posts: 81

Rep: Reputation: 0
old thread I know but I'd like to know if there is a guide or something that tells me for what purposes do I need to be root (such as for the OP's question)?
 
Old 01-14-2011, 07:03 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by captainentropy View Post
old thread I know but
If you know that then next time do create your own new thread. That gives your questions the exposure they deserve.


Quote:
Originally Posted by captainentropy View Post
I'd like to know if there is a guide or something that tells me for what purposes do I need to be root
I don't know of one but generally speaking editing anything that only root has permission to write to, installing or updating system software, starting daemons, can be solved running 'sudo' (see 'man sudo'). Most of the time you'll see a "Got root?" or similar message informing you you need root rights.
 
Old 10-19-2011, 07:50 AM   #6
fbcyborg
LQ Newbie
 
Registered: May 2010
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by NL-Stitch View Post
fixed..

i wasn root

DOH!!!

No, this is not the problem. Actually I am trying to do as root and I get this message:
Code:
error: can't create transaction lock on /mnt/loop
I am trying to create a CentOS filesystem image according to the indications at this website.

The error occours when I enter the following command:
Code:
rpm --root /mnt/loop --initdb
In the /mnt/loop mountpoint, there is an img loop file.
 
  


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
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
error: cannot get exclusive lock on /var/lib/rpm/Packages orly Linux - Software 2 09-06-2004 07:13 AM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 03:07 PM

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

All times are GMT -5. The time now is 03:07 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