@mtbforq (たくみ 宮迫)

Are you sure you want to delete the question?

Leaving a resolved question undeleted may help others!

windows10でcentOSのアップデート方法が知りたいです

解決したいこと

vagrantでvimエディタを起動したくてvimコードを入力したかったのですが、エラーが表示されます。
調べていくうちにcentOSのアップデートが必要だということに行き着きました。
しかしvagrantをrootユーザーに設定し、
yum -y update を実行したら以下のエラーが表示されます。

発生している問題・エラー

読み込んだプラグイン:fastestmirror
更新処理の設定をしています
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
エラー: Cannot find a valid baseurl for repo: base

自分で試したこと

調べたら、.repoファイルのmirrorlistをコメントアウトして、baseurlを変更するという方法が出てきたのですが、
.repoファイルがどこにあるのか見当もつかない状態です・・・。

ip addrを入力して、
vi /etc/sysconfig/network-scripts/ifcfg-対象のNIC名
を入力したりもしましたが、vagrant上でviエディタが起動するだけでした。

0 likes

No Answers yet.

Your answer might help someone💌