I want to make a CPAN repository from all curently installed modules. So I used autobundle to get a list of installed modules. I then used BackPAN::Index to download all the distributions into a directory and then ran dpan in it. It chew them for quite some time and then failed
    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
and list of every distribution follows.
OTOH I have a success logged for every file in the indexer_reports.
Output from perl -V on this Pastie link
I suffered the same error it was resolved when I added:
organize_dists 1
Though when trying attempting to install from the mirror CPAN fails as no 01mailrc.txt.gz file can be found. This can be overcome by copying the file from say http://www.perl.org/CPAN/authors/01mailrc.txt.gz into the new mirror's authors directory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With