Knowledge Base

28.09.09

Perl CPAN fails to download the packages

i almost got mad about a system where i simply could not figure out, why i was not able to download data using the CPAN shell (perl -MCPAN -e shell).

It took a while to figure out, that the CISCO Firewall (the gateway) was blocking the active FTP connections.

Solution: Switch to passive mode, simply run

export FTP_PASSIVE=1

before before calling cpan.

 



<- Zurück zur Übersicht