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
+6.5k Elasticsearch : Shutdown a local node
+33.9k Golang : Proper way to set function argument default value
+11.2k Golang : Proper way to test CIDR membership of an IP 4 or 6 address example
+11.1k Golang : Read until certain character to break for loop
+18.2k Golang : Get command line arguments
+6.9k Golang : Fibonacci number generator examples
+18k Golang : How to log each HTTP request to your web server?
+7.8k Golang : Lock executable to a specific machine with unique hash of the machine
+20.2k Golang : How to get own program name during runtime ?
+13.6k Golang : Set image canvas or background to transparent
+7k Golang : constant 20013 overflows byte error message
+30.8k Golang : Interpolating or substituting variables in string examples