Professional Web Applications Themes

cpan problems with 02packages.details.txt.gz and 03modlist.data.gz - PERL Miscellaneous

Hello, world! I am having trouble with cpan on Cygwin: [email]dpchristw2k30g:~/.cpan[/email]/sources$ cpan cpan shell -- CPAN exploration and modules installation (v1.70_54) ReadLine support enabled cpan> install Class::Base Going to read /home/dpchrist/.cpan/sources/authors/01mailrc.txt.gz Going to read /home/dpchrist/.cpan/sources/modules/02packages.details.txt.gz Warning: Your /home/dpchrist/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Warning: Your /home/dpchrist/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem ...

  1. #1

    Default cpan problems with 02packages.details.txt.gz and 03modlist.data.gz

    Hello, world!

    I am having trouble with cpan on Cygwin:

    [email]dpchristw2k30g:~/.cpan[/email]/sources$ cpan

    cpan shell -- CPAN exploration and modules installation (v1.70_54)
    ReadLine support enabled

    cpan> install Class::Base
    Going to read /home/dpchrist/.cpan/sources/authors/01mailrc.txt.gz
    Going to read
    /home/dpchrist/.cpan/sources/modules/02packages.details.txt.gz
    Warning: Your
    /home/dpchrist/.cpan/sources/modules/02packages.details.txt.gz does not
    contain a Line-Count header.
    Please check the validity of the index file by comparing it to more than
    one CPAN mirror. I'll continue but problems seem likely to happen.
    Warning: Your
    /home/dpchrist/.cpan/sources/modules/02packages.details.txt.gz does not
    contain a Last-Updated header.
    Please check the validity of the index file by comparing it to more than
    one CPAN mirror. I'll continue but problems seem likely to happen.
    Going to read /home/dpchrist/.cpan/sources/modules/03modlist.data.gz
    Can't locate object method "data" via package "CPAN::Modulelist"
    (perhaps you forgot to load "CPAN::Modulelist"?) at (eval 24) line 1.

    CPAN::Index::rd_modlist('CPAN::Index','/home/dpchrist/.cpan/sources/modu
    les/03modlist.data.gz') called at /usr/lib/perl5/5.8.0/CPAN.pm line 3113
    CPAN::Index::reload('CPAN::Index') called at
    /usr/lib/perl5/5.8.0/CPAN.pm line 674

    CPAN::exists('CPAN=HASH(0x1049bbac)','CPAN::Module ','Class::Base')
    called at /usr/lib/perl5/5.8.0/CPAN.pm line 1841
    CPAN::Shell::expandany('CPAN::Shell','Class::Base' ) called at
    /usr/lib/perl5/5.8.0/CPAN.pm line 2077
    CPAN::Shell::rematein('CPAN::Shell','install','Cla ss::Base')
    called at /usr/lib/perl5/5.8.0/CPAN.pm line 2164
    CPAN::Shell::install('CPAN::Shell','Class::Base') called at
    /usr/lib/perl5/5.8.0/CPAN.pm line 200
    eval {...} called at /usr/lib/perl5/5.8.0/CPAN.pm line 200
    CPAN::shell() called at /usr/bin/cpan line 193

    cpan>


    As best I can tell, cpan thinks the following file is corrupt:

    ~/.cpan/sources/modules/02packages.details.txt.gz

    and then has trouble processing the following file:

    ~/.cpan/sources/modules/03modlist.data.gz'


    I don't know how to "check the validity of the index file by comparing
    it to more than one CPAN mirror".


    I tried ing the two files away, restarting cpan, and installing a
    module, but cpan simply downloaded the files again and proceeded with
    the same errors.


    I STFW and came up with a message by a lady who had a same/similar
    problem. She said that it was caused by a rogue "~" file or folder in
    her directory tree. Removing it fixed the problem. I searched my
    system, found "C:\~", and removed it, but no luck.


    Any suggestions?


    TIA,

    David


    David Christensen Guest

  2. #2

    Default Re: cpan problems with 02packages.details.txt.gz and 03modlist.data.gz

    On Thu, 24 Jul 2003 23:11:12 GMT,
    David Christensen <dpchristholgerdanske.com> wrote:
    >Hello, world!
    >
    >I am having trouble with cpan on Cygwin:
    >
    >dpchristw2k30g:~/.cpan/sources$ cpan
    >cpan shell -- CPAN exploration and modules installation (v1.70_54)
    >ReadLine support enabled
    >cpan> install Class::Base
    >Going to read /home/dpchrist/.cpan/sources/authors/01mailrc.txt.gz
    >Going to read
    >/home/dpchrist/.cpan/sources/modules/02packages.details.txt.gz
    >Warning: Your
    >/home/dpchrist/.cpan/sources/modules/02packages.details.txt.gz does not
    >contain a Line-Count header.
    >Please check the validity of the index file by comparing it to more than
    >one CPAN mirror. I'll continue but problems seem likely to happen.
    [ .. ]
    >I STFW and came up with a message by a lady who had a same/similar
    >problem. She said that it was caused by a rogue "~" file or folder in
    >her directory tree. Removing it fixed the problem. I searched my
    >system, found "C:\~", and removed it, but no luck.
    Perhaps Cygwin perl gets confused with the '~', sometimes
    thinking it a real directory (eg, presence of a C:\~) and other
    times expanding it to a home directory (/home/dpchrist/). It
    might be worth trying to again remove C:\~, and then start
    the CPAN.pm shell but first reconfigure it:
    cpan> o conf init
    and try choosing the build and source directories with a root
    directory of something like C:/.cpan/.

    --
    best regards,
    randy kobes
    Randy Kobes Guest

  3. Moderated Post

    Default Re: cpan problems with 02packages.details.txt.gz and 03modlist.data.gz

    Removed by Administrator
    David Christensen Guest
    Moderated Post

Similar Threads

  1. Problems with forked packages and CPAN
    By zendonut@gmail.com in forum PERL Modules
    Replies: 4
    Last Post: April 3rd, 08:08 AM
  2. Problem with 'cc' command in CPAN makes (i.e., Bundle::CPAN)
    By Matthew Glidden in forum PERL Beginners
    Replies: 2
    Last Post: December 11th, 06:50 PM
  3. Problems with CPAN
    By John Birkhead in forum PERL Beginners
    Replies: 6
    Last Post: September 18th, 06:06 PM
  4. problems with installing CPAN modules
    By sc00170@cc.uoi.gr in forum PERL Beginners
    Replies: 0
    Last Post: September 2nd, 11:59 AM
  5. Newbie: Problems with a CPAN installation
    By Francesco Moi in forum PERL Miscellaneous
    Replies: 4
    Last Post: July 26th, 04:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139