Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

We need to update yum update but we want to stay one release back. For example, we have CentOS 6.2 and want to move to 6.3. By default, it looks like yum update will install 6.4.

On RedHat, this may be done with the subscription-manager. However, because the subscription-manger is not available on CentOS, this can not be used.

share|improve this question
up vote 3 down vote accepted

Go into /etc/yum.repos.d/, and carefully look at all of the files in there.

For each file that points to a CentOS repository, disable it by setting enabled=0, and make a copy that points to the CentOS 6.3 repo directories on Any directory with a "repodata" subdirectory is usable as a yum repository directory.

You'll probably at least want:

name=CentOS 6.3 - $basearch

name=CentOS 6.3 Updates - $basearch

Note that you won't get any security updates that came out since CentOS 6.4 was released. If you install the yum-plugin-security module, you may be able to use commands like yum --enablerepo=centos --security update-minimal to pull in just the security updates, but I have not checked that, and have not even verified the yum repository names.

share|improve this answer

Are using spacewalk server do update you Cent OS or are you pulling from Cent OS (Internet).

If you have local spacewalk server using following command you can create channel Cent OS 6.3.

#spacewalk-create-channel --user=admin --server=localhost --version=6 --update=3 --release=Server --arch=x86_64 --destChannel=6-CentOS6

Once you finish above step then you can add your all Cent OS server which you want keep 6.3.


Spacewalk -2

share|improve this answer
It is pulling from the Internet.. – jcalfee May 8 '13 at 18:52

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.