How do I resolve the error "Unable to get setup.ini from <http://downloads.sourceforge.net/cygwin-ports/>"?

2

I have a running cygwin installation and I am following steps at http://cygwinports.org/.

I run in the cygwin console

$ wget http://cygwin.com/setup.exe -O /tmp/setup.exe
$ /tmp/setup.exe -K http://cygwinports.org/ports.gpg

I add ftp://ftp.cygwinports.org/pub/cygwinports as additional source (along with an existing one), but get error dialogue

Unable to get setup.ini from <http://downloads.sourceforge.net/cygwin-ports/>

What am I doing wrong?

EDIT: I actually had http://downloads.sourceforge.net/cygwin-ports as source -- from a previous attempt, since that is what http://cygwinports.org/ suggests:

Mirrors are available by instead entering http://downloads.sourceforge.net/cygwin-ports as the User URL.

The relevant part of the console output was:

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/>

After removing the sourceforge URL, the ftp://ftp.cygwinports.org/pub/cygwinports URI was used fine. It is just very slow (130kb/s), so having ports downloaded from sf.net would be much better.

eudoxos

Posted 2012-10-02T13:34:35.293

Reputation: 121

It sounds like you may have http://downloads.sourceforge.net/cygwin-ports/ configured as a package source, which I wouldn't do -- what mirrors are you using? What output is setup.exe generating on your console? Add this info to your question and I might be able to answer, thanks --

– Aaron Miller – 2012-10-02T14:34:22.647

@AaronMiller: Thanks, I edited the post, hopefully it contains everything relevant now. – eudoxos – 2012-10-03T06:47:29.147

The Sourceforge http:// mirror doesn't seem to work the way the Cygwin Ports folks intend it to; the whole Sourceforge download system, mirror selector and all, is involved there. I'd take that up with them, but in the meantime, it sounds like using the FTP mirror has got you going, if not as quickly as would be ideal. – Aaron Miller – 2012-10-04T12:20:22.220

I just ran into the "unable to get setup.ini" error, and had to change from setup.exe to setup-x86.exe. – emallove – 2013-08-06T01:48:40.440

I think this question is duplicated, refer to [http://stackoverflow.com/questions/15496333/installing-cygwin-setup-ini-missing-from-http-mirrors-kernel-org] – Matz – 2013-08-08T03:13:42.967

No answers