출처 : https://access.redhat.com/solutions/64532
ISSUE
- yum package update error:
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
# yum upgrade
Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager
Updating Red Hat repositories.
rhel-x86_64-rhev-agent-6-server-beta 4/4
rhel-x86_64-rhev-mgmt-agent-6-beta 56/56
rhel-x86_64-server-6-beta 766/766
rhel-x86_64-server-6-beta-debuginfo 354/354
rhel-x86_64-server-6-debuginfo 2295/2295
rhel-x86_64-server-6-rhevm-3-beta 54/54
rhel-x86_64-server-6-rhevm-3-jboss-5-beta 286/286
rhel-x86_64-server-fastrack-6 240/240
rhel-x86_64-server-fastrack-6-debuginfo 95/95
Error: failed to retrieve repodata/dd400ee340700cdcc6f0f8a539facee56d380e05b82f56ba73be9187e61a681b-primary.xml.gz from rhel-x86_64-server-ha-6
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
[root@mng ~]# yum update
Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager
Updating Red Hat repositories.
Error: failed to retrieve repodata/dd400ee340700cdcc6f0f8a539facee56d380e05b82f56ba73be9187e61a681b-primary.xml.gz from rhel-x86_64-server-ha-6
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
- yum update fails with error: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403"
ENVIRONMENT
- Red Hat Enterprise Linux(RHEL) 5.7 and onwards
- Red Hat Subscription Manager(RHSM)
- Red Hat Network(RHN) Classic
RESOLUTION
For system registered with RHSM
- Unregister the system and re-register it using Subscription-manager by:-
# subscription-manager unsubscribe
# subscription-manager unregister
# subscription-manager clean
- To Re-register the system to
RHSM
by:-
# subscription-manager register --autosubscribe
For system registered with RHN Classic
- Re-sync the channel for which yum is throwing the said error by :-
# rhn-channel --remove -c <affected Channel name> --user username --password password
- Verify that channel is not listed and then add the same channel again by :-
# yum repolist
# rhn-channel --add -c <affected Channel name> --user username --password password
# yum clean all
- Verify that channel is now listed by :-
# yum repolist
- An additional step mey be needed, unregistering from both classic and normal subscription service then registering again with the new method.
ROOT CAUSE
- Affected channel may not be synced with the system properly. Re-registering or re-syncing the channel resolves the issue.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
124 | CVE-2015-0235 GHOST BUG | 위대한유저 | 2015.02.05 | 617 |
123 | 삼바 사용시 smb_pwd_check_ntlmv1: incorrect password length 에러 대처 | 위대한유저 | 2015.03.18 | 455 |
122 | 윈도우폰에서 앱 설치가 되지 않을때 | 위대한유저 | 2015.03.28 | 267 |
121 | PHP 지원기간 안내 (PHP Supported Versions) | 위대한유저 | 2015.04.03 | 94 |
120 | net use 사용시 시스템 오류 58(이)가 생겼습니다. | 위대한유저 | 2015.04.08 | 6082 |
119 | Red Hat Enterprise Linux technology capabilities and limits | 위대한유저 | 2015.04.20 | 333 |
118 | PERMIT ROOT LOGIN AT UBUNTU | 위대한유저 | 2015.04.23 | 143 |
117 | UBUNTU DESKTOP CHANGE RESOLUTION ON VIRTUALBOX | 위대한유저 | 2015.04.23 | 147 |
116 | TOMCAT + APACHE BY MOD_PROXY | 위대한유저 | 2015.04.28 | 483 |
115 | Creating default object from empty value in PHP5.4 | 위대한유저 | 2015.04.29 | 107 |
114 | boot single mode in centos7 or rhel7 | 위대한유저 | 2015.05.07 | 206 |
113 | POODLE SSLV3.0 취약점 해결을 위한 HTTPD 설정 (CVE-2014-3566) | 위대한유저 | 2015.05.13 | 340 |
112 | installation documentation for Redmine 1.4.0 and higher | 위대한유저 | 2015.05.13 | 227 |
111 | creative commons licenses | 위대한유저 | 2015.05.21 | 125 |
110 | XE 1.8.2까지의 버전에서 슬라이드 사용안함 속성이 반영 안되는 문제 | 위대한유저 | 2015.05.21 | 1755 |