Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running a virtualized CentOS 6.3 on a Windows 7 computer. The computer (4 GB RAM) is connected to a corporate network.

When I run yum update, it shows some progress, then eventually the VM (2 GB RAM) freezes, this has happened nearly 5 times now.

I've also tried updating using the graphic package manager, same thing happens, any ideas why this is happening?

share|improve this question
Have you tried yum clean all first? – nojak Aug 24 '12 at 2:15

The YUM installer allocates memory and mirror plugins create threads. I managed to update a VPS(128k) running Centos 6.0 to 6.6 as follows:

  • edit /etc/yum/pluginconf.d/fastestmirror.conf and set maxthreads to 1
  • stop as many processes as possible. For example: service stop httpd
  • remove any unwanted packages. For example: yum remove man-pages
  • Run the following script/commands:

    yum clean all
    echo "Starting Update........."
    for package in `yum -q check-update | awk '{print $1}'`
        echo "*** Updating $package"
        yum -y update $package
    yum clean all
    yum -y update
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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