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.2k Golang : Return multiple values from function
+10.5k Golang : Resolve domain name to IP4 and IP6 addresses.
+6.8k Golang : Normalize email to prevent multiple signups example
+9.1k Golang : Write multiple lines or divide string into multiple lines
+36.3k Golang : Convert date or time stamp from string to time.Time type
+5.1k PHP : See installed compiled-in-modules
+10.7k Golang : Command line file upload program to server example
+46.3k Golang : Marshal and unmarshal json.RawMessage struct example
+43k Golang : Convert []byte to image
+5.1k Golang : Convert lines of string into list for delete and insert operation
+18.9k Golang : Check whether a network interface is up on your machine
+12.1k Golang : Simple client-server HMAC authentication without SSL example