How do I fix these Yum errors?

خرید بک لینک

Centos 5.... I was afraid of that. Centos 5 went EOL march 31 this year, so that's why you're having issues. Yum for Centos 5 will not work anymore.

However, there is a temporarily solution so you can still use yum to update by changing to the vault repository's.
Change your /etc/yum.repos.d/CentOS-Vault.repo accordingly:

Code:

# 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
After that, do:
yum clean all
yum update

And you should be fine for the moment.

However, be aware I don't know how long this temporarily repo will keep on working. It's time do upgrade to Centos 7.

DirectAdmin Forums...

ما را در سایت DirectAdmin Forums دنبال می‌کنید

برچسب: نویسنده: ایمان اصلاحی بازدید: 338 تاريخ: سه شنبه 16 خرداد 1396 ساعت: 2:26

صفحه بندی