LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm error: can't create transaction lock (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-error-cant-create-transaction-lock-288503/)

NL-Stitch 02-10-2005 08:59 AM

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?

NL-Stitch 02-10-2005 09:05 AM

fixed..

i wasn root

DOH!!!:(

:newbie:

ronmagee1 02-12-2010 10:02 PM

TY
 
It is little things like that which drive me mad! Thanx

captainentropy 01-14-2011 05:36 PM

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)?

unSpawn 01-14-2011 07:03 PM

Quote:

Originally Posted by captainentropy (Post 4224697)
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 (Post 4224697)
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.

fbcyborg 10-19-2011 07:50 AM

Quote:

Originally Posted by NL-Stitch (Post 1462730)
fixed..

i wasn root

DOH!!!:(

:newbie:

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.


All times are GMT -5. The time now is 06:21 AM.