15

perl モジュールをインストールしようとしていますが、このメッセージが表示されるたびに

  New CPAN.pm version (v2.00) available.
  [Currently running version is v1.960001]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.

私はやろうとした

install CPAN
reload cpan

pi@raspbmc:~$ sudo perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.960001)
Enter 'h' for help.

cpan[1]> install CPAN

しかし、結果は

Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Mon, 28 Oct 2013 23:41:06 GMT
  HTTP::Date not available
  ..............
  New CPAN.pm version (v2.00) available.
  [Currently running version is v1.960001]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.


...............pi@raspbmc:~$ 

バージョンは 1.960001 のままです。

4

2 に答える 2

25

以下の手順

  1. kuz1@banana:~$ sudo perl -MCPAN -e shell
  2. cpan[1]> install CPAN
  3. cpan[2]> reload cpan

Ubuntu 14.04を搭載したBANANA Piシングルボードコンピューターで動作します。

于 2015-02-25T07:48:41.670 に答える