delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/05/09:43:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 5 Feb 2008 09:43:00 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Marek DOT Jawurek AT iese DOT fraunhofer DOT de
cc: cygwin AT cygwin DOT com
Subject: RE: Setup.exe 2.573.2.2 unable to retrieve mirror list and setup.ini/setup.bz2
In-Reply-To: <AAEECBB86B185F468D8134DE603C20D40174BE6C@hermes.iese.fhg.de>
Message-ID: <Pine.GSO.4.63.0802050928560.24723@access1.cims.nyu.edu>
References: <AAEECBB86B185F468D8134DE603C20D40174BE23 AT hermes DOT iese DOT fhg DOT de> <Pine DOT GSO DOT 4 DOT 63 DOT 0802050848380 DOT 24723 AT access1 DOT cims DOT nyu DOT edu> <AAEECBB86B185F468D8134DE603C20D40174BE6C AT hermes DOT iese DOT fhg DOT de>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

---559023410-2060801678-1202222580=:24723
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

Ugh, top-posting...  Reformatted.

On Tue, 5 Feb 2008, Marek.Jawurek wrote:

> -----Original Message-----
> From: Igor Peshansky [mailto:pechtcha AT XX DOT XXX DOT XXX]
> Sent: Dienstag, 5. Februar 2008 14:58
> To: Jawurek, Marek
> Cc: cygwin AT XXXXXX DOT XXX
> Subject: Re: Setup.exe 2.573.2.2 unable to retrieve mirror list and setup.ini/setup.bz2

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.

> > On Tue, 5 Feb 2008, Marek.Jawurek wrote:
> >
> > > Hi everyone,
> > >
> > > I downloaded today´s setup.exe from http://cygwin.com/ and have
> > > problems running it. I want to run it as a non-administrator-user to
> > > just download the files. So I say "Just downlioad", then I give it the
> > > proxy settings for my network.
> > >
> > > The first problem is an empty mirror list. Then I add mirror urls and
> > > try to proceed but it is unable to retrieve the setup.bz2/.ini from
> > > any of the different mirrors. I checked the setup.log but it does not
> > > give any error codes or reasons why downloading failed. I appended my
> > > complete mirror log. I am running WinXP Professional SP2.
> > >
> > > Of course I searched the mailinglist. The posts that resembled my
> > > problem were answered with "Try another mirror". Well I tried all the
> > > mirrors in this log in my Firefox. I double-checked the proxy settings.
> > > Is there a way to make setup.exe output errors in more detail ?
> >
> > /var/log/setup.log.full is pretty much it.  However, setup is not
> > really doing anything very sophisticated -- it tries to retrieve
> > http://cygwin.com/mirrors.lst using the connection method specified.
> > The errors indicate that it was unable to connect.
> >
> > Trying another mirror doesn't help because setup cannot even retrieve
> > the mirror list from cygwin.com.
> >
> > Can you retrieve the contents of the above URL using your browser (IE,
> > in particular)?  If not, first get that to work, and then try setup
> > again. If you can, then there may be a problem with setup, since I see
> > that you're using IE5 settings to connect.  Another option is to try
> > "Direct connection".
> > 	Igor
>
> I can open the mirror list with IE. I tried both, using the IE settings
> and providing it with the proxy information myself in setup.exe. The log
> reflects this, i.e. it says "net: IE5" or "net: Proxy".

Does "direct connection" work?

> Setup.exe could say how this connection failed, failure to connect to
> the server or a "File not found" response or a DNS lookup failure.
> Additionally it could specify explicitely which network settings have
> been used, i.e. Proxy server and port,

Yes, you're correct.  I'll try to work on it whenever I get some round
tuits (not likely to happen soon, though).

> or elaborate on the settings retrieved from IE.

That won't help much, because setup simply delegates to IE (invokes a
Windows call that retrieves the URL).

> I do believe that the problem lies in the local network settings,
> probably in combination with the way setup tries to obtain the files but
> without further information I cannot verify anything.

Hmm, the above URL is exactly the one it uses for retrieving the mirror
list.  I'm not sure what information setup could output -- perhaps you can
grab a debug version (from the snapshots directory) and step through it in
gdb (once you get Cygwin installed, that is)...

> Is there a backup method with which I can trick setup.exe into believing
> that I have the files already or provide them locally? I couldn´t find
> anything about this in the Documentation. By simply providing all files
> locally I could install cywin after downloading all necessary files to
> my computer.

Yes, there are a few ways.  First, I'd save the mirror list as
/etc/setup/mirrors-lst (prime the cache, so to say) and run setup again
(hoping it can then access the individual mirrors).  Or you can use setup
on another machine in download mode, copy the whole directory tree to your
machine, and then tell setup to "Install from local directory".  Another
way is to mirror the repository on some site you *can* connect to and add
that as a mirror explicitly.

It would still be interesting to see why "Use IE5 settings" fails on your
machine while you can retrieve the mirror list via IE itself...  Do you
have to log in to your proxy?  If so, did you run setup after you logged
in via IE?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it." -- Rabbi Hillel

---559023410-2060801678-1202222580=:24723
Content-Type: text/plain; charset=us-ascii

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

- Raw text -


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