in reply to cpan shell issues

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.