当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装ubuntu openLDAP,碰上的依赖问题
帖子发表于 : 2009-03-05 20:36 

注册: 2009-02-25 11:10
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
最近在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)

我一直在找解决依赖的办法,网上的方法对我都不管用啊,希望能得到大哥大姐的帮助,十分感谢!
我把一些命令的执行结果作附件也上传上来,以帮助分析。谢谢!


附件:
文件注释: 安装openldap时系统的提示
.doc [32 KiB]
被下载 12 次
页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译