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