我想从所有当前安装的模块中创建一个 CPAN 存储库。所以我使用 autobundle 来获取已安装模块的列表。然后我使用 BackPAN::Index 将所有发行版下载到一个目录中,然后在其中运行 dpan。它咀嚼了很长一段时间,然后失败了
MyCPAN::App::DPAN::Indexer 1.28
Processing 2 distributions
One * = 1 distribution
# Extracting with ->_untar_at
# Extraction succeeded
+# Extracting with ->_untar_at
# Extraction succeeded
++
/home/ec2-user/dpan_test/modules/02packages.details.txt.gz-8496-trial has a problem and I have to abort:
Deleting file (unless you're debugging)
Some distributions in the repository do not show up in the file
/home/ec2-user/dpan_test/Moose-1.24.tar.gz
/home/ec2-user/dpan_test/Moose-Autobox-0.11.tar.gz at /usr/local/share/perl5/MyCPAN/App/DPAN/Reporter/Minimal.pm line 439
Some distributions in the repository do not show up in the file
每个分布的列表如下。
OTOH 我为 indexer_reports 中的每个文件都记录了成功。
此 Pastie 链接上 perl -V 的输出