首页 > 其他 > 详细

搭建仓库,yum报错无签署问题

时间:2016-10-22 01:14:01      阅读:202      评论:0      收藏:0      [点我收藏+]

在centos系统中使用yum报错



yum install xxx.rpm


warning:


Package xxx.rpm is not signed



google一下,解决方法都是

1、修改yum.conf


路径:/etc/yum.conf


找到 gpgcheck=1


将其修改为0:gpgcheck=0


2、修改/etc/yum.repos.d /utterramblings.repo


找到 gpgcheck=1


将其修改为0:gpgcheck=0



如果不行


只要在在后面加上--nogpgcheck就可以了,格式如下


yum install *rpm --nogpgcheck


本文出自 “11837542” 博客,请务必保留此出处http://11847542.blog.51cto.com/11837542/1864306

搭建仓库,yum报错无签署问题

原文:http://11847542.blog.51cto.com/11837542/1864306

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!