Sep 042006

かねてよりXREAへのFTP転送はlftpを使っておこなっていたのですが、Debian sargeのlftpパッケージはデータ転送路のSSLをサポートしていません。

$ lftp
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=/


そこでDebian Backportsを利用してみることにします(最近雑誌で知りました)。
Debian Backportsはtesting等のリポジトリのパッケージをstableでも利用可能なようにBackportしたものになります。

$ 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:
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 sarge-backports/main lftp 3.5.0-0bpo1 [594kB]
Get:2 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接続するようになりました 😀

 Posted by at 11:55 pm  Tagged with:

Sorry, the comment form is closed at this time.