2013-02-03 1 views
0

o conf init과 CPAN을 구성하는 동안 : 나는 다음과 같은 오류를 받고 있어요는 :CPAN 문제 "나쁜 운 ... 여전히 실패"

If you're accessing the net via proxies, you can specify them in the 
CPAN configuration or via environment variables. The variable in 
the $CPAN::Config takes precedence. 

Your ftp_proxy? [n] 
Your http_proxy? [n] 
Your no_proxy? 

If your proxy is an authenticating proxy, you can store your username 
permanently. If you do not want that, just press RETURN. You will then 
be asked for your username in every future session. 

Your proxy user id? 
Your /root/.cpan/sources/MIRRORED.BY is older than 60 days, I'm trying to fetch one 
CPAN: LWP::UserAgent loaded ok 
Fetching with LWP: 
    ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY 

Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.8/LWP/Protocol.pm line 55, <STDIN> line 29. 

Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.8/LWP/Protocol.pm line 58, <STDIN> line 29. 

Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/LWP/Protocol.pm line 38, <STDIN> line 29. 

Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.8/LWP/UserAgent.pm line 195, <STDIN> line 29. 

Fetching with LWP: ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY.gz 
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.8/LWP/Protocol.pm line 55, <STDIN> line 29. 

Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.8/LWP/Protocol.pm line 58, <STDIN> line 29. 

Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/LWP/Protocol.pm line 38, <STDIN> line 29. 

Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.8/LWP/UserAgent.pm line 195, <STDIN> line 29. 

CPAN: Net::FTP loaded ok 
Fetching with Net::FTP: 
    ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY 
Fetching with Net::FTP 
    ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY.gz 

Trying with "/usr/bin/links -source" to get 
    ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY 
ELinks: Host not found 

Trying with "/usr/bin/links -source" to get 
    ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY.gz 
ELinks: Host not found 

Trying with "/usr/bin/wget -O -" to get 
    ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY 
--2013-02-04 00:37:43-- ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY 
Resolving n... failed: Temporary failure in name resolution. 
wget: unable to resolve host address `n' 

Trying with "/usr/bin/wget -O -" to get 
    ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY.gz 
--2013-02-04 00:37:43-- ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY.gz 
Resolving n... failed: Temporary failure in name resolution. 
wget: unable to resolve host address `n' 

Issuing "/usr/kerberos/bin/ftp -n" 
ftp: ftp.oss.eznetsols.org: unknown host 
Not connected. 
Local directory now /root/.cpan/sources 
Not connected. 
Not connected. 
Not connected. 
Not connected. 
Bad luck... Still failed! 
Can't access URL ftp://ftp.oss.eznetsols.org/cpan/MIRRORED.BY. 

Please check, if the URLs I found in your configuration file 
(ftp://ftp.oss.eznetsols.org/cpan/) are valid. The urllist can be edited. 
E.g. with 'o conf urllist push ftp://myurl/' 

Could not fetch MIRRORED.BY 
Trying to get away with old file: 
1238021 144 -rw-r--r-- 1 0  0   135245 Oct 3 02:42 /root/.cpan/sources/MIRRORED.BY 

은 프록시 문제처럼 보인다.

다음과 같은 시도를했지만 성공하지 못했습니다.

  1. ping가 [그것은 작동] 검사
  2. /etc/resolve.conf 항목 : 프록시 서버를 추가하는 시도 nameserver my IP address
  3. : o conf http_proxy http://proxy.mycorp.com:8080/

날이 처리하는 방법을 알려 주시기 바랍니다. 감사.

답변

4

CPAN은 FTP 서버가 다운 된 것처럼 보입니다 (비효율적 임).

$ wget ftp://ftp.oss.eznetsols.org 
--2013-02-03 20:51:09-- ftp://ftp.oss.eznetsols.org/ 
      => ‘.listing’ 
Resolving ftp.oss.eznetsols.org (ftp.oss.eznetsols.org)... 111.90.255.253 
Connecting to ftp.oss.eznetsols.org (ftp.oss.eznetsols.org)|111.90.255.253|:21... failed: Connection refused. 

FTP 서버가 list of CPAN mirrors에 존재하지 않지만, 미러 목록이 최신이되었다.

다른 CPAN 미러를 사용해보십시오. 예 : o conf urllist shift http://cpan.pair.com/.