免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1792 | 回复: 9
打印 上一主题 下一主题

debian的高手请进来:如何安装pure-ftpd+数据库支持 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-10-13 16:20 |只看该作者 |倒序浏览
我安装了debian3.0,想安装pure-ftpd+数据库支持,通过apt-get方法没有找到pure-ftpd,
我的sources.lilt为:

deb ftp://ftp.debian.org/debian/ stable main
deb-src ftp://ftp.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main

然后我自己下载了pure-ftpd-1.0.16的相关deb文件,却提示

debian:/usr/local/debian# apt-get install pure-ftpd pure-ftpd-common pure-ftpd-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  pure-ftpd-mysql: Depends: libc6.1 (>;= 2.3.1-1) but 2.2.5-11.5 is to be installed
                   Depends: libpam0g (>;= 0.76) but 0.72-35 is to be installed


以后就不知道怎么做了!!!

论坛徽章:
0
2 [报告]
发表于 2003-10-13 17:07 |只看该作者

debian的高手请进来:如何安装pure-ftpd+数据库支持

提示的是短少了包的相关依赖,下载下来就会出现这样的问题,

如果下到本地安装的话,那要将所有相依赖关系的包都下下来后再安装,不过比较麻烦。

论坛徽章:
0
3 [报告]
发表于 2003-10-13 17:23 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
4 [报告]
发表于 2003-10-13 20:47 |只看该作者

debian的高手请进来:如何安装pure-ftpd+数据库支持

[quote]原帖由 "NetDC"]系统提示的很清楚了,把最后提到的两个包升级一下。[/quote 发表:


能不能告诉我怎么升级那两个包啊?我试了几次都不行,请详细点告诉我,感激不尽!

论坛徽章:
0
5 [报告]
发表于 2003-10-14 08:18 |只看该作者

debian的高手请进来:如何安装pure-ftpd+数据库支持

因为我的系统是刚刚安装的,系统已经是最新版,怎么才能够升级到指定的版本呢?如果通过网络安装pure-ftpd,那么在sources.list应该怎么指定啊?

论坛徽章:
0
6 [报告]
发表于 2003-10-14 08:55 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
7 [报告]
发表于 2003-10-14 08:55 |只看该作者

debian的高手请进来:如何安装pure-ftpd+数据库支持

可以到http://mirrors.sunsite.dk/上看看,

不知你安装的是Woody or stable or unstable

里面有1.0.6版本

具体文件在http://mirrors.sunsite.dk/debian/pool/main/p/pure-ftpd/
目录下

论坛徽章:
0
8 [报告]
发表于 2003-10-14 10:20 |只看该作者

debian的高手请进来:如何安装pure-ftpd+数据库支持

原帖由 "NetDC" 发表:
刚装完系统要#apt-get update
然后可以#apt-cache search pure-ftpd如果找得到,恭喜,不用自己下载安装,如果找不到,按你说的,自己下载,
之前确认两个包#apt-cache search libc6.1 libpam0g 看看是不是提示上?.........



非常感谢NetDC、jrlee的回答
我把stable改成了testing 真的找到了pure-ftpd但是安装过程中出错了:

Replacing files in old package libc6.1 ...
Preparing to replace libc6.1 2.2.5-11.5 (using .../libc6.1_2.3.2-7_alpha.deb) ...

Name Service Switch has changed in the C Library: pre-installation question.

Running programs may not be able to do NSS lookups until they are restarted.
Some services can not accept all authentication after extracting glibc
package into your system.  This script automatically restarts some packages
for example ssh or telnetd, but other packages for example xdm
cannot restart because if it restarts automatically, then your X11 session
is disconnected.  So you have to logout and stop xdm; you have to
restart all such services after upgrading libc6 with your hands.
Known packages that are needed to stop before installing glibc 2.3:
        xdm kdm gdm postgresql xscreensaver

This script does not detect services which need to stop.
If you want to stop upgrade for the present, please answer the below
question as No.

Do you want to upgrade glibc? [Y/n] n

Stopped glibc upgrade.  Please retry upgrade after you check
or stop services with your hands.
dpkg: error processing /var/cache/apt/archives/libc6.1_2.3.2-7_alpha.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6.1_2.3.2-7_alpha.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

再运行的时候:
debian:~# apt-get install pure-ftpd pure-ftpd-common pure-ftpd-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
  libdb1-compat: Depends: libc6.1 (>;= 2.2.5-13) but 2.2.5-11.5 is to be installed
  pure-ftpd: Depends: libc6.1 (>;= 2.3.2-1) but 2.2.5-11.5 is to be installed
             Depends: libpam0g (>;= 0.76) but 0.72-35 is to be installed
             Conflicts: ftp-server
  pure-ftpd-mysql: Depends: libc6.1 (>;= 2.3.2-1) but 2.2.5-11.5 is to be installed
                   Depends: libpam0g (>;= 0.76) but 0.72-35 is to be installed
                   Conflicts: ftp-server
                   Conflicts: pure-ftpd
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

论坛徽章:
0
9 [报告]
发表于 2003-10-14 10:31 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
10 [报告]
发表于 2003-10-14 10:51 |只看该作者

debian的高手请进来:如何安装pure-ftpd+数据库支持

原帖由 "NetDC" 发表:


这个为什么答n呢??这里要升级的啊!!!你要注意看系统的提示,不知道就按默认的直接回车好了。


我是不小心按错了,后来就不行了啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP