- 论坛徽章:
- 0
|
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). |
|