How to keep yum from updating OS version
How to keep yum from updating OS version
My server's manufaturer (supermicro) only provides RAID drivers for certain RHEL (CentOS) releases, 4.4, 5.2 and 5.9 are presently available. An accidental yum update recently took the server from CentOS 4.4 to 4.7, and abandoned the RAID driver. My choces are to reload 4.4 or go to 5.2. Since I will probably do the latter, is there a way to have yum just update within the distro, and not the distro version? Can someone ID the rpms I could exclude to be sure that the OS version remains static?
-
- Posts: 85
- Joined: 2008/03/17 22:26:54
Re: How to keep yum from updating OS version
I believe you can exclude the kernel package from updating if you run a yum update
yum --exclude=kernel update
yum --exclude=kernel update
Re: How to keep yum from updating OS version
You don't need to reload 4.4. You can just select the older kernel from the grub menu to boot. Once you are up and running either remove the newer kernel or edit /etc/grub.conf to set the default one to boot.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
How to keep yum from updating OS version
I'd go a different route. Have you considered forgetting the driver and using [url=http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5]Software RAID[/url]?