Fenying

Angus’ Home.


24 Feb 2016

CentOS 6.3 下安装 Sendmail 报错

该文章迁移自作者的旧博客站点。
源地址:http://fenying.blog.163.com/blog/static/102055993201612421358387

公司有一台服务器是 CentOS 6.3,今天安装 sendmail 提示 GPG 验证失败。

报错如下:

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

The GPG keys listed for the "CentOS-6 - Base" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

解决方案:

cd /etc/pki/rpm-gpg

wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

问题遂解。

该文章根据 CC-BY-4.0 协议发表,转载请遵循该协议。
本文地址:https://fenying.net/post/2016/02/24/install-sendmail-error-in-centos-6.3/

comments powered by Disqus