LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-12-2004, 02:35 AM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
When I run rpm -Uvh it says "warning: waiting for transaction lock"


Hi all,

Not sure for what reason that when I tried to install rpm files the following output came out:

# rpm -Uvh squid-1.1.21-1.i386.rpm
warning: waiting for transaction lock


and it just stay there till I break it with ctrl + c and it displayed:

error: can't create transaction lock

I am using fedora 3.0

Thanks all for helping,
 
Old 11-12-2004, 03:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
sounds like rpm crashed or was incorrectly aborted on an earlier installation there will be a lock file on the rpm database in /var/lib/rpm/somewhere.... but i'm not sure where, as i've not touched rpm's for years now... it should be pretty obvious, and if you this you've found it, move it to a temp location, and try installing again. if that works, delete that lock file.
 
Old 11-12-2004, 07:11 AM   #3
henryg
Member
 
Registered: Aug 2003
Location: London, England
Distribution: Slackware 10.2
Posts: 182

Rep: Reputation: 32
rm /var/lib/rpm/RPMLOCK

Last edited by henryg; 11-12-2004 at 07:13 AM.
 
Old 11-12-2004, 07:16 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yeah i'd say that technically classes as "obvious"!
 
Old 11-12-2004, 07:10 PM   #5
borrrden
Member
 
Registered: May 2004
Location: Philadelphia
Distribution: Fedora Core 3
Posts: 98

Rep: Reputation: 15
I've only ever gotten that error when I forgot to be root before I installed an RPM :-D
 
Old 11-12-2004, 07:47 PM   #6
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
Hello acid_kewpie, henryg and borrden

Thank you very much for helping.

Yeah, I got that transaction lock thingi fixed. Like you suggested I searched for the lock file. The name of the lock file is " rpmdb_deadlock", after I removed that, RPM installation was perfect.

Once again, thank you very much!
 
  


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
rpm transaction lock problem DJOtaku Linux - Software 1 04-26-2005 04:26 PM
KDE "Logout" and "Lock Session" menu restoration powah Linux - Software 3 03-29-2005 08:02 PM
KDE "Lock Session" and "Logout" menu restoration tcma Linux - Software 0 01-29-2005 11:12 AM
"RPM -uvh ..." vs Double Clicking 'Install' free_andrew Linux - Software 1 12-07-2003 07:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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