지식공유2018. 11. 6. 18:20


open hpc 에서 wwmkchroot 명령을 사용할 때,  Trying other mirror FAILED 가 발생할 경우 


export YUM_MIRROR 를 선언한 후 진행 되는 것을 확인 하였습니다. 




[root@dasandata:~]# export CHROOT=/opt/ohpc/admin/images/centos7.5

[root@dasandata:~]# wwmkchroot centos-7 ${CHROOT}


Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

http://mirror.centos.org/centos-7/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2605:9000:401:102::2: Network is unreachable"

Trying other mirror.

http://mirror.centos.org/centos-7/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2605:9000:401:102::2: Network is unreachable"

Trying other mirror.


<생략>


Downloading packages:

No Presto metadata available for os-base

bash-4.2.46-30.el7.x86_64.rpm  FAILED                                          

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: [Errno 12] Timeout on http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')

Trying other mirror.

bash-4.2.46-30.el7.x86_64.rpm  FAILED                                          

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 2401:78c0::2: Network is unreachable"

Trying other mirror.

bash-4.2.46-30.el7.x86_64.rpm  FAILED                                          

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 2401:78c0::2: Network is unreachable"

Trying other mirror.

bash-4.2.46-30.el7.x86_64.rpm  FAILED                                          

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: [Errno 12] Timeout on http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')

Trying other mirror.

bash-4.2.46-30.el7.x86_64.rpm  FAILED                                          

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 2401:78c0::2: Network is unreachable"

Trying other mirror.

bash-4.2.46-30.el7.x86_64.rpm  FAILED                                          

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 2401:78c0::2: Network is unreachable"

Trying other mirror.

bash-4.2.46-30.el7.x86_64.rpm  FAILED                                          

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: [Errno 12] Timeout on http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')

Trying other mirror.

bash-4.2.46-30.el7.x86_64.rpm  FAILED                                          

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 2401:78c0::2: Network is unreachable"

Trying other mirror.

bash-4.2.46-30.el7.x86_64.rpm  FAILED                                          

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 2401:78c0::2: Network is unreachable"

Trying other mirror.

bash-4.2.46-30.el7.x86_64.rpm  FAILED                                          

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: [Errno 12] Timeout on http://mirror.centos.org/centos-7/7/os/x86_64/Packages/bash-4.2.46-30.el7.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')

Trying other mirror.



Error downloading packages:

  bash-4.2.46-30.el7.x86_64: [Errno 256] No more mirrors to try.


ERROR: Failed to install packages

[root@dasandata:~]# 


[root@dasandata:~]# export YUM_MIRROR="http://ftp.kaist.ac.kr/CentOS/7.5.1804/os/\$basearch/"

[root@dasandata:~]# 




Posted by CheekyKite

댓글을 달아 주세요