출처 : 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
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
154 | /etc/fstab 설정하기 [1] | 위대한유저 | 2009.01.29 | 234323 |
153 | /proc/meminfo 의 고찰! | 위대한유저 | 2009.09.16 | 190490 |
152 | telnet 커맨드를 이용한 메일발송 테스트 | 위대한유저 | 2009.11.29 | 121156 |
151 | 데비안(debian)계열에서 apt-get 사용하다 GPG 에러 발생시 | 위대한유저 | 2009.11.10 | 111778 |
150 | 구버전 MySQL(to 4.0) 에서 바이너리 로그 정리하기 | 위대한유저 | 2011.07.02 | 104454 |
149 | XE 업데이트(및 기타상황)에서 로그인이 되지 않을때 | 위대한유저 | 2011.10.06 | 82694 |
148 | XE 스팸성 엮인글 관리 | 위대한유저 | 2013.06.17 | 80592 |
147 | 제로보드4 에서 한글파일 다운로드가 되지 않을때 | 위대한유저 | 2010.01.24 | 79185 |
146 | FTP 상태코드 | 위대한유저 | 2009.08.28 | 78604 |
145 | piwik analytics 사용시 이메일보고서의 그래프 내용중 한글이 깨지는문제 | 위대한유저 | 2013.05.23 | 67653 |
144 | HTTP 응답코드 | 위대한유저 | 2009.04.02 | 64545 |
143 | debian repository (old version) | 위대한유저 | 2013.04.11 | 57167 |
142 | linux 에서 cisco console 연결하기 | 위대한유저 | 2013.03.28 | 46283 |
141 | Control-D 화면에 대한 고찰 | 위대한유저 | 2009.03.13 | 43697 |
140 | 리눅스에서 arp cache 삭제/초기화 하는 방법 | 위대한유저 | 2015.05.29 | 34004 |