安装ubuntu openLDAP,碰上的依赖问题

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
cosab
帖子: 3
注册时间: 2009-02-25 11:10

安装ubuntu openLDAP,碰上的依赖问题

#1

帖子 cosab » 2009-03-05 20:36

最近在ubuntu7.04 server上安装openLDAP,我是这样安装的:

1. 输入命令及结果,命令: sudo apt-get install slapd ldap-utils
结果:Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
findutils: PreDepends: libc6 (>= 2.7) but 2.5-0ubuntu14 is to be installed
ldap-utils: Depends: libgcrypt11 (>= 1.4.0) but 1.2.3-2build1 is to be installed
Depends: libgnutls26 (>= 2.4.0-0) but it is not going to be installed
Depends: libldap-2.4-2 (= 2.4.11-0ubuntu6.1) but it is not going to be installed
slapd: Depends: libgcrypt11 (>= 1.4.0) but 1.2.3-2build1 is to be installed
Depends: libgnutls26 (>= 2.4.0-0) but it is not going to be installed
Depends: libldap-2.4-2 (= 2.4.11-0ubuntu6.1) but it is not going to be installed
Depends: libltdl7 (>= 2.2.4) but it is not going to be installed
Depends: libperl5.10 (>= 5.10.0) but it is not going to be installed
Depends: libslp1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

2. 按上面提示,然后又输入命令及结果,命令: sudo apt-get -f install

结果:Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
texlive-common texlive-doc-base
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libc6 libc6-dev tzdata
Suggested packages:
glibc-doc manpages-dev
The following packages will be upgraded:
libc6 libc6-dev tzdata
3 upgraded, 0 newly installed, 0 to remove and 451 not upgraded.
Need to get 0B/8118kB of archives.
After unpacking 1667kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... dpkg: error processing /var/cache/apt/archives/tzdata_2009b-0ubuntu0.8.10_all.deb (--unpack):
files list file for package `libaprutil1-dev' contains empty filename
Errors were encountered while processing:
/var/cache/apt/archives/tzdata_2009b-0ubuntu0.8.10_all.deb
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

我一直在找解决依赖的办法,网上的方法对我都不管用啊,希望能得到大哥大姐的帮助,十分感谢!
我把一些命令的执行结果作附件也上传上来,以帮助分析。谢谢!
附件
.doc
安装openldap时系统的提示
(32 KiB) 已下载 31 次
回复