Fix yum-complete-transaction error
Ok. I tried to execute
sudo yum update
command today and I was greeted with this line :There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
Somehow instinctively I just typed in
sudo yum yum-complete-transaction
and hit the enter key. Hoping that it will work out but at the end... it did not.It was not the right command parameter nor it is the right way to do so.
The solution is to do these :
sudo yum clean all
sudo /usr/sbin/yum-complete-transaction
After that, execute
sudo yum update
and everything will be fine and dandy.
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+15.6k Golang : How to tell if a file is compressed either gzip or zip ?
+4.9k Golang : Compound interest over time example
+9.6k Golang : Create Temporary File
+22k Golang : minus time with Time.Add() or Time.AddDate() functions to calculate past date
+3.7k Linux/MacOSX : How to symlink a file?
+10k Golang : Find age or leap age from date of birth example
+8.5k Golang : interface - when and where to use examples
+6.3k Golang : Check to see if *File is a file or directory
+9.8k Golang : Natural string sorting example
+9.4k Golang : How to unmarshal JSON inner/nested value and assign to specific struct?
+8.9k Golang : Print how to use flag for your application example
+12.8k Elastic Search : Mapping date format and sort by date