Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: vyshakhv on May 19, 2018, 05:06:48 pm

Title: CentOS, CloudLinux RHEL 5 CentOS-Base repo
Post by: vyshakhv on May 19, 2018, 05:06:48 pm
CentOS, Red Hat and CloudLinux have all discontinued support for version 5 of their respective operating systems as of March 31, 2017.

As CentOS version 5 has reached it's End of Life, all official repositories have been removed, while most mirrors are updating to remove these as well. This prevents yum updates and other package management from functioning as required.

A temporary workaround to this dilemma is to update all repository mirrors to utilize vault.centos.org accordingly.

The following contents are an example of a CentOS 5.11 repository utilizing the vault mirrors. Update your current CentOS 5.11 Base repo file with the below configuration.

Code: [Select]
# TEMPORARY CENT5 EOL REPO
# WARNING CENT 5 IS EOL UPGRADES SHOULD BE PERFORMED IMMEDIATELY

[C5.11-base]
name=CentOS-5.11 - Base
baseurl=http://vault.centos.org/5.11/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=1

[C5.11-updates]
name=CentOS-5.11 - Updates
baseurl=http://vault.centos.org/5.11/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=1

[C5.11-extras]
name=CentOS-5.11 - Extras
baseurl=http://vault.centos.org/5.11/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=1

[C5.11-centosplus]
name=CentOS-5.11 - Plus
baseurl=http://vault.centos.org/5.11/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=0