第一次从epel安装软件包时,系统会提示我是否要导入GPG密钥。
请注意,在安装redis时,会有2个“这可以吗”提示?
[root@us-devops-build02 yum.repos.d]# yum install redis
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
.. truncated for readability
Total download size: 213 k
Installed size: 668 k
Is this ok [y/N]: y
Downloading Packages:
redis-2.4.10-1.el6.x86_64.rpm | 213 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
Userid: "EPEL (6) <epel@fedoraproject.org>"
From : http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
Is this ok [y/N]: y
这会导致人偶在新配置的计算机上失败,除非我先进入该计算机并手动接受此密钥的安装。
- 为什么epel在首次安装软件包时需要下载密钥?
- 如何自动在映像上安装此密钥,以确保木偶不会失败?