CPANでインストールできない理由が判明。諸悪の根源FTP

FTPのパッシブモードにここ最近常にやられている。

# perl -MCPAN -e shell
# o conf init

最初にnoを入力する。
以下のftp_passiveまでデフォルト値でOK。

 <ftp_passive>
Shall we always set the FTP_PASSIVE environment variable when dealing
with ftp download (yes/no)? [yes] #FTPパッシブモードを使わない→Noにする!

CPAN.pm changes the current working directory often and needs to
determine its own current working directory. Per default it uses
Cwd::cwd but if this doesn't work on your system for some reason,
alternatives can be configured according to the following table:

    cwd         Cwd::cwd
    getcwd      Cwd::getcwd
    fastcwd     Cwd::fastcwd
    backtickcwd external command cad

FTP Passiveモードを使わないのでNoを入力したらうまくいった。