Jump to content
xisto Community
Sign in to follow this  
jedipi

Help ! Can't Install Rpm File

Recommended Posts

I just installed redhat 9.and try to install some software.I use the following comman to do so:rpm -ivh file.rpmAfter I press Enter key,error message was shown: "can't create transaction lock"what should i do?

Share this post


Link to post
Share on other sites

Which version of rpm are you using ? You can find that out by typing rpm --version

 

This is a known bug in rpm versions 4.3.0.x and has been fixed since version rpm-4.3.1-0.2 when built.

 

You can read about this at: https://bugzilla.redhat.com/show_bug.cgi?id=119783

 

If you're using the prior version, you should grab the newer one from RedHat archives. That'll solve your problem.

Share this post


Link to post
Share on other sites

I know why it doesn't workIf the rpm installer can't establish a transaction lock, that is because installing rpm's has to happen under a ROOT account.so typesu<password>rpm -Uvh thingyouwanttoinstall.rpm

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.