Package filename.rpm is not signed的解决办法

yum install xxx.rpm

warning:

Package xxx.rpm is not signed

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

猜你喜欢

转载自xukenetwork.iteye.com/blog/2145876