Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm stuck with cpan shell. Anybody monks with suggestions?

cpan> o conf make_arg: /home/redd/Site_perl/cpan_home/ make_arg: /home/redd/Site_perl/cpan_home/ cpan> o conf cpan_home:/home/redd/Site_perl/cpan_home/ cpan_home:/home/redd/Site_perl/cpan_home/ UNDEFINED cpan> install Bundle::CPAN MD5 Checksum was ok y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz: No such file or direc +tory y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz: No such file or direc +tory /bin/tar: y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz: Cannot open +: No such file or directory /bin/tar: Error is not recoverable: exiting now Using Tar:/bin/tar xvf y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz +: /bin/tar: y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz: Cannot open +: No such file or directory /bin/tar: Error is not recoverable: exiting now Couldn't untar y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz cpan>

Replies are listed 'Best First'.
•Re: cpan shell issues
by merlyn (Sage) on Jan 16, 2003 at 16:57 UTC
    It looks like you typed "y" to constructing the "url list", which the CPAN.pm configurator took as a literal "y" instead of "yes". Hint: that's not a yes or no question!

    Re-run the configuration again, with "o conf init". Don't type "y" for anything. :)

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

Re: cpan shell issues
by tall_man (Parson) on Jan 16, 2003 at 16:48 UTC
    It looks like the cpan_home directory is not defined. Possibly a misspelling?

    You should also check your urllist setting. It has to point to a remote or local mirror of CPAN.