Changing the preferred mirror in CPAN module

Recently I tried to install a couple of modules using the CPAN module’s shell. It turned out to be really irritating, because the server went down and the module tried downloading necessary files from it using two different methods (loooong timeouts) before switching to another mirror. I had to find a way to instruct the module not to use the mirror that was down. The solution was to edit the /usr/lib/perl5/5.8.8/CPAN/ file, specifically modifying the urllist variable.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s