运行sudo yum update -y,返回错误“您需要更新 rpm 来处理:rpmlib(PayloadIsZstd)<= 5.4.18-1 ”,即使rpm -Va --nofiles --nodigest已经运行而没有输出。

我也试过了sudo yum clean all

我还没有成功更新epel。

如果有帮助的话,该主机运行 OpenOTP。

然而,我可以使用类似命令来更新单个包yum update python-perf -y,但我更愿意避免每个月更新 30 个包。

任何帮助都将不胜感激!

=========================================================================================================================================================================================================
Upgrade  34 Packages
Remove               ( 1 Dependent package)

Total size: 722 M
Downloading packages:
Running transaction check
ERROR You need to update rpm to handle:
rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by selfreg-1.4.3-5.noarch
RPM needs to be updated
 You could try running: rpm -Va --nofiles --nodigest
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2024-10-30.02-59.6qJwKy.yumtx```

1

  • 首先尝试更新(手动)rpmlib,然后尝试全部更新。


    – 

0