問題と症状:
[root@XXX ~]# yum install python-pip
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
epel/x86_64/metalink | 16 kB 00:00:00
epel | 5.3 kB 00:00:00
https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 12] Timeout on https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: (28, 'Operation timed out after 30001 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 12] Timeout on https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: (28, 'Operation timed out after 30001 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 12] Timeout on https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: (28, 'Operation timed out after 30001 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
上記の出力で、私のコンピュータ名を「XXX」に変更しました。
別のリポジトリを試行すると、同様のログが引き続き出力されます。
私のコンピュータがプロキシを介してインターネットにアクセスできるようです。
[root@TBRISCCLPRAPP05 ~]# nslookup google.com
Server: 10.254.90.97
Address: 10.254.90.97#53
Non-authoritative answer:
Name: google.com
Address: 172.217.164.206
Name: google.com
Address: 2607:f8b0:400b:80f::200e
適切な HTTP_PROXY および HTTPS_PROXY 環境変数をエクスポートしました。
機械情報:
NAME="Red Hat Enterprise Linux Server"
VERSION="7.7 (Maipo)"
ID="rhel"
ID_LIKE="fedora"