CentOS 7 is no longer supported and the official update mirrorlist has been retired.
To bring CentOS to the latest released version and allow 3rd party repos to continue to be used the CentOS-Base repo must be disabled and the Vault repo configured and enabled.
#disable Red Hat subscription-manager auto enable
$ subscription-manager config --rhsm.auto_enable_yum_plugins=0
$ nano /etc.yum/pluginconf.d/subscription-manager.conf
#disable yum subscription manager plugin
enabled=0
$ nano /etc/yum.repos.d/CentOS-Base.repo
#add the following to each repo section
$ nano /etc/yum.repos.d/CentOS-Vault.repo
#add the following to the end of the repo file
# Vault[Vault-base]name=Vault - CentOS-$releasever - Basebaseurl=http://vault.centos.org/centos/$releasever/os/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-$releaseverenabled=1[Vault-updates]name=Vault - CentOS-$releasever - Updatesbaseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-$releaseverenabled=1[Vault-extras]name=Vault - CentOS-$releasever – Extrasbaseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-$releasever#end of file
$ yum clean all
$ yum makecache
« Go back
Powered by Help Desk Software HESK, in partnership with SysAid Technologies