yum第三方安裝-軟件包沒簽名及更新錯誤


yum安裝時 后面加 --nogpgcheck

 

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

epel repo源:http://mirrors.aliyun.com/repo/epel-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 刪除沖突的包


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM