gpt4 book ai didi

linux - Yum 无法解决 $PATH 中现有文件的依赖关系

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:02:22 26 4
gpt4 key购买 nike

我正在尝试安装 rpm,但由于 Unresolved 依赖关系而失败。文件 libc.so.6 是 $PATH 的路径,所以不知道它在提示什么。

# yum install libdb-5.3.21-3.fc18.x86_64.rpm                      Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Examining libdb-5.3.21-3.fc18.x86_64.rpm: libdb-5.3.21-3.fc18.x86_64
Marking libdb-5.3.21-3.fc18.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package libdb.x86_64 0:5.3.21-3.fc18 set to be updated
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: libdb

--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: libdb
--> Processing Conflict: libdb conflicts filesystem < 3
--> Finished Dependency Resolution
libdb-5.3.21-3.fc18.x86_64 from /libdb-5.3.21-3.fc18.x86_64 has depsolving problems
--> libdb conflicts with filesystem
libdb-5.3.21-3.fc18.x86_64 from /libdb-5.3.21-3.fc18.x86_64 has depsolving problems
--> Missing Dependency: libc.so.6(GLIBC_2.14)(64bit) is needed by package libdb-5.3.21-3.fc18.x86_64 (/libdb-5.3.21-3.fc18.x86_64)
libdb-5.3.21-3.fc18.x86_64 from /libdb-5.3.21-3.fc18.x86_64 has depsolving problems
--> Missing Dependency: libc.so.6(GLIBC_2.15)(64bit) is needed by package libdb-5.3.21-3.fc18.x86_64 (/libdb-5.3.21-3.fc18.x86_64)
Error: libdb conflicts with filesystem
Error: Missing Dependency: libc.so.6(GLIBC_2.14)(64bit) is needed by package libdb-

5.3.21-3.fc18.x86_64 (/libdb-5.3.21-3.fc18.x86_64)
Error: Missing Dependency: libc.so.6(GLIBC_2.15)(64bit) is needed by package libdb-5.3.21-3.fc18.x86_64 (/libdb-5.3.21-3.fc18.x86_64)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.


[root@db1 php]# locate libc.so.6
/lib/libc.so.6
/lib/i686/nosegneg/libc.so.6
/lib64/libc.so.6
/u01/oracle/112/lib/stubs/libc.so.6

echo $PATH
/lib64:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin: /usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/lib64/:/usr/lib:/u01/oracle/112/lib:/usr/lib/:/usr/lib64/:/usr/local/apr/lib:/usr/lib/:/usr/lib:/usr/lib64:/usr/local/apr/lib:/usr/local/src:/usr/lib

最佳答案

您正在安装此 Fedora RPM 的是 CentOS 系统吗?在大多数情况下,Fedora RPM 是针对比 CentOS 更新的中间件和库版本构建的。

在我的 CentOS 6 机器上:

$ rpm -qp --conflicts /tmp/libdb-5.3.21-3.fc18.x86_64.rpm
filesystem < 3

$ rpm -qa | grep filesystem
filesystem-2.4.30-3.el6.x86_64

我找到了 spec 文件,在低于 3.0 的版本上,filesystem 包存在明显的冲突。

此外,该 RPM 对 GLIBC 的要求高于您可能运行的要求。

$ rpm -qa | grep glibc
glibc-2.12-1.80.el6_3.6.x86_64

关于linux - Yum 无法解决 $PATH 中现有文件的依赖关系,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18604919/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com