You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Leapp工具将RHEL8升级至RHEL9后,dnf与rpm命令出现SHA1哈希算法不支持警告的问题求助

使用Leapp工具将RHEL8升级至RHEL9后,dnf与rpm命令出现SHA1哈希算法不支持警告的问题求助

大家好,我最近用Leapp工具把几台RHEL8服务器升级到了RHEL9,但是升级完成后,每次运行dnf或者rpm命令都会弹出重复的警告:warning: Signature not supported. Hash algorithm SHA1 not available.

比如执行rpm -q kernel命令时,输出如下:

[root@web ~]# rpm -q kernel
warning: Signature not supported. Hash algorithm SHA1 not available.
warning: Signature not supported. Hash algorithm SHA1 not available.
kernel-5.14.0-362.18.1.el9_3.x86_64
kernel-5.14.0-427.18.1.el9_4.x86_64
kernel-5.14.0-427.20.1.el9_4.x86_64

执行dnf repolist命令时,同样会出现该警告:

[root@web ~]# dnf repolist
warning: Signature not supported. Hash algorithm SHA1 not available.
warning: Signature not supported. Hash algorithm SHA1 not available.
Updating Subscription Management repositories.
repo id                          repo name
rhel-9-for-x86_64-appstream-rpms Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
rhel-9-for-x86_64-baseos-rpms    Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)

我不太清楚这个问题的根源是什么,也不知道该怎么彻底消除这些警告,希望有相关经验的朋友能帮忙解答一下,非常感谢!

备注:内容来源于stack exchange,提问作者Vinícius Ferrão

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 12:14:43