How to reinstall CPAN?

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default How to reinstall CPAN?

    Hi folks,

    For some reason, when running CPAN I get to many problems (I installed
    Perl v. 5.8.3 this morning, don't know if it has an effect)


    cpan> install HTML::Mason
    CPAN: Storable loaded ok
    LWP not available
    CPAN: Net::FTP loaded ok
    Fetching with Net::FTP:
    [url]ftp://cpan.chebucto.ns.ca/pub/CPAN/authors/01mailrc.txt.gz[/url]
    Going to read /usr/local/cpan/sources/authors/01mailrc.txt.gz
    Can't exec "./gzip": No such file or directory at
    /usr/local/lib/perl5/5.8.3/aix/IO/File.pm line 176, <FIN> line 1.
    Could not pipe[./gzip --decompress --stdout
    /usr/local/cpan/sources/authors/01mailrc.txt.gz |]: No such file or
    directory at /usr/local/lib/perl5/5.8.3/CPAN.pm line 5727, <FIN> line 1.

    Is there any way I can reinstall CPAN from scratch?

    Thanks!

    Steve Hemond
    Programmeur Analyste / Analyst Programmer
    Smurfit-Stone, Ressources Forestieres
    La Tuque, P.Q.
    Tel.: (819) 676-8100 X2833
    [email]shemond@smurfit.com[/email]

    Steve Hemond Guest

  2. Similar Questions and Discussions

    1. Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails
      FYI Have problem Upgrading perl packages from CPAN.pm version v1.61 to version v1.76) failed with final error messages: <stuff snipped> CPAN.pm:...
    2. RE : How to reinstall CPAN?
      </usr/local># cpan o conf init CPAN: Storable loaded ok LWP not available CPAN: Net::FTP loaded ok Fetching with Net::FTP:...
    3. RE : [Perl-beginners] How to reinstall CPAN?
      That's what I did, but it didn't fix anything. I thought by removing the cpan directory it would then asks me the startup questions but it didn't. ...
    4. [Perl-beginners] How to reinstall CPAN?
      your config resides in ~/.cpan perhaps you can delete that directory, and reconfigure it? cheers -- Kind regards, Remko Lodder
    5. Bundle::CPAN reinstall problem
      Each time I use the CPAN module, it prompts me to install a new version of CPAN. When I do, it stalls during the make test: .......
  3. #2

    Default Re: How to reinstall CPAN?

    cpan o conf init

    On Feb 4, 2004, at 8:36 PM, Hemond, Steve wrote:
    > Hi folks,
    >
    > For some reason, when running CPAN I get to many problems (I installed
    > Perl v. 5.8.3 this morning, don't know if it has an effect)
    >
    >
    > cpan> install HTML::Mason
    > CPAN: Storable loaded ok
    > LWP not available
    > CPAN: Net::FTP loaded ok
    > Fetching with Net::FTP:
    > [url]ftp://cpan.chebucto.ns.ca/pub/CPAN/authors/01mailrc.txt.gz[/url]
    > Going to read /usr/local/cpan/sources/authors/01mailrc.txt.gz
    > Can't exec "./gzip": No such file or directory at
    > /usr/local/lib/perl5/5.8.3/aix/IO/File.pm line 176, <FIN> line 1.
    > Could not pipe[./gzip --decompress --stdout
    > /usr/local/cpan/sources/authors/01mailrc.txt.gz |]: No such file or
    > directory at /usr/local/lib/perl5/5.8.3/CPAN.pm line 5727, <FIN> line
    > 1.
    >
    > Is there any way I can reinstall CPAN from scratch?
    >
    > Thanks!
    >
    > Steve Hemond
    > Programmeur Analyste / Analyst Programmer
    > Smurfit-Stone, Ressources Forestieres
    > La Tuque, P.Q.
    > Tel.: (819) 676-8100 X2833
    > [email]shemond@smurfit.com[/email]
    >
    >
    > --
    > To unsubscribe, e-mail: [email]beginners-unsubscribe@perl.org[/email]
    > For additional commands, e-mail: [email]beginners-help@perl.org[/email]
    > <http://learn.perl.org/> <http://learn.perl.org/first-response>
    >
    >
    Remo Sanges Guest

Posting Permissions

  • You may not post new threads
  • You may 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