latest patch level

A 5 star hangout for overworked and underpaid system admins.
Anju Singh
Posts: 14
Joined: 2018/12/06 03:48:59

latest patch level

Post by Anju Singh » 2018/12/06 04:06:07

Hi All,

I have been working with Redhat for quite a while. I am new to centos. Can I know what is the latest patch level for Centos 6 and 5 ?

I have some servers with different patch levels -

CentOS release 5.5 (Final) - 2.6.18-194.el5
CentOS release 5.8 (Final) - 2.6.18-308.8.2.el5
CentOS release 6.2 (Final) - 2.6.32-220.4.2.el6.x86_64
CentOS release 6.5 (Final) - 2.6.32-431.el6.x86_64

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: latest patch level

Post by TrevorH » 2018/12/06 07:17:26

CentOS is a rebuild of RHEL so it has the exact same patch levels.

CentOS 5 is dead and should no longer be used. The last version of CentOS 5 was 5.11. The last version of CentOS 5 went End Of Life in March 2017 and there will be no further updates to it and it should no longer be used or deployed. Migrate to something newer ASAP.

CentOS 6 goes EOL in just under 2 years time. The current version is 6.10 and uses a 2.6.32-754 series of kernels. It goes EOL in 2020.

CentOS 7 is the most recent version and the current 7.6 was released a few days ago. It goes EOL in 2024.

All of your servers listed are massively out of date and need `yum update` to current. They are dangerous to run in their current form as you are missing more than 5 years of patches from the newest one you list (6.5 was Dec 2013). The CentOS 5 servers are all EOL and need to be reinstalled with a newer version ASAP.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Anju Singh
Posts: 14
Joined: 2018/12/06 03:48:59

Re: latest patch level

Post by Anju Singh » 2018/12/07 03:02:27

Thank you so much for the insight :) I will take a look at updating those asap.

Anju Singh
Posts: 14
Joined: 2018/12/06 03:48:59

Re: latest patch level

Post by Anju Singh » 2018/12/07 03:10:15

Can anybody let me know where can we download the centos patches for version is 6.10 ?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: latest patch level

Post by TrevorH » 2018/12/07 07:23:53

You just run yum update
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Anju Singh
Posts: 14
Joined: 2018/12/06 03:48:59

Re: latest patch level

Post by Anju Singh » 2018/12/10 04:10:57

TrevorH - you are awesome !

Anju Singh
Posts: 14
Joined: 2018/12/06 03:48:59

Re: latest patch level

Post by Anju Singh » 2018/12/10 04:41:24

TrevorH - you are awesome !


I have some issues again -

yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5 ... epo=addons error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: addons


[root@@@@@ etc]# curl "http://mirrorlist.centos.org/?release=6 ... 64&repo=os"
curl: (6) Couldn't resolve host 'mirrorlist.centos.org'
[root@@@@@@ etc]#


[root@@@@@@ etc]# cat /etc/resolv.conf
[root@@@@@@ etc]#
[root@@@@@@etc]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7000ms




[root@@@@@@ etc]# vi /etc/yum.repos.d/CentOS-Base.repo | head
[root@vlvichortest1 etc]# cat /etc/yum.repos.d/CentOS-Base.repo

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=6 ... 64&repo=os
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$ ... po=updates
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$ ... epo=addons
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$ ... epo=extras
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$ ... centosplus
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$ ... po=contrib
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5


[root@@@@@@ etc]# vi /etc/resolv.conf --> Added the DNS server IP( DNS server is a windows BOX)

[root@@@@@@ etc]# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5 ... epo=addons error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: addons
[root@@@@@@ etc]#

Some issue with DNS I am not able to fix it. Could you help me with it ?

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: latest patch level

Post by jlehtone » 2018/12/11 14:55:39

release=5
The dead means dead, as in buried. The CentOS 5 repositories are no longer there.

The erroneous network configuration of your CentOS 6 system ... for that there is a more appropriate Forum.

Anju Singh
Posts: 14
Joined: 2018/12/06 03:48:59

Re: latest patch level

Post by Anju Singh » 2018/12/11 21:55:49

jlehtone - to update to centos 6 what needs to be run instead of yum update then ?

should I replace release 5 by release 6 in all sections of /etc/yum.repos.d/CentOS-Base.repo ?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: latest patch level

Post by TrevorH » 2018/12/12 09:17:20

You cannot upgrade CentOS 5 to 6. It requires a reinstall which means reinstalling all your apps and setting them up and restoring their data.

All of your errors appear to be due to non-working DNS. Fix that.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply