yum第三方安装-软件包没签名及更新错误
生活随笔
收集整理的這篇文章主要介紹了
yum第三方安装-软件包没签名及更新错误
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
yum安裝時(shí) 后面加?--nogpgcheck
?
阿里云源文件:http://mirrors.aliyun.com/repo/Centos-7.repo
epel repo源:http://mirrors.aliyun.com/repo/epel-7.repo
yum update
錯(cuò)誤提示 Error: initscripts conflicts with centos-release-7-4.1708.el7.centos.x86_64 意思是相沖突了,既然沖突就排除掉;定位到錯(cuò)誤關(guān)鍵詞為 initscripts;
yum update --exclude=kernel* --exclude=centos-release* --exclude=initscripts*
此命令(yum update –exclude=kernel* –exclude=centos-release* –exclude=initscripts*)模式下升級(jí)方可正常
或者:rpm -e redhat-release-server-7.0-1.el7.x86_64 --nodeps 刪除沖突的包
轉(zhuǎn)載于:https://www.cnblogs.com/LHXW/p/9593520.html
總結(jié)
以上是生活随笔為你收集整理的yum第三方安装-软件包没签名及更新错误的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 做梦梦到床上有蛇是什么意思
- 下一篇: 孕妇梦到吃柿子是什么征兆