rpmlib(FileDigests) dependency error on SuSE

半世苍凉 提交于 2019-12-08 05:30:03

问题


Doing a yum install A-3.6.0 on both SuSE 11.2 (64-bit) and CentOS 5.8 (64-bit) the following installation requirements error popped up:

error: Failed dependencies:
    rpmlib(FileDigests) <= 4.6.0-1 is needed by A-3.6.0-1.noarch
    rpmlib(PayloadIsXz) <= 4.6.0-1 is needed by A-3.6.0-1.noarch
    which is needed by A-3.6.0-1.noarch

Googling the error shows that others have run into this problem on SuSE and CentOS, but I'm unable to find a resolution to the problem. Does anyone know where I'm might find an rpmlib RPM that I could download and rpm -i? Or is there a SuSE and/or CentOS solution? Or the URL to where the rpmlib source lives and I will a SuSE and CentOS package.


回答1:


Your package was built with a newer version of rpmlib than you have on your CentOS and SuSE systems, one that has xz support (available in CentOS 6 and presumably some newer version of SuSE).

Do not try to get your system "fixed" for this you will almost certainly just break something.

Find a package appropriate to your distributions instead.




回答2:


The answer I posted here may help you as well. You just have to provide some parameters, either on the command line or by modifying either the global or local macros file on your system :

%_binary_payload    w9.gzdio
%_binary_filedigest_algorithm   1

Apparently, as I detail in my answer on the other question, the stock macros file provided by redhat claims that these parameters are the defaults, but if that were the case, you wouldn't have to comment them out to get them.




回答3:


This one is quite old, but I just ran into the same problem on SLES11.4 (or at least a similar one):

user@machine:~> sudo /bin/rpm -f -U --oldpackage /tmp/local_python27.rpm
error: Failed dependencies:
        rpmlib(FileDigests) <= 4.6.0-1 is needed by local_python27-2.7.14-3.x86_64

for me installing with zypper instead of rpm worked:

user@machine:~> sudo zypper install /tmp/local_python27.rpm

Not sure if zypper also can deal with the missing xz support though.



来源:https://stackoverflow.com/questions/25775285/rpmlibfiledigests-dependency-error-on-suse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!