1,不识别域名

vi /etc/yum.conf

新增:

nameserver 1.1.1.1(根据实际配置)

2,Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY

缺少key,看似缺少key需要下载,实际上,关闭repo库中的check就行了。

 

如下截图所示:找到epel

【yum】使用新的centos 6.9系统时,遇到的Yum问题

 

vi /etc/yum.repos.d/epel.repo

图中所示的gpgcheck的值都设置成0.我已经改了

【yum】使用新的centos 6.9系统时,遇到的Yum问题

 

然后就好了

相关文章:

  • 2021-06-04
  • 2021-06-21
  • 2021-05-22
  • 2021-07-15
  • 2022-01-07
  • 2021-09-08
  • 2022-12-23
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2021-07-09
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2022-01-07
  • 2022-02-08
相关资源
相似解决方案