LinuxQuestions.org
Help answer threads with 0 replies.
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 04-26-2009, 08:57 AM   #1
KenjiKinya
LQ Newbie
 
Registered: Apr 2009
Location: Japan & South Korea
Distribution: Fedora
Posts: 19

Rep: Reputation: 0
How do I cancel yum transactions?


When I run yum, it says that there are transactions that need to be completed. So I run yum-complete-transaction, it finishes, but then yum still says that transactions need to be completed. How do I just cancel them?
 
Old 04-26-2009, 09:27 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Likely there is a yum database lock file that is out of sync with reality -- perhaps due to some previous intervention on your part. Seek out this lock file and remove it, that should solve your problems. Would be good to clean the yum cache after doing so, performing an update -- just trying to regain as much consistency as possible.
 
Old 04-26-2009, 12:35 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Try a "yum clean all". That SHOULD clean it up.
 
Old 04-26-2009, 05:08 PM   #4
soleilarw
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 19
Sometimes different wrapper applications are using yum facilities, in such cases one application will block all the other ones. It is even possible to launch some "Add/Remove Applications" GUI tool and thereby blocking the command-line yum tool itself.

In common cases rebooting is the easiest fix.

Linux Archive

Last edited by soleilarw; 06-18-2009 at 03:44 AM.
 
Old 06-23-2010, 01:26 AM   #5
ahaveland
LQ Newbie
 
Registered: Jun 2010
Posts: 4

Rep: Reputation: 0
How to cancel pending yum transactions

Just to complete this thread for others with the same problem,

"yum clean all" did not work.

Look in the dir /var/lib/yum - you should see 1 or more files containing install xxxxxxxxxx
erase xxxxxxxxxx
etc.

Just delete them, but leave /history /yumdb and uuid untouched.

Andy.
 
  


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
checking filesystems... 0 transactions replayed hgb Linux - General 2 10-18-2006 10:50 PM
LXer: Options for Apache Geronimo EJB Transactions: Part 3 LXer Syndicated Linux News 0 08-21-2006 11:12 PM
LXer: Automate interactive transactions with Expect LXer Syndicated Linux News 0 08-04-2006 08:54 PM
Monitor browser's file transactions? compjinx Linux - Software 2 02-21-2005 05:47 PM
GNUcash - Split Transactions davecs Linux - Software 4 10-22-2003 05:25 PM

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

All times are GMT -5. The time now is 10:06 PM.

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