delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/18/19:01:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,HK_OBFDOM,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B2C1B93.7000604@gmail.com>
Date: Sat, 19 Dec 2009 00:17:23 +0000
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 'setup-1.7.exe -s' anomaly
References: <4B2BF170 DOT 8040901 AT sbcglobal DOT net>
In-Reply-To: <4B2BF170.8040901@sbcglobal.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Greg Chicares wrote:
> If I run
>   setup-1.7.exe -s ftp://ftp.heanet.ie
> and hit Enter on every screen, I get a messagebox that says:
>   Unable to get setup-2.ini from <ftp://ftp.heanet.ie>
> Oddly, 'ftp.heanet.ie' is listed twice in "Available Download Sites".
> The first 'ftp.heanet.ie' is highlighted, and doesn't work. If I
> highlight the second 'ftp.heanet.ie' instead, then it works fine.

  Ok, this is a presentational problem.  What setup.exe displays is just the
top level of the site URL: the part from "http://" up to the next "/", which
is the actual machine name where the mirror is located.

  However that's just an abbreviation to keep the display uncluttered;
generally, the mirror is located in a subdirectory and not at the top-level of
the mirror site.  To find the actual full URL of a mirror, take a look at the
mirrors list:

http://cygwin.com/mirrors.html

  If you hover over the "ftp.heanet.ie" link there, you'll see the full
address of the actual mirror directory itself, which in this case is

ftp://ftp.heanet.ie/pub/cygwin/

  So, that's what you'd have to enter for the -s option.  When you just give
the site name like you did in your example, setup.exe goes and looks for
ftp://ftp.heanet.ie/setup.ini and doesn't find it (because it's actually at
ftp://ftp.heanet.ie/pub/cygwin/setup.ini).  And so those two 'ftp.heanet.ie'
listings that you saw in the "download sites" page *are* actually different:
one of them is the one you entered, without the trailing part of the path, and
one of them is the full URL from the mirrors list including the trailing part
of the path, but setup.exe abbreviates both of them so they look the same way.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019