seeing 发表于 2014-8-30 16:36:48

(已解决)安裝 vsftpd

本帖最后由 cubieplayer 于 2014-9-19 17:58 编辑

請教大家,我的板子了 cubieboard v2,裝了 Cubian-base-r5-a20.img,在安裝 vsftp 時會顯示
The following packages have unmet dependencies:
vsftpd : Depends: libc6 (>= 2.15) but 2.13-38+deb7u4 is to be installed
E: Unable to correct problems, you have held broken packages.

請問要怎樣才能將 libc6 更新至 2.15 以上的版本?

大約半年前我也有裝了一塊一樣的板子,但卻沒有這個問題…

facat 发表于 2014-9-1 15:50:45

试试执行
sudo apt-get update & sudo apt-get upgrade

seeing 发表于 2014-9-1 22:35:55

請問這樣是從 stable 更新成 testing 嗎?

facat 发表于 2014-9-2 00:00:20

seeing 发表于 2014-9-1 22:35 static/image/common/back.gif
請問這樣是從 stable 更新成 testing 嗎?

不是,是都更新到stable。因为我今天更新发现libc6也更新了,所以你可以试试。

seeing 发表于 2014-9-2 14:31:04

我做了 sudo apt-get update & sudo apt-get upgrade 後,發現 libc6 沒有更新,要如何更新到 2.15 呢?
cubie@Cubian:/var/run/mysqld$ apt-cache show libc6
Package: libc6
Source: eglibc
Version: 2.13-38+deb7u4
Installed-Size: 8106
...安裝 vsftp 仍然會出現
The following packages have unmet dependencies:
vsftpd : Depends: init-system-helpers (>= 1.18~) but it is not installable
          Depends: libc6 (>= 2.15) but 2.13-38+deb7u4 is to be installed
          Recommends: ssl-cert but it is not going to be installed

facat 发表于 2014-9-2 20:41:26

seeing 发表于 2014-9-2 14:31 static/image/common/back.gif
我做了 sudo apt-get update & sudo apt-get upgrade 後,發現 libc6 沒有更新,要如何更新到 2.15 呢?安 ...

实在不行可以考虑自己编译一个,我以前编译过,还挺简单的。

seeing 发表于 2014-9-3 11:33:16

好吧,那我再找其它方法試試,謝謝您

cubieplayer 发表于 2014-9-4 00:27:33

seeing 发表于 2014-9-2 14:31 static/image/common/back.gif
我做了 sudo apt-get update & sudo apt-get upgrade 後,發現 libc6 沒有更新,要如何更新到 2.15 呢?安 ...

debian稳定版比较保守,libc轻易不更新的

seeing 发表于 2014-9-4 08:35:30

cubieplayer 发表于 2014-9-4 00:27 static/image/common/back.gif
debian稳定版比较保守,libc轻易不更新的

嗯,因為是要當 server 用的,希望越穩定越好,所以應該會繼續用 stable 的,不會更新到 testing。暫時先捨棄 vsftp,改用 pure-ftpd,不過 pure-ftpd 的登入時間很久,還是 vsftp 比較好用

cubieplayer 发表于 2014-9-19 17:58:00

seeing 发表于 2014-9-4 08:35 static/image/common/back.gif
嗯,因為是要當 server 用的,希望越穩定越好,所以應該會繼續用 stable 的,不會更新到 testing。暫時先 ...
vsftpd不能安装是因为ajenti的源提供了一个新的vsftp,但是缺少相应的库,解决办法 1是去掉ajenti的源,2是直接指定版本安装sudo apt-get install vsftpd=2.3.5-3参见:https://github.com/cubieplayer/Cubian/issues/354
页: [1] 2
查看完整版本: (已解决)安裝 vsftpd