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
+32.4k Golang : Converting a negative number to positive number
+8.3k Golang : Read file with ioutil
+13k Golang : Get uploaded file name or access uploaded files
+34k Golang : Get file last modified date and time
+12.7k Golang : Gin framework accept query string by post request example
+5.3k Golang : Process non-XML/JSON formatted ASCII text file example
+7.9k Golang : HTTP Routing with Goji example
+9.7k Golang : Get UDP client IP address and differentiate clients by port number
+4.5k PHP : Fix Call to undefined function curl_init() error
+18.7k Golang : Reset or rewind io.Reader or io.Writer
+12.9k Golang: Pad right or print ending(suffix) zero or spaces in fmt.Printf example
+8k Golang : Get SPF and DMARC from email headers to fight spam