Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux Yum无法解析$PATH中现有文件的依赖关系_Linux - Fatal编程技术网

Linux Yum无法解析$PATH中现有文件的依赖关系

Linux Yum无法解析$PATH中现有文件的依赖关系,linux,Linux,我正在尝试安装rpm,但由于未解决的依赖性,它失败了。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

我正在尝试安装rpm,但由于未解决的依赖性,它失败了。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
#yum安装libdb-5.3.21-3.fc18.x86_64.rpm加载的插件:rhnplugin,security
此系统未向ULN注册。
ULN支持将被禁用。
设置安装过程
检查libdb-5.3.21-3.fc18.x86_64.rpm:libdb-5.3.21-3.fc18.x86_64
标记要安装的libdb-5.3.21-3.fc18.x86_64.rpm
解决依赖关系
-->运行事务检查
--->要更新的程序包libdb.x86_64 0:5.3.21-3.fc18集
-->处理依赖项:libdb包的libc.so.6(GLIBC_2.14)(64位)
-->处理依赖项:libdb包的libc.so.6(GLIBC_2.15)(64位)
-->处理冲突:libdb冲突文件系统<3
-->已完成依赖项解析
/libdb-5.3.21-3.fc18.x86_64中的libdb-5.3.21-3.fc18.x86_64存在无法解决的问题
-->libdb与文件系统冲突
/libdb-5.3.21-3.fc18.x86_64中的libdb-5.3.21-3.fc18.x86_64存在无法解决的问题
-->缺少依赖项:libdb-5.3.21-3.fc18.x86_64(/libdb-5.3.21-3.fc18.x86_64)包需要libc.so.6(GLIBC_2.14)(64位)
/libdb-5.3.21-3.fc18.x86_64中的libdb-5.3.21-3.fc18.x86_64存在无法解决的问题
-->缺少依赖项:libdb-5.3.21-3.fc18.x86_64(/libdb-5.3.21-3.fc18.x86_64)包需要libc.so.6(GLIBC_2.15)(64位)
错误:libdb与文件系统冲突
错误:缺少依赖项:libdb包需要libc.so.6(GLIBC_2.14)(64位)-
5.3.21-3.fc18.x86_64(/libdb-5.3.21-3.fc18.x86_64)
错误:缺少依赖项:libdb-5.3.21-3.fc18.x86_64(/libdb-5.3.21-3.fc18.x86_64)包需要libc.so.6(GLIBC_2.15)(64位)
您可以尝试使用--skip break来解决这个问题
您可以尝试运行:包清理--问题
包清理--重复
rpm-Va--nofiles--nodigest
程序包清理可在yum-utils包中找到。
[root@db1php]#找到libc.so.6
/lib/libc.so.6
/lib/i686/nosegng/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/bin:/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/lib64/:/usr/lib:/u01/oracle/112/lib:/usr/lib/:/usr/local/apr/lib:/usr/lib/:/usr/lib:/usr/lib64:/usr/local/apr/lib:/usr/src:/usr/lib

RPM,yum使用它,它不查看文件系统。它查看rpmdb。不包含该依赖项的同一个rpmdb。

RPM(yum使用)不查看文件系统。它查看rpmdb。不包含该依赖项的同一rpmdb。

您安装此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

您安装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

安装提供它的软件包。我不知道哪个软件包提供它。您如何找到提供它的软件包?您可以询问yum。但是你找不到它;UL不提供。你不能提供一个直接的答案吗?好的,这是你的直接答案:不要在EL上安装FEDORA PACAKGES。安装提供它的软件包。我不知道哪个软件包提供它。您如何找到提供它的软件包?您可以询问yum。但是你找不到它;UL没有提供。你不能提供一个直截了当的答案吗?好吧,这是你的直截了当的答案:不要在EL上安装软呢帽。