我正在尝试使用 CPAN 安装 perl 模块,但 CPAN 似乎崩溃了。它说我可以安装一个更新(我正在运行 v1.960001),但在尝试运行后,它退出到命令提示符:
cpan[1]> install CPAN
Going to read '/home/ubuntu/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Going to read '/home/ubuntu/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Tue, 04 Jun 2013 14:08:21 GMT
..............
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.
..............................................
ubuntu@ip-10-166-105-207:/home/www/cgi-bin$ sudo cpan
Terminal does not support AddHistory.
There seems to be running another CPAN process (pid 10592). Contacting...
Other job not responding. Shall I overwrite the lockfile '/home/ubuntu/.cpan/.lock'? (Y/n) [y]
当我尝试返回 CPAN 时,它说它已经在运行。
当我尝试更新 CPAN 或安装模块(如 JSON)时会发生这种情况。
有谁知道可能出了什么问题?