LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I cancel yum transactions? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-cancel-yum-transactions-721791/)

KenjiKinya 04-26-2009 08:57 AM

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?

jhwilliams 04-26-2009 09:27 AM

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.

lazlow 04-26-2009 12:35 PM

Try a "yum clean all". That SHOULD clean it up.

soleilarw 04-26-2009 05:08 PM

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

ahaveland 06-23-2010 01:26 AM

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.


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