$rpm --install epel-release-6-5.noarch.rpm warning: epel-release-6-5.noarch.rpm: Header V3 RSA/SHA256 signature: NOKEY,key ID 0608b895 error: Failed dependencies: rpmlib(FileDigests) <= 4.6.0-1 is needed by epel-release-6-5.noarch rpmlib(PayloadIsXz) <= 5.2-1 is needed by epel-release-6-5.noarch
行rpmlib(FileDigests)< = 4.6.0-1是什么意思? rpmlib已过期或FileDigests过时了吗?什么是括号后面的语法? 香港专业教育学院尝试使用yum,以便它可以自动解决依赖关系,但它无法:
$sudo yum --nogpgcheck install epel-release-6-5.noarch.rpm ... Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: rpmlib(FileDigests) is needed by epel-release-6-5.noarch rpmlib(PayloadIsXz) is needed by epel-release-6-5.noarch Complete! (1,[u'Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%205&component=yum'])
在这个页面https://bugzilla.redhat.com/show_bug.cgi?id=665073上,他们说我的rpm已经过时但是后来说我应该请求一个与我的rpm版本(4.4.2.3)一起工作的rpm文件,但我不想这样做.如何使我的系统与此rpm文件兼容?
如果您告诉我如何修复公钥错误,可以获得奖励积分.
Whats with the Syntax of something followed by parentheses?
从http://jfearn.fedorapeople.org/en-US/RPM/0.1/html/RPM_Guide/ch-advanced-packaging.html开始:
Scripting languages such as Perl and
Tcl allow for add-on modules. Your
package may require some of these
add-on modules. RPM uses a special
Syntax with parenthesis to indicate
script module dependencies. For
example: Requires: perl(Carp) >= 3.2
This indicates a requirement for the
Carp add-on module for Perl,greater
than or equal to version 3.2.
在这种情况下,它指的是rpm库的特定功能.
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by epel-release-6-5.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by epel-release-6-5.noarch
这表明您正在尝试在未设计它的系统上安装epel-release rpm.事实上,在你的问题中,你说你在CentOS 5上安装它,而你试图安装的软件包是为CentOS 6(或RHEL 6)设计的.对于CentOS 5,你想要epel-release-5-4.noarch.rpm.你可能想要在继续之前阅读EPEL documentation,这可能会回答这个问题以及你可能有的其他问题.
Ive tried to use yum so that it can resolve dependencies automatically but it is unable:
是的,因为这些功能在CentOS 5上不可用.从yum的角度来看,你已经问过魔术独角兽了.它找不到任何东西.
Bonus points if you tell me how I can fix the public key error.
安装EPEL签名密钥.如果你阅读EPEL文档 – 你会发现它的惊人之处 – 你会得到一个链接到https://fedoraproject.org/keys,其中包含有关安装Fedora项目使用的公钥的说明.