Error: initscripts conflicts with centos-release-7-3.1611.el7.centos.x86_64

环境系统:CentOS 7.3 64

  运行 yum update 升级所有包、软件和系统内核 时,提示:

Error: initscripts conflicts with centos-release-7-3.1611.el7.centos.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

 

  查阅了下网上的资料,

  修改了下 yum 的配置文件:将 exclude=centor-release 前面加上 # 号注释掉并保存退出,再次运行 yum update 就成功了!

 

   注:生产环境对软件版本和内核版本要求非常精确,如果没有必须要求,最好不要随便的进行yum update操作!!!

 

 参考:

  https://blog.csdn.net/qq_40928073/article/details/84964782

 

posted @ 2019-08-27 15:28  梦缘&江南~  阅读(938)  评论(0)    收藏  举报