yum が失敗し、[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 エラーが発生する

Solution Verified - Updated -

Issue

  • yum update が失敗し、以下のエラーが表示されます。
# yum update
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager  
Updating certificate-based repositories.  
https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml:[Errno 14] PYCURL ERROR 22 - "The requested URL returned error:403"  
Trying other mirror.  
Setting up Update Process  
No Packages marked for Update  
# yum install gcc  
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager  
Updating certificate-based repositories.  
https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml:[Errno 14] PYCURL ERROR 22 - "The requested URL returned error:403"  
Trying other mirror.
  • yum コマンドが失敗し、[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"" エラーが発生します。
  • RHN classic にシステムが登録されており、その間はプロキシーが使用されています。パッケージをインストールすると次のエラーが発生します。
# yum update
Loaded plugins: product-id, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml:[Errno 14] PYCURL ERROR 22 - "The requested URL returned error:403"
Trying other mirror.
Error:Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-server-rpms.Please verify its path and try again

Environment

  • Red Hat Enterprise Linux
  • Red Hat Subscription Management (RHSM)
  • Subscription Asset Manager
  • Red Hat Satellite 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.