问题:

[root@cloud-all-in-one home]# yum list
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

解决办法:

这是 yum源出问题了,先ping外网,/etc/yum.repos.d/目录下面的文件编写可能有错误

# ping www.baidu.com ping一下外网是不是通 

# yum clean all
# yum list

相关文章:

  • 2022-03-06
  • 2021-07-12
  • 2021-11-04
  • 2021-05-28
  • 2021-12-30
  • 2021-11-04
  • 2021-08-04
  • 2022-01-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
  • 2021-07-09
  • 2022-12-23
相关资源
相似解决方案