Why do I get “500 can't connect to theoryx5.uwinnipeg.ca :: 80 (bad hostname)” when I try to install modules?

匿名 (未验证) 提交于 2019-12-03 02:35:01

问题:

Whenever I try to install a Perl module, I get the following error:

500 can't connect to theoryx5.uwinnipeg.ca :: 80 (bad hostname) 

I get the same error with both ActivePerl and Strawberry Perl. How can I fix this?

回答1:

I believe you are using cpan?

  1. Start cpan.
  2. Enter o conf init urllist.
  3. Yes, you would you like cpan to automatically choose some CPAN mirror sites for you.
  4. Enter o conf commit.
  5. exit


标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!