I have the following situation with my CentOs 5.6 64 bit:

[root@host ~]# yum update
Loaded plugins: fastestmirror

..and thats it. Nothing comes back, ctrl+c does not have any effect, it's getting stuck.

Any thoughts what to look after?

link|improve this question
Adding -d9 says? – Ignacio Vazquez-Abrams May 18 '11 at 22:42
Please do not edit questions to add new problems. Mark the correct answer to this question, then if you have a new problem ask a new question. I deleted your new question from this one, but you can recover it to copy and paste into a new question from the edit log. – Caleb May 19 '11 at 11:19
feedback

2 Answers

try yum clean all first and then yum update

link|improve this answer
feedback

I'm guessing you are running a virtual machine or you are otherwise restricting yum's memory footprint.

If this is the case, you are simply running out of memory. You can try:

ulimit -m unlimited 
ulimit -v unlimited
yum --noplugins update

If that does not work, please post the output from top after pressing M to sort by memory utilization.

link|improve this answer
I would probably also want to add some swap space anyway, by creating a swapfile (dd if=/dev/zero of=/swapfile.dat bs=1k count=512000; mkswap /swapfile.dat; swapon /swapfile.dat), then adding it to /etc/fstab. – lsd May 19 '11 at 0:02
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.