質問

I am getting error below when I am trying to install a package on CentOS 5. After some research it seems like my RPM version needs to be upgraded; How can I upgrade RPM version 4.4.2.3 to RPM version 4.8.0?

#sudo rpm -ivh test.1.0.0.noarch.rpm

error: Failed dependencies:
        rpmlib(FileDigests) <= 4.6.0-1 is needed by test.1.0.0.noarch
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by test.1.0.0.noarch


#rpm --version
RPM version 4.4.2.3
役に立ちましたか?

解決 2

By upgrading to a newer distribution. RPM is a core part of Fedora/Red Hat/CentOS and upgrading it is close to impossible in my experience. It should not be attempted.

他のヒント

The problem most likely is that your rpm was built on an CentOS 6 machine and it cannot be install on CentOS 5. You are seeing the exact message as shown by the Red Hat website solutions page titled "RPM Compatibility from Red Hat Enterprise Linux (RHEL) 6 to RHEL 5 and earlier" at web address https://access.redhat.com/site/solutions/41415.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top