Setup.exe 2.573.2.2 unable to retrieve mirror list and setup.ini/setup.bz2

Igor Peshansky pechtcha@cs.nyu.edu
Tue Feb 5 14:43:00 GMT 2008


Ugh, top-posting...  Reformatted.

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

> -----Original Message-----
> From: Igor Peshansky [mailto:pechtcha@XX.XXX.XXX]
> Sent: Dienstag, 5. Februar 2008 14:58
> To: Jawurek, Marek
> Cc: cygwin@XXXXXX.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@cs.nyu.edu | igor@watson.ibm.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
-------------- next part --------------
--
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/


More information about the Cygwin mailing list