我正在运行 cygwin 安装,并按照以下步骤操作http://cygwinports.org/。
我在 cygwin 控制台中运行
$ wget http://cygwin.com/setup.exe -O /tmp/setup.exe
$ /tmp/setup.exe -K http://cygwinports.org/ports.gpg
我加ftp://ftp.cygwinports.org/pub/cygwinports作为附加源(以及现有源),但出现错误对话框
Unable to get setup.ini from <http://downloads.sourceforge.net/cygwin-ports/>
我究竟做错了什么?
编辑: 我确实有http://downloads.sourceforge.net/cygwin-ports作为来源——来自之前的尝试,因为这就是http://cygwinports.org/建议:
Mirrors are available by instead entering http://downloads.sourceforge.net/cygwin-ports as the User URL.
控制台输出的相关部分是:
get_url_to_membuf http://downloads.sourceforge.net/cygwin-ports//setup.bz2
getUrlToStream http://downloads.sourceforge.net/cygwin-ports//setup.bz2
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf http://downloads.sourceforge.net/cygwin-ports//setup.bz2.sig
getUrlToStream http://downloads.sourceforge.net/cygwin-ports//setup.bz2.sig
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf http://downloads.sourceforge.net/cygwin-ports//setup.ini
getUrlToStream http://downloads.sourceforge.net/cygwin-ports//setup.ini
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf http://downloads.sourceforge.net/cygwin-ports//setup.ini.sig
getUrlToStream http://downloads.sourceforge.net/cygwin-ports//setup.ini.sig
getUrlToStream failed!
get_url_to_membuf failed!
mbox note: Unable to get setup.ini from <http://downloads.sourceforge.net/cygwin-ports/>
删除 sourceforge URL 后,ftp://ftp.cygwinports.org/pub/cygwinportsURI 使用得很好。只是速度很慢(130kb/s),所以从 sf.net 下载端口会好得多。