LoginSignup

Are you sure you want to delete the question?

Leaving a resolved question undeleted may help others!

ローカル開発環境構築のアプリケーションインストール時に起こるエラーの解決方法を教えてください。

解決したいこと

dotinstallでローカル開発環境の構築をやっているのですが、

L8,『仮想マシンの設定をしよう』
で、sudo yum -y updateを行いたいのですが

YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

と出てしまうのを解決したい。

自分で試したこと

この記事に書いてあることを試した。

ping 8.8.8.8、ping google.com
を試したところ、

 bytes from nrt20s18-in-f14.1e100.net (172.217.175.14): icmp_seq=5 ttl=113 time=8.54 ms
64 bytes from nrt20s18-in-f14.1e100.net (172.217.175.14): icmp_seq=6 ttl=113 time=9.23 ms

--- google.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5228ms
rtt min/avg/max/mdev = 8.224/9.124/10.709/0.788 ms

問題なく稼働しているようにみえるので

次に、 nmclコマンド を行おうとしたところ

nmcli device
-bash: nmcli: command not found

と出てしまう。

こちらをみてNetworkManagerをインストールしようとしたところ

]# yum install -y NetworkManager
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

と、同じようなエラーを吐かれてしまいました。
初歩的な質問で申し訳ないのですが
解決方法がわからないので教えていただけると幸いです。

0

1Answer

CentOS6サポート終了してるんでどうあがいても無理だと思います。自分はほかの方法探して代用してます。

1

Your answer might help someone💌