yum update fails with error "[Error 14] HTTPS Errno 404 - Not Found

Support for security such as Firewalls and securing linux
Post Reply
Free1p
Posts: 5
Joined: 2020/10/09 10:08:54

yum update fails with error "[Error 14] HTTPS Errno 404 - Not Found

Post by Free1p » 2020/11/08 21:22:11

According to

https://access.redhat.com/solutions/2850911
the workaround is
repo_gpgcheck = 0

i am running centos 7 - if i want to use repo_gpgcheck = 1 , what I need to do ?

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

Re: yum update fails with error "[Error 14] HTTPS Errno 404 - Not Found

Post by jlehtone » 2020/11/09 08:47:54

That is not the whole error message.
The Red Hat solution shows that it could be due to lack of repomd.xml.asc at a repository.
The error message reveals which repository and file.

The solution also says that you can create a local repo mirror with keys. Obviously, if you don't trust a repo because it does not have keys, then mirror of it is not trustworthy either.

You can set/disable repo_gpgcheck for individual repositories.

User avatar
TrevorH
Forum Moderator
Posts: 29902
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update fails with error "[Error 14] HTTPS Errno 404 - Not Found

Post by TrevorH » 2020/11/09 16:53:02

All CentOS repos have GPG signed metadata available so repo_gpgcheck=1 should be working.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Security Support”