Linux 使用 rpm 安装软件出现 warning: iksemel-1.4-6.sdl7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 41a40948: NOKEY 错误解决办法 作者: Chuwen 时间: 2020-12-15 分类: Linux # 出现错误 sh-4.2# rpm -ivh iksemel-1.4-6.sdl7.x86_64.rpm warning: iksemel-1.4-6.sdl7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 41a40948: NOKEY error: Failed dependencies: libgnutls.so.28()(64bit) is needed by iksemel-1.4-6.sdl7.x86_64 libgnutls.so.28(GNUTLS_1_4)(64bit) is needed by iksemel-1.4-6.sdl7.x86_64 # 解决办法 > 即原本为 rpm -ivh *.rpm 现在改成 rpm -ivh *.rpm --force --nodeps就可以了。nodeps的意思是忽视依赖关系。因为各个软件之间会有多多少少的联系。有了这两个设置选项就忽略了这些依赖关系,强制安装或者卸载 在安装命令末尾加上 `--force --nodeps` 参数即可 也就是 ```shell rpm -ivh iksemel-1.4-6.sdl7.x86_64.rpm --force --nodeps ```` 这样就安装成功了 ```shell sh-4.2# rpm -ivh iksemel-1.4-6.sdl7.x86_64.rpm --force --nodeps warning: iksemel-1.4-6.sdl7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 41a40948: NOKEY Preparing... ################################# [100%] Updating / installing... 1:iksemel-1.4-6.sdl7 ################################# [100%] ``` 标签: none