Linux : sudo yum updates not working
Tags : linux yum update defunct
Try to do a sudo yum updates
command this morning on one of my DigitalOcean droplets today and encounter weird error messages.
Everything was running fine until it suddenly stops and vomit out the word Killed
. Further attempts of sudo yum updates
and yum-complete-transaction
also did not end well.
Only after doing a ps -ef | grep defunct
command that I realized what is the problem. There are couple of zombie Apache processes that sucking up the memory and thus causing yum updates to fail.
To fix the problem :
shutdown Apache with
sudo /etc/init.d/httpd stop
kill -9
all the zombie process
and this time sudo yum updates
works!
NOTE : this situation is unique to me and as for yours...you need to find out which process is taking up the memory. It could be something other that Apache.
Tags : linux yum update defunct
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
+15.3k Golang : Validate IP address
+15.7k Golang : JQuery AJAX post data to server and send data back to client example
+1.2k Golang : Reverse text lines or flip line order example
+7.2k SSL : The certificate is not trusted because no issuer chain was provided
+1.6k Golang : Reverse by word
98 Linux : How to install driver for 600Mbps Dual Band Wifi USB Adapter
+2.3k Golang : Levenshtein distance example
+1.6k Javascript : Shuffle or randomize array example
+18.6k Golang : How to get struct field and value by name
514 Golang : How to iterate a slice without using for loop?
+7.7k Golang : Parsing or breaking down URL
+3.5k Golang : On lambda, anonymous, inline functions and function literals