CentOS 6.3 下安装 Sendmail 报错
该文章根据 CC-BY-4.0 协议发表,转载请遵循该协议。
本文地址:https://fenying.net/post/2016/02/24/install-sendmail-error-in-centos-6.3/
公司有一台服务器是 CentOS 6.3,今天安装 sendmail 提示 GPG 验证失败。
报错如下:
1warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
2Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
3
4The GPG keys listed for the "CentOS-6 - Base" repository are already installed but they are not correct for this package.
5Check that the correct key URLs are configured for this repository.
解决方案:
1cd /etc/pki/rpm-gpg
2
3wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
4
5rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
问题遂解。
comments powered by Disqus