ovirt 安装过程中GPG故障

解决GPG密钥冲突
本文记录了在使用CentOS 7系统时遇到的GPG密钥错误问题,该问题导致无法正常安装软件包。通过排查发现是由于配置文件中指向了一个不正确的GPG密钥,最终通过注释掉有问题的源解决了这一问题。
[root@192-168-166-220 rpm-gpg]# grep ERROR /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-20160107165628-192.168.166.109-39218f6e.log
2016-01-07 16:56:28 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:100 Yum The GPG keys listed for the "CentOS-7 - Virt - www.sky-mobi.com" repository are already installed but they are not correct for this package.
2016-01-07 16:56:28 ERROR otopi.context context._executeMethod:165 Failed to execute stage 'Package installation': The GPG keys listed for the "CentOS-7 - Virt - www.sky-mobi.com" repository are already installed but they are not correct for this package.


排查是
[root@192-168-166-220 rpm-gpg]# vim /etc/yum.repos.d/CentOS7-Base.repo
#released virt
[virt]
name=CentOS-$releasever - Virt - www.sky-mobi.com
baseurl=http://192.168.160.200/yum/centos/$releasever/virt/$basearch/ovirt-3.6/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-$releasever
这个GPGkey不正确,由于用不到此源,注释掉解决了.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值