我想从所有安装的模块中创建一个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中的每个文件记录了成功。
上的perl -V的输出答案 0 :(得分:1)
我在添加时遇到了同样的错误:
organiz_dists 1
虽然尝试从镜像安装时CPAN失败,因为找不到01mailrc.txt.gz文件。这可以通过将文件从说明http://www.perl.org/CPAN/authors/01mailrc.txt.gz复制到新镜像的作者目录
来克服答案 1 :(得分:1)
我收到了相同的错误消息,但可以修复它:
在我的情况下,我将tgz文件直接放在我的dpan目录的根目录中。将“./dpan/DateTime-0.70.tar.gz”移动到“./dpan/authors/id/D/DR/DROLSKY/DateTime-0.70.tar.gz”确实解决了问题。现在创建“02packages.details.txt.gz”和“03modlist.data.gz”。