Error: initscripts conflicts with centos-release-7-4.1708.el7.centos.x86_64 | IT运维网
  • 本站启用了账户登录密码错误就锁定模式,如有人误操作被锁请邮件(yvan.lu@ityww.cn)告知我账户名。
  • 本站为个人技术性站点,上面会更新一些系统、网络、虚拟化及云计算等相关的文章,与大家一起参考、学习和交流。
  • 欢迎访问本网站;本站QQ交流群:654792529;如果您觉得本站非常有看点,那么赶紧使用Ctrl+D收藏吧!

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

CentOS yvan 7年前 (2018-05-18) 18955次浏览 已收录 0个评论 扫描二维码

        通过命令(yum update –exclude=kernel* –exclude=centos-release*)升级时发生错误无法操作,报错如下:

[root@localhost ~]# yum update --exclude=kernel* --exclude=centos-release*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.cn99.com
 * updates: mirrors.cn99.com
Resolving Dependencies
--> Running transaction check
---> Package NetworkManager.x86_64 1:1.8.0-9.el7 will be updated
---> Package NetworkManager.x86_64 1:1.10.2-13.el7 will be an update
......此处省略......
--> Running transaction check
---> Package lz4.x86_64 0:1.7.5-2.el7 will be installed
--> Processing Conflict: initscripts-9.49.41-1.el7.x86_64 conflicts redhat-release < 7.5-0.11
--> Finished Dependency Resolution
Error: initscripts conflicts with centos-release-7-4.1708.el7.centos.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

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

[root@localhost ~]# yum update --exclude=kernel* --exclude=centos-release* --exclude=initscripts*
此命令(yum update –exclude=kernel* –exclude=centos-release* –exclude=initscripts*)模式下升级方可正常

IT运维网 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明Error: initscripts conflicts with centos-release-7-4.1708.el7.centos.x86_64
喜欢 (17)
yvan
关于作者:
聪明来自勤奋、知识在于积累、好记性不如烂键盘!

您必须 登录 才能发表评论!