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
+5.4k Python : Create Whois client or function example
+7.5k Golang : Check if one string(rune) is permutation of another string(rune)
+5.5k Golang : Pad file extension automagically
+8.3k Golang : Tell color name with OpenCV example
+5.6k Unix/Linux : How to archive and compress entire directory ?
+19.6k Golang : How to Set or Add Header http.ResponseWriter?
+6.6k Golang : How to search a list of records or data structures
+5.6k Javascript : How to loop over and parse JSON data?
+17.3k Golang : Capture stdout of a child process and act according to the result
+37.8k Upload multiple files with Go
+8.5k Golang : Number guessing game with user input verification example
+5.2k Linux : How to set root password in Linux Mint