yum安装时 后面加 --nogpgcheck

 

阿里云源文件:http://mirrors.aliyun.com/repo/Centos-7.repo

7.repo

yum update

错误提示 Error: initscripts conflicts with centos-release-7-4.1708.el7.centos.x86_64 意思是相冲突了,既然冲突就排除掉;定位到错误关键词为 initscripts;

yum update --exclude=kernel* --exclude=centos-release* --exclude=initscripts*

此命令(yum update –exclude=kernel* –exclude=centos-release* –exclude=initscripts*)模式下升级方可正常

或者:rpm -e redhat-release-server-7.0-1.el7.x86_64 --nodeps 删除冲突的包

相关文章:

  • 2021-06-20
  • 2022-01-22
  • 2021-10-27
  • 2021-08-23
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-08
  • 2021-05-11
  • 2021-10-19
  • 2021-08-02
  • 2021-05-03
相关资源
相似解决方案