在树莓派上安装了centos,想着在树莓派上折腾下centos,还完阿里云的源,yum的时候一直超时报错,类似这种,
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://mirrors.cloud.aliyuncs.com/centos/7/os/armhfp/repodata/repomd.xml: [Errno 14] curl#6 - “Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error”
http://mirrors.aliyun.com/centos/7/os/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
http://mirrors.aliyuncs.com/centos/7/os/armhfp/repodata/repomd.xml: [Errno 12] Timeout on http://mirrors.aliyu

本文介绍了在树莓派上安装CentOS7后,遇到yum报错,特别是与阿里云和网易镜像源连接超时的问题。通过尝试,发现中科大的源可以正常工作。解决方案包括备份CentOS-Base.repo,替换为中科大源的配置,并执行yum clean all和yum makecache来更新缓存,最终成功解决yum报错问题。
最低0.47元/天 解锁文章
1625

被折叠的 条评论
为什么被折叠?



