Linux red hat 9 RPM 安装问题
如下的俩个包文件,我已下载到本地了,安装时候出现下面问题,求高手指点一下!应该怎样安装,是缺了那些东西?到哪里可以找到这些资源?[root@localhostdownlo...
如下的俩个包文件,我已下载到本地了,安装时候出现下面问题, 求高手指点一下!应该怎样安装,是缺了那些东西?到哪里可以找到这些资源?
[root@localhost download]# rpm -Uvh compat-db-4.2.52-5.1.i386.rpm
warning: compat-db-4.2.52-5.1.i386.rpm: V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
libc.so.6(GLIBC_2.3.4) is needed by compat-db-4.2.52-5.1
libc.so.6(GLIBC_2.4) is needed by compat-db-4.2.52-5.1
libstdc++.so.6 is needed by compat-db-4.2.52-5.1
libstdc++.so.6(CXXABI_1.3) is needed by compat-db-4.2.52-5.1
libstdc++.so.6(GLIBCXX_3.4) is needed by compat-db-4.2.52-5.1
rtld(GNU_HASH) is needed by compat-db-4.2.52-5.1
libdb-4.0.so is needed by (installed) python-2.2.2-26
libdb-4.0.so is needed by (installed) pam-0.75-48
libdb-4.0.so is needed by (installed) cyrus-sasl-2.1.10-4
libdb-4.0.so is needed by (installed) perl-5.8.0-88
libdb-4.0.so is needed by (installed) sendmail-8.12.8-4
libdb-4.0.so is needed by (installed) httpd-2.0.40-21
libdb-4.0.so is needed by (installed) php-4.2.2-17
libdb-4.0.so is needed by (installed) webalizer-2.01_10-11
libdb-4.0.so is needed by (installed) openoffice-libs-1.0.2-4
libdb-4.0.so is needed by (installed) inn-2.3.4-2
libdb-4.0.so is needed by (installed) libtabe-0.2.6-3
libdb-4.0.so is needed by (installed) perl-DB_File-1.804-88
libdb_cxx-4.0.so is needed by (installed) openoffice-libs-1.0.2-4
db4 is needed by (installed) libtabe-0.2.6-3
[root@localhost download]# rpm -Uvh compat-db-4.0.14-5.i386.rpm
warning: compat-db-4.0.14-5.i386.rpm: V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
db4 is needed by (installed) libtabe-0.2.6-3 展开
[root@localhost download]# rpm -Uvh compat-db-4.2.52-5.1.i386.rpm
warning: compat-db-4.2.52-5.1.i386.rpm: V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
libc.so.6(GLIBC_2.3.4) is needed by compat-db-4.2.52-5.1
libc.so.6(GLIBC_2.4) is needed by compat-db-4.2.52-5.1
libstdc++.so.6 is needed by compat-db-4.2.52-5.1
libstdc++.so.6(CXXABI_1.3) is needed by compat-db-4.2.52-5.1
libstdc++.so.6(GLIBCXX_3.4) is needed by compat-db-4.2.52-5.1
rtld(GNU_HASH) is needed by compat-db-4.2.52-5.1
libdb-4.0.so is needed by (installed) python-2.2.2-26
libdb-4.0.so is needed by (installed) pam-0.75-48
libdb-4.0.so is needed by (installed) cyrus-sasl-2.1.10-4
libdb-4.0.so is needed by (installed) perl-5.8.0-88
libdb-4.0.so is needed by (installed) sendmail-8.12.8-4
libdb-4.0.so is needed by (installed) httpd-2.0.40-21
libdb-4.0.so is needed by (installed) php-4.2.2-17
libdb-4.0.so is needed by (installed) webalizer-2.01_10-11
libdb-4.0.so is needed by (installed) openoffice-libs-1.0.2-4
libdb-4.0.so is needed by (installed) inn-2.3.4-2
libdb-4.0.so is needed by (installed) libtabe-0.2.6-3
libdb-4.0.so is needed by (installed) perl-DB_File-1.804-88
libdb_cxx-4.0.so is needed by (installed) openoffice-libs-1.0.2-4
db4 is needed by (installed) libtabe-0.2.6-3
[root@localhost download]# rpm -Uvh compat-db-4.0.14-5.i386.rpm
warning: compat-db-4.0.14-5.i386.rpm: V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
db4 is needed by (installed) libtabe-0.2.6-3 展开
4个回答
展开全部
使用rpm进行安装时,经常会出现依赖性的问题,导致rpm安装不起来。
你可以在rpm命令后面加上--nodeps --force来取消依赖性并强制安装
比如:rpm -ivh compat-db-4.2.52-5.1.i386.rpm --nodeps --force
另外,你可以尝试使用yum install 来安装rpm包,它会自动处理包的依赖性问题
你可以在rpm命令后面加上--nodeps --force来取消依赖性并强制安装
比如:rpm -ivh compat-db-4.2.52-5.1.i386.rpm --nodeps --force
另外,你可以尝试使用yum install 来安装rpm包,它会自动处理包的依赖性问题
追问
问下,强制执行了,但是执行 rpm -q 命令,还提示没安装这个包?[root@localhost download]# rpm -q compat-db-4.2.52-5.1.i386.rpm package compat-db-4.2.52-5.1.i386.rpm is not installed
展开全部
rpm 包的依赖性,这不都提示你了 ,* rpm needed by *** 先把needed 装上吧 ^_^
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2013-06-28
展开全部
是依赖性,即此rpm所需的rpm中有的没装。最好设置yum, 然后再装(yum install compat-db* -y)。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
能上到网么?如果不能上到网在linux下安装软件可是很恐怖的。
你这两个文件一个新一个旧,同一个东西......
如果你能上网,输入 yum install compat-db 那就什么都解决了,要是你如我所想的用的是某个系统的话......
你这两个文件一个新一个旧,同一个东西......
如果你能上网,输入 yum install compat-db 那就什么都解决了,要是你如我所想的用的是某个系统的话......
追问
能的呀。。虚拟机共享主机网络的
追答
不知道这条命令是否通过了?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询