Getting [Errno 14] curl#22 - The requested URL returned error: 405 while executing yum repolist on client registered to Red Hat Satellite.

Solution Verified - Updated -

Issue

  • Observed the following error while executing yum repolist on a client system:

    [root@client /]# yum repolist all
    Loaded plugins: langpacks, product-id, search-disabled-repos, 
    subscription-manager
    rhel-7-server-rpms                                                                      | 2.0 kB  00:00:00    
    https://satellite.example.com/pulp/repos/CV/Prod/content/rhel/server/7/7.6/x86_64/os/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned error: 405"
    Trying other mirror.
    

Environment

  • Red Hat Satellite 6.x
  • Red Hat Enterprise Linux 7.x

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