我是靠谱客的博主 含糊小刺猬,这篇文章主要介绍解决initscripts conflicts with redhat-release-server-7.4-18.el7.x86_64,现在分享给大家,希望可以做个参考。

当我们替换yumy源后,执行更新语句

yum update -y

是,提示initscripts 与 redhat-realse-server 冲突,网上大多数建议删除  redhat-release-server-7.4-18.el7.x86_64

rpm -e redhat-release-server-7.4-18.el7.x86_64 --nodeps

实为不妥,这里提供另一种方法,修改yum 配置文件,阻止yum 更新内核与initscripts包。具体:/etc/yum.conf

vim /etc/yum.conf

在文件内容添加如下内容:

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

保存退出,在执行,yum  update -y  即可

最后

以上就是含糊小刺猬最近收集整理的关于解决initscripts conflicts with redhat-release-server-7.4-18.el7.x86_64的全部内容,更多相关解决initscripts内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(120)

评论列表共有 0 条评论

立即
投稿
返回
顶部