Re: Newbie CPAN issue

[email protected] ((Andreas J. Koenig))
Newsgroups perl.cpan.discuss
Message-ID <[email protected]>
>>>>> On Tue, 21 Feb 2006 15:11:02 -0600, "Marc Suttle" <[email protected]> said:

  > Hello list,
  > 	I recently was trying to mess around with CPAN and have seemed
  > to get myself into a bind.

  > [...]

  > As you can see I deleted the Cwd.pm module because I was trying to
  > remove all the modules I had added to get it back to the original state.

  > So...a couple of questions:

  > 1. How do I fix Cwd.pm error?

Restore from backup or install from CPAN again.

  > 2. Why did removing the Cwd.pm module kill cpan?

Because it is a core module.

  > 3. Once Cwd.pm is installed as a module can you remove it?  How do I
  > remove all modules I have installed to get it back to original state?

If you install Cwd from CPAN, it overwrites the Cwd from the core, so
you ust not remove it.

  > 4.  All I wanted to do was install two modules: Digest::SHA1 and
  > MIME::Base64 and it kept complaining about bad cheksums.  Then I even
  > tried a cpan> install Bundle::CPAN and it returns:

  > "Distribution id = G/GB/GBARR/Bundle-libnet-1.00.tar.gz
  >     CPAN_USERID  GBARR (Graham Barr <[email protected]>)
  >     CONTAINSMODS
  >     MD5_STATUS
  >     localfile
  > /root/.cpan/sources/authors/id/G/GB/GBARR/Bundle-libnet-1.00.tar.gz

  > I'd recommend removing
  > /root/.cpan/sources/authors/id/G/GB/GBARR/Bundle-libnet-1.00.tar.gz. Its
  > MD5
  > checksum is incorrect. Maybe you have configured your 'urllist' with
  > a bad URL. Please check this array with 'o conf urllist', and
  > retry."

This may or not be a bug in the vesion of CPAN.pm you're using, but
efore we can investigate this, you should bring your system back to a
correct state.

-- 
andreas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.