yum update fails with error [Errno 14] HTTPS Error 404 - Not Found when repo_gpgcheck is enabled in yum.conf

Solution Verified - Updated -

Issue

  • yum was trying to download repomd.xml.asc file on RHEL client while running yum update and have encountered [Errno 14] HTTPS Error 404 - Not Found error message.

    # yum repolist -v
    Loading "product-id" plugin
    Loading "search-disabled-repos" plugin
    Loading "subscription-manager" plugin
    Loading "versionlock" plugin
    Updating Subscription Management repositories.
    Config time: 2.553
    Yum version: 3.4.3
    https://cdn.redhat.com/content/els/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
    Trying other mirror.
    
    rhel-7-server-els-rpms
    

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Subscription Manager (RHSM)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content