Sep 042006
かねてよりXREAへのFTP転送はlftpを使っておこなっていたのですが、Debian sargeのlftpパッケージはデータ転送路のSSLをサポートしていません。
$ lftp example.net ftp:ssl-force: no such variable. Use `set -a' to look at all variables. ftp:ssl-protect-data: no such variable. Use `set -a' to look at all variables. cd ok, cwd=/
testingから拝借しようと思ったらlibc6やgccもtestingにアップする必要があり、lftp目的だけではちょっと利用を躊躇してしまいます。
そこでDebian Backportsを利用してみることにします(最近雑誌で知りました)。
Debian Backportsはtesting等のリポジトリのパッケージをstableでも利用可能なようにBackportしたものになります。
こちらの説明にしたがって/etc/apt/sources.listと/etc/apt/preferencesを設定します。Pin-Priorityは以下のように設定。
$ cat /etc/apt/preferences Package: * Pin: release a=stable Pin-Priority: 700 Package: * Pin: release a=sarge-backports Pin-Priority: 650 Package: * Pin: release a=testing Pin-Priority: 600
この状態でapt-get update後, apt-get installを実行してみます。
# apt-get -t sarge-backports install lftp Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: libreadline5 The following NEW packages will be installed: lftp libreadline5 0 upgraded, 2 newly installed, 0 to remove and 57 not upgraded. Need to get 750kB of archives. After unpacking 2449kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://backports.mithril-linux.org sarge-backports/main lftp 3.5.0-0bpo1 [594kB] Get:2 http://ring.asahi-net.or.jp stable/main libreadline5 5.0-10 [157kB] Fetched 750kB in 0s (1068kB/s) Selecting previously deselected package libreadline5. (Reading database ... 29483 files and directories currently installed.) Unpacking libreadline5 (from .../libreadline5_5.0-10_mipsel.deb) ... Selecting previously deselected package lftp. Unpacking lftp (from .../lftp_3.5.0-0bpo1_mipsel.deb) ... Setting up libreadline5 (5.0-10) ... Setting up lftp (3.5.0-0bpo1) ... Installing new version of config file /etc/lftp.conf ... #
無事lftpの3.5がインストールされ、データコネクションもssl接続するようになりました 😀
Sorry, the comment form is closed at this time.