5

我想从所有当前安装的模块中创建一个 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 的输出

4

2 回答 2

1

我遇到了与添加时相同的错误:

组织区域 1

虽然尝试从镜像 CPAN 安装失败,因为找不到 01mailrc.txt.gz 文件。这可以通过将文件从http://www.perl.org/CPAN/authors/01mailrc.txt.gz复制到新镜像的作者目录中来克服

于 2011-10-26T11:01:35.477 回答
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”被创建。

于 2011-12-13T15:35:28.950 回答