Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-26-2009, 09:57 AM   #1
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, 10:27 AM   #2
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
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, 01:35 PM   #3
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, 06:08 PM   #4
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 04:44 AM.
Old 06-23-2010, 02:26 AM   #5
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

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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

All times are GMT -5. The time now is 07:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration