Issue
After a failed "yum update", yum does not work.
If I try to launch "yum update" I get as a result:
# yum update
Loaded plugins: dellsysid, fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. $releasever is not a valid release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
I downloaded and tried to install "centos-release" but with error:
# rpm -Uvh centos-release-6-6.el6.centos.12.2.x86_64.rpm
error: centos-release-6-6.el6.centos.12.2.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD
error: centos-release-6-6.el6.centos.12.2.x86_64.rpm cannot be installed
The strangest thing is:
# rpm -q rpm
package rpm is not installed
How can I fix the problem and run successfully yum?
Solution
This link was useful for me, check this:
Answered By - Genix Answer Checked By - David Goodson (WPSolving Volunteer)