in reply to CPAN Install Problem (install Bundle::LWP)

It looks to me like you have some corrupt data in your .cpan directory. I'd blow it away and try again:

$ rm -rf /home/user/.cpan $ perl -MCPAN -e shell

Give it a try and let us know how it goes.

-sam

Replies are listed 'Best First'.
Re^2: CPAN Install Problem (install Bundle::LWP)
by awohld (Hermit) on May 20, 2005 at 18:33 UTC
    Ahh, that worked. It seemed that my Config.pm for CPAN was bad, the http_proxy should have been 'http://myproxy.com:90' instead I had 'myproxy.com:90'.

    When I ran any intall for the first time I get an "proxy error 501" and the second time and on I get the errors I posted above.

    CPAN & Perlmonks RULE!!!
Re^2: CPAN Install Problem (install Bundle::LWP)
by Anonymous Monk on Nov 28, 2018 at 06:31 UTC
    How to do this in Windows OS?
      How to do this in Windows OS?

      The first command simply removed the ".cpan" directory. In windows you could achieve the same with:
      rmdir /s /q C:/full/path/to/.cpan
      but it might be better to simply rename that directory to (say) ".cpan_hide" (or to just delete it to the recycle bin).
      That way the original .cpan directory is still retrievable.

      For the second command, I'd try running it unchanged:
      perl -MCPAN -e shell
      which should hopefully take you through the process of configuring your new ".cpan" directory.

      However, I'm no expert on CPAN.pm.

      Cheers,
      Rob