在docker内安装perl的模块,进去cpan时显示如下错误:
Loading internal null logger. Install Log::Log4perl for logging messages CPAN.pm panic: Lockfile '/root/.cpan/.lock' reports other host ff197d718ef4 and other process 22093. Cannot proceed.
打开/root/.cpan/.lock文件删除ff197d718ef4行,再尝试进去cpan,成功解决问题。
网友评论