[CentOS] Keep CentOS 5.5 from upgrading?

Sun May 22 14:35:23 UTC 2011
Robert Heller <heller at deepsoft.com>

At Sun, 22 May 2011 10:22:24 -0400 CentOS mailing list <centos at centos.org> wrote:

> 
> This is a cryptographically signed message in MIME format.
> 
> --===============1683845214==
> Content-Type: multipart/signed; protocol="application/pkcs7-signature";
> 	micalg=sha1; boundary="------------ms050101020400080101000304"
> 
> This is a cryptographically signed message in MIME format.
> 
> --------------ms050101020400080101000304
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: quoted-printable
> 
> 
>     Thanks,
> 
>       I'm trying to keep CentOS 5.5 from upgrading to 5.6 because of my=20
> issue with the time sync. I thought I had it figured out till today. I=20
> have tried google for help but with no luck.  Can someone point me to a=20
> page or link that will give me a good idea as to how to stop the upgrade=20
> but still allow me to update my 5.5 packages?

Is it just the time sync pagage (ntp-4.2.2p1-9.el5.centos.2.1) that is
giving you trouble?  In which case just add an excludepkgs= line in the
updates.  (Like this [from a C4 system using a CentOSPlus kernel and
php packages]:

..
#released updates 
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1
excludepkgs=php* kernel kernel-devel kernel-doc
..

> 
>    This is what I tried, that is not working now.
> 
> I edited "/etc/yum.repos.d/CentOS-Base.repo"  to look as such.
> 
> <snip>
> [base]
> name=3DCentOS-5.5 - Base
> ## name=3DCentOS-5.5 - Base
> mirrorlist=3Dhttp://mirrorlist.centos.org/?release=3D5.5&arch=3D$basearch&r=
> epo=3Dos
> #baseurl=3Dhttp://mirror.centos.org/centos/$releasever/os/$basearch/
> gpgcheck=3D1
> gpgkey=3Dfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
> priority=3D1
> </snip>
> 
>       Brian.
> 
> 
> --------------ms050101020400080101000304
> Content-Type: application/pkcs7-signature; name="smime.p7s"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename="smime.p7s"
> Content-Description: S/MIME Cryptographic Signature
> 
> MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH
> AQAAoIITeDCCBjQwggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkG
> A1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNl
> Y3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0
> YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDE1
> NVoXDTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
> dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZp
> Y2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1h
> cnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQAD
> ggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOrlr6KMoOMpohBllVHrdRvEg/q
> 6r8jR+EK75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSMzR0t6ndl0TWB
> uUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8VpH/Clt+4iq7nirMcNh6
> qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+jb9x
> 4Pa5gNf1TwSDkOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2
> JLKutIxMYqQOJebr/f/h5t95m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cC
> AwEAAaOCAa0wggGpMA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ller at deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments