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
+5k Golang : Pad file extension automagically
+6.4k Golang : Output or print out JSON stream/encoded data
+17.7k Golang : Check if a directory exist or not
+51.9k Golang : How to get struct field and value by name
+4.5k MariaDB/MySQL : Form select statement or search query with Chinese characters
+8.5k Golang : Random integer with rand.Seed() within a given range
+9.3k Javascript : Read/parse JSON data from HTTP response
+19.2k Golang : Close channel after ticker stopped example
+7.2k Golang : Detect sample rate, channels or latency with PortAudio
+7.1k Golang : Scanf function weird error in Windows
+7.5k Golang : Getting Echo framework StartAutoTLS to work
+3.5k Java : Random alphabets, alpha-numeric or numbers only string generator