Location>code7788 >text

signature hdr data: BAD (signature header data: inappropriate)

Popularity:402 ℃/2025-02-21 17:00:02

This should belong to the bugs in the early versions of rpm 4.12-4.13, not only CentOS8 will do this

  • The solution is also very straightforward, which is to manually update the rpm version, skip the bug-related version, and then yum and rpm will be normal, and the latest software packages can be automatically updated.
  • But the process is very troublesome. First of all, download the version without bugs. The author uses4.14.3-26Version, then userpm -UUpdate, then prompt some dependency issues, then download the dependency and use it againrpm -UUpdate, and then prompt that there is a dependency problem, and then solve it again and update again, repeating again until the update is successful. In order to facilitate subsequent readers to solve this problem, I sorted out the required dependencies and installation process into a script, which can be used directly.
  • tpm2-tss-2.3.2-3.el8.x86_64 Dependency is seen from other people's articles. I installed it in advance when I was dealing with the dependency, so I don't know who will depend on it. In short, I don't know who will depend on it anyway. If you will report an error, take it with you
#/bin/bash
dnf install tpm2-tss-2.3.2-3.el8.x86_64
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/rpm-4.14.3-26.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/rpm-libs-4.14.3-26.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/rpm-plugin-selinux-4.14.3-26.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/rpm-plugin-systemd-inhibit-4.14.3-26.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/rpm-build-libs-4.14.3-26.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/python3-rpm-4.14.3-26.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/ima-evm-utils-1.3.2-12.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/python3-dnf-4.2.7-6.
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/dnf-data-4.2.7-6.
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/python3-hawkey-0.35.1-8.0.1.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/python3-libdnf-0.35.1-8.0.1.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/dnf-4.2.7-6.
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/libdnf-0.35.1-8.0.1.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/libsolv-0.7.7-1.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/librepo-1.10.3-3.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/python3-dnf-plugins-core-4.0.8-3.
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/yum-4.2.7-6.
wget /repo/OracleLinux/OL8/appstream/x86_64/getPackage/rpm-ostree-libs-2019.3-3.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/python3-librepo-1.10.3-3.el8.x86_64.rpm
wget /repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/dnf-plugins-core-4.0.8-3.

rpm -U ./rpm-libs-4.14.3-26.el8.x86_64.rpm ./rpm-4.14.3-26.el8.x86_64.rpm ./rpm-plugin-selinux-4.14.3-26.el8.x86_64.rpm ./rpm-plugin-systemd-inhibit-4.14.3-26.el8.x86_64.rpm  ./rpm-build-libs-4.14.3-26.el8.x86_64.rpm ./python3-rpm-4.14.3-26.el8.x86_64.rpm ./ima-evm-utils-1.3.2-12.el8.x86_64.rpm ./python3-dnf-4.2.7-6. ./dnf-data-4.2.7-6. ./python3-hawkey-0.35.1-8.0.1.el8.x86_64.rpm ./python3-libdnf-0.35.1-8.0.1.el8.x86_64.rpm ./dnf-4.2.7-6. ./libdnf-0.35.1-8.0.1.el8.x86_64.rpm  ./libsolv-0.7.7-1.el8.x86_64.rpm  ./librepo-1.10.3-3.el8.x86_64.rpm  ./python3-dnf-plugins-core-4.0.8-3.  ./yum-4.2.7-6. ./rpm-ostree-libs-2019.3-3.el8.x86_64.rpm ./python3-librepo-1.10.3-3.el8.x86_64.rpm  ./dnf-plugins-core-4.0.8-3.