作者:tttt | 来源:互联网 | 2014-05-28 15:41
下面的安装过程仅作为自己实践的纪念,呵呵。[root@localhostCDROM]#find.-name*sub*./Server/subversion-devel-1.4.2-2.el5.i386.rpm./Server/subversion-1.4.2-2.el5.i386.rpm./Server/subvers
下面的安装过程仅作为自己实践的纪念,呵呵。
[root@localhost CDROM]# find . -name "*sub*"
./Server/subversion-devel-1.4.2-2.el5.i386.rpm
./Server/subversion-1.4.2-2.el5.i386.rpm
./Server/subversion-javahl-1.4.2-2.el5.i386.rpm
./Server/subversion-perl-1.4.2-2.el5.i386.rpm
./Server/subversion-ruby-1.4.2-2.el5.i386.rpm
[root@localhost Server]# rpm -ivh
subversion-1.4.2-2.el5.i386.rpm
warning: subversion-1.4.2-2.el5.i386.rpm: Header V3 DSA signature:
NOKEY, key ID 37017186
error: Failed dependencies:
libaprutil-1.so.0 is
needed by subversion-1.4.2-2.el5.i386
libneon.so.25 is needed
by subversion-1.4.2-2.el5.i386
可见,缺少两个依赖。
[root@localhost Server]# find . -name "*neon*"
./neon-0.25.5-5.1.i386.rpm
./neon-devel-0.25.5-5.1.i386.rpm
[root@localhost Server]# rpm -ivh neon-0.25.5-5.1.i386.rpm
warning: neon-0.25.5-5.1.i386.rpm: Header V3 DSA signature: NOKEY,
key ID 37017186
Preparing...
########################################### [100%]
1:neon
########################################### [100%]
[root@localhost Server]# rpm -ivh
subversion-1.4.2-2.el5.i386.rpm
warning: subversion-1.4.2-2.el5.i386.rpm: Header V3 DSA signature:
NOKEY, key ID 37017186
error: Failed dependencies:
libaprutil-1.so.0 is
needed by subversion-1.4.2-2.el5.i386
只剩下libaprutil啦。
[root@localhost Server]# find . -name "*apr*"
./apr-1.2.7-11.i386.rpm
./apr-devel-1.2.7-11.i386.rpm
./apr-docs-1.2.7-11.i386.rpm
./apr-util-docs-1.2.7-6.i386.rpm
./apr-util-devel-1.2.7-6.i386.rpm
./apr-util-1.2.7-6.i386.rpm
./xorg-x11-drv-dynapro-1.1.0-2.i386.rpm
[root@localhost Server]# rpm -ivh apr-util-1.2.7-6.i386.rpm
warning: apr-util-1.2.7-6.i386.rpm: Header V3 DSA signature: NOKEY,
key ID 37017186
error: Failed dependencies:
libpq.so.4 is needed by
apr-util-1.2.7-6.i386
[root@localhost Server]# find . -name "*pq*"
无法找到于libpq相关的安装包。
在网上查找,发现:
libpq.so.4的包属于:postgresql-libs-32bit-8.1.9-2.1.x86_64.rpm
libaprutil-1.so.0包属于:apr-util-1.2.7-2.i386
于是,安装了这个包:postgresql-libs-8.1.4-1.1.i386.rpm,然后安装
就没有问题咯。
[root@localhost Server]# find . -name "*postgresql*"
./freeradius-postgresql-1.1.3-1.1.el5.i386.rpm
./postgresql-contrib-8.1.4-1.1.i386.rpm
./postgresql-jdbc-8.1.407-1jpp.4.i386.rpm
./postgresql-8.1.4-1.1.i386.rpm
./postgresql-server-8.1.4-1.1.i386.rpm
./postgresql-devel-8.1.4-1.1.i386.rpm
./postgresql-python-8.1.4-1.1.i386.rpm
./postgresql-odbc-08.01.0200-3.1.i386.rpm
./postgresql-test-8.1.4-1.1.i386.rpm
./postgresql-libs-8.1.4-1.1.i386.rpm
./postgresql-pl-8.1.4-1.1.i386.rpm
./postgresql-tcl-8.1.4-1.1.i386.rpm
./postgresql-docs-8.1.4-1.1.i386.rpm
./qt4-postgresql-4.2.1-1.i386.rpm
[root@localhost Server]# rpm -ivh
postgresql-libs-8.1.4-1.1.i386.rpm
warning: postgresql-libs-8.1.4-1.1.i386.rpm: Header V3 DSA
signature: NOKEY, key ID 37017186
Preparing...
########################################### [100%]
1:postgresql-libs
########################################### [100%]
[root@localhost Server]# rpm -ivh apr-util-1.2.7-6.i386.rpm
warning: apr-util-1.2.7-6.i386.rpm: Header V3 DSA signature: NOKEY,
key ID 37017186
Preparing...
########################################### [100%]
1:apr-util
########################################### [100%]
[root@localhost Server]# rpm -ivh
subversion-1.4.2-2.el5.i386.rpm
warning: subversion-1.4.2-2.el5.i386.rpm: Header V3 DSA signature:
NOKEY, key ID 37017186
Preparing...
########################################### [100%]
1:subversion
########################################### [100%]
[root@localhost Server]#