yum install gcc 时遇到[Errno 256] No more mirrors to try

xiaoxiao2021-02-28  46

系统是centos 7,yum install gcc 时遇到[Errno 256] No more mirrors to try

解决办法:

1. 

运行如下命令

rm -rf /var/cache/yum/* yum clean all

2. 运行命令

yum repolist

结果如下:

3. 运行命令

yum -y install make gcc gcc-c++

结果如下:

转载请注明原文地址: https://www.6miu.com/read-1950349.html

最新回复(0)