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: 14
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: 4523
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
Site Admin
Posts: 33202
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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply