728x90
반응형

centos7 에서 yum update 를 실행했을 때 아래와 같은 에러가 발생했다.

yum update 실행 결과 에러 발생

[root@dev-server ~]# yum update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp-srv2.kddilabs.jp
 * epel: nrt.edge.kernel.org
 * extras: ftp-srv2.kddilabs.jp
 * updates: ftp-srv2.kddilabs.jp
http://ftp.kaist.ac.kr/CentOS/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://ftp.yz.yamagata-u.ac.jp/pub/linux/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - N
Trying other mirror.
http://mirrors.cat.net/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.riken.jp/Linux/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp-srv2.kddilabs.jp/Linux/packages/CentOS/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 -
Trying other mirror.
http://mirror.navercorp.com/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux/CentOS/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.kakao.com/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.nara.wide.ad.jp/pub/Linux/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not F
Trying other mirror.
http://mirror.opensourcelab.co.kr/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.003/os/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.
http://ftp.kaist.ac.kr/CentOS/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.cat.net/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.yz.yamagata-u.ac.jp/pub/linux/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404
Trying other mirror.
http://ty1.mirror.newmediaexpress.com/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 -
Trying other mirror.
http://ftp-srv2.kddilabs.jp/Linux/packages/CentOS/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 4
Trying other mirror.
http://mirror.kakao.com/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.navercorp.com/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux/CentOS/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not F
Trying other mirror.
http://ftp.nara.wide.ad.jp/pub/Linux/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - N
Trying other mirror.
http://mirror.opensourcelab.co.kr/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mir.8.2003/extras/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30000 milliseconds')
Trying other mirror.
mariadb
http://ftp.iij.ad.jp/pub/linux/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Fo
Trying other mirror.
http://ftp.kaist.ac.kr/CentOS/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.cat.net/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ty1.mirror.newmediaexpress.com/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 -
Trying other mirror.
http://ftp-srv2.kddilabs.jp/Linux/packages/CentOS/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error
Trying other mirror.
http://mirror.kakao.com/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.navercorp.com/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux/CentOS/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not
Trying other mirror.
http://ftp.nara.wide.ad.jp/pub/Linux/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 -
Trying other mirror.
http://mirror.opensourcelab.co.kr/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mi7.8.2003/updates/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.
... (이하 생략)

 

 

yum clean all 를 통해 실행해서 모든 메타데이터를 정리해주어야 한다.

# yum clean all
[root@dev-server ~]# yum clean all
Loaded plugins: fastestmirror, langpacks
Cleaning repos: base epel extras mariadb mysql-connectors-community mysql-tools-community mysql57-community updates
Cleaning up list of fastest mirrors
Other repos take up 12 M of disk space (use --verbose for details)

 

다시 yum update 를 해주면 정상적으로 update 되는 것을 확인할 수 있다.

[root@dev-server ~]# yum update
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
epel/x86_64/metalink                                                                          | 7.9 kB  00:00:00
 * base: mirror.kakao.com
 * epel: ftp.jaist.ac.jp
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
base                                                                                          | 3.6 kB  00:00:00
epel                                                                                          | 4.7 kB  00:00:00
extras                                                                                        | 2.9 kB  00:00:00
mariadb                                                                                       | 2.9 kB  00:00:00
mysql-connectors-community                                                                    | 2.6 kB  00:00:00
mysql-tools-community                                                                         | 2.6 kB  00:00:00
mysql57-community                                                                             | 2.6 kB  00:00:00
updates                                                                                       | 2.9 kB  00:00:00
(1/11): epel/x86_64/group_gz                                                                  |  95 kB  00:00:00
(2/11): base/7/x86_64/group_gz                                                                | 153 kB  00:00:00
(3/11): epel/x86_64/updateinfo                                                                | 1.0 MB  00:00:00
(4/11): mysql-connectors-community/x86_64/primary_db                                          |  68 kB  00:00:00
(5/11): mysql-tools-community/x86_64/primary_db                                               |  83 kB  00:00:00
(6/11): mysql57-community/x86_64/primary_db                                                   | 247 kB  00:00:00
(7/11): extras/7/x86_64/primary_db                                                            | 222 kB  00:00:00
(8/11): mariadb/primary_db                                                                    |  59 kB  00:00:00
(9/11): updates/7/x86_64/primary_db                                                           | 3.7 MB  00:00:01
(10/11): base/7/x86_64/primary_db                                                             | 6.1 MB  00:00:03
(11/11): epel/x86_64/primary_db                                                               | 6.9 MB  00:00:03
Resolving Dependencies
--> Running transaction check
---> Package ModemManager.x86_64 0:1.6.10-3.el7_6 will be updated
---> Package ModemManager.x86_64 0:1.6.10-4.el7 will be an update
---> Package ModemManager-glib.x86_64 0:1.6.10-3.el7_6 will be updated
---> Package ModemManager-glib.x86_64 0:1.6.10-4.el7 will be an update
---> Package NetworkManager.x86_64 1:1.18.4-3.el7 will be updated
---> Package NetworkManager.x86_64 1:1.18.8-2.el7_9 will be an update

... ( 이하 생략 )

 

 

- 참고 사이트 - 

qastack.kr/unix/210448/centos-7-update-using-yum-update-does-not-work

 

"yum update"를 사용한 CentOS 7 업데이트가 작동하지 않습니다

 

qastack.kr

 

728x90
반응형
복사했습니다!