报错Key id:NOTKEY"/>
rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY 安装依赖报错Key id:NOTKEY
遇到的错误如下:
./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl=<path> option../configure: error: the HTTP image filter module requires the GD library.
You can either do not enable the module or install the libraries.
软件开发商在释出 RPM 文件时,会在其中添加数字签名,并释出用于验证数字签名的公钥。使用 rpm 安装软件时,rpm 会首先根据系统中已有的公钥去验证 RPM 文件的数字签名。gpg keys 就是公钥。
所以在安装的时候会比对已有的公钥,发现不正确,报错了,解决方法如下:
命令安装所需要的依赖的时候后加上--force --nodeps
nodeps的意思是忽视依赖关系
可用于rpm报错
yum安装命令有关rpm的报错也可以使用,我是在Linux服务器上安装多个nginx时用yum下载所需依赖始终报错 NOTKEY,以为是yum的问题,结果是有rpm的报错隐藏其中,所以我在用
更多推荐
rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY 安装依赖报错Key id:NOTKEY
发布评论