これを試みると、yum update
次のエラーメッセージが表示されます。
Loaded plugins: fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch= error was
14: curl#7 - "Failed to connect to 2001:4178:5:200::10: Network is unreachable
Cannot find a valid baseurl for repo: addons/7
どうすれば解決できますか?
ベストアンサー1
同様の問題がある方のために、次のステップで解決しました。
行って
/etc/sysconfig/network-scripts/ifcfg-enp0s3
変えてくださいONBOOT=yes
ファイアウォールにhttpを追加
firewall-cmd --permanent --zone=public --add-service=http
ファイアウォールの再起動
firewall-cmd --reload
ネットワークを再起動してください
service network restart
これで問題は消えます。