加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

perl – DPAN创建本地CPAN

发布时间:2020-12-15 23:33:41 所属栏目:大数据 来源:网络整理
导读:我想从所有安装的模块中创建一个CPAN存储库.所以我使用autobundle来获取已安装模块的列表. 然后我使用BackPAN :: Index将所有发行版下载到一个目录中,然后在其中运行dpan. 它咀嚼了很长时间然后失败了 MyCPAN::App::DPAN::Indexer 1.28 Processing 2 distrib
我想从所有安装的模块中创建一个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的输出this Pastie link

解决方法

当我添加时,我遇到了同样的错误:

organiz_dists 1

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读