2017-02-03 2 views
0

i perl Paket LWP :: Useragenten mit dem Befehl „sudo perl-shell -MCPAN zu installieren versuchen, aber es gibt folgende Fehlernicht mehr Perl-Modul LWP installieren :: Protocol :: https

Warning: no success downloading '/root/.cpan/sources/authors/01mailrc.txt.gz.tmp4331'. Giving up on it. at /usr/share/perl5/CPAN/Index.pm line 225 
Fetching with LWP: 
    http://www.perl.org/CPAN/autho`rs/01mailrc.txt.gz 
LWP failed with code[500] message[Can't connect to www.perl.org:80 (connect: No route to host)] 

Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get 
    "http://www.perl.org/CPAN/authors/01mailrc.txt.gz" 
curl: (7) couldn't connect to host 


Resolving ftp.perl.org... 204.157.3.70, 209.221.142.115 
Connecting to ftp.perl.org|204.157.3.70|:21... failed: No route to host. 
Connecting to ftp.perl.org|209.221.142.115|:21... failed: No route to host. 


    Warning: no success downloading '/root/.cpan/sources/authors/01mailrc.txt.gz.tmp4331'. Giving up on it. at /usr/share/perl5/CPAN/Index.pm line 225 
No external ftp command available 

Your urllist is empty! The urllist can be edited. E.g. with 'o conf urllist 
push ftp://myurl/' 

Your urllist is empty! The urllist can be edited. E.g. with 'o conf urllist 
push ftp://myurl/' 

Could not fetch authors/01mailrc.txt.gz 
Terminal does not support GetHistory. 
Lockfile removed. 

Antwort

1

kann nicht

Sieht aus wie Ihr System eine Verbindung zu der die Software anbietenden Server erhalten kann nicht www.perl.org:80 verbinden. Entweder Sie sind offline, durch eine Firewall blockiert oder Sie benötigen ein konfigurieren Proxy, um ins Internet zu gelangen Dies sollte sich auf alle Tools auf dem System auswirken, nicht nur auf cpan Hat man Proxy-Einstellungen, die man vielleicht schon in der Shell hat, werden sie nicht in perl/cpan propagiert, wenn man sudo benutzt.

Verwandte Themen