Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I try load modules from CPAN, but it fails

something wrong with my configuration of CPAN, by I can't figure out what is

cpan> install Bundle::CPAN 
CPAN: Storable loaded ok
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
LWP failed with code[404] message[File '01mailrc.txt.gz' not found]
Fetching with Net::FTP:
Couldn't fetch 01mailrc.txt.gz from
Fetching with LWP:
Useless content call in void context at /usr/share/perl5/LWP/Protocol/ line 398
LWP failed with code[400] message[FTP return code 000]

file exists

EDIT: the problem was that some servers do not allow get files by ftp (ncftpget works ok) found the server that allow

share|improve this question
up vote 0 down vote accepted

It looks to me that the file doesn't exist on that FTP server. FTP into it and see if it's there and what the permissions look like. You may need to find a new mirror.

from the CPAN shell, use the 'o conf urllist', 'o conf urllist shift',and 'o conf urllist push http://somenewmirror' commands.

Or a 'o conf init' to run through the initial setup.

Or, find the CPAN/ file(different if stashed under your home directory) and edit the list directly there.

(most of this answer was found at after running[404]+message[File+'01mailrc.txt.gz'+not+found])

share|improve this answer
gWaldo: thanks, but this file exists and i can fetch it with nsftpget without proble – oraz Aug 31 '10 at 15:19
gWaldo: thanks again, some hints was usefull – oraz Aug 31 '10 at 15:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.