public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Question regarding cygwin setup.
@ 2017-12-31 17:11 Amit Choudhary
  2017-12-31 18:30 ` Andrey Repin
  0 siblings, 1 reply; 10+ messages in thread
From: Amit Choudhary @ 2017-12-31 17:11 UTC (permalink / raw)
  To: cygwin

Hi,

I have noticed that if cygwin setup is running and it is installing
something then if the network connection goes away, then cygwin setup just
goes back to 0% and starts all over again after network comes back (I have
to start it again).

So, if cygwin setup had completed 90% of installation and then network goes
away then it goes back to 0%. So, all the bandwidth used for 90%
installation went to waste and also the time to go till 90% installation
went to waste.

Is it possible that cygwin setup gets stuck on network rather than going
back to 0% and start again when network connection comes back (Obviously
cygwin setup should not be aborted in between).

Normally, TCP connections stay alive for 2 hours before reset, so I guess
cygwin setup can just block on the TCP socket / connection rather than
going back to 0%.

Amit

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question regarding cygwin setup.
  2017-12-31 17:11 Question regarding cygwin setup Amit Choudhary
@ 2017-12-31 18:30 ` Andrey Repin
  2017-12-31 18:32   ` Amit Choudhary
  0 siblings, 1 reply; 10+ messages in thread
From: Andrey Repin @ 2017-12-31 18:30 UTC (permalink / raw)
  To: Amit Choudhary, cygwin

Greetings, Amit Choudhary!

> Hi,

> I have noticed that if cygwin setup is running and it is installing
> something then if the network connection goes away, then cygwin setup just
> goes back to 0% and starts all over again after network comes back (I have
> to start it again).

> So, if cygwin setup had completed 90% of installation and then network goes
> away then it goes back to 0%. So, all the bandwidth used for 90%
> installation went to waste and also the time to go till 90% installation
> went to waste.

That's not true.
All already downloaded packages will not be downloaded again.

> Is it possible that cygwin setup gets stuck on network rather than going
> back to 0% and start again when network connection comes back (Obviously
> cygwin setup should not be aborted in between).

Everything is possible. The question is, who would implement it? Are you volunteering?

> Normally, TCP connections stay alive for 2 hours before reset, so I guess
> cygwin setup can just block on the TCP socket / connection rather than
> going back to 0%.

Normally, any sane application will terminate socket way before that.


-- 
With best regards,
Andrey Repin
Sunday, December 31, 2017 20:56:19

Sorry for my terrible english...


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question regarding cygwin setup.
  2017-12-31 18:30 ` Andrey Repin
@ 2017-12-31 18:32   ` Amit Choudhary
  2017-12-31 18:33     ` Jon Turney
  2017-12-31 18:35     ` Marco Atzeri
  0 siblings, 2 replies; 10+ messages in thread
From: Amit Choudhary @ 2017-12-31 18:32 UTC (permalink / raw)
  To: cygwin

On Sun, Dec 31, 2017 at 11:27 PM, Andrey Repin <anrdaemon@yandex.ru> wrote:

> Greetings, Amit Choudhary!
>
> > Is it possible that cygwin setup gets stuck on network rather than going
> > back to 0% and start again when network connection comes back (Obviously
> > cygwin setup should not be aborted in between).
>
> Everything is possible. The question is, who would implement it? Are you
> volunteering?
>
>
I can fix this if I get the source code and if someone can let me know how
to compile it (which compiler, etc.)


> > Normally, TCP connections stay alive for 2 hours before reset, so I guess
> > cygwin setup can just block on the TCP socket / connection rather than
> > going back to 0%.
>
> Normally, any sane application will terminate socket way before that.
>

I do not see much point in cygwin setup terminating the socket because if
the internet connection is flaky then it will keep going back to 0%.


>
> --
> With best regards,
> Andrey Repin
> Sunday, December 31, 2017 20:56:19
>
> Sorry for my terrible english...
>
>
Regards,
Amit

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question regarding cygwin setup.
  2017-12-31 18:32   ` Amit Choudhary
@ 2017-12-31 18:33     ` Jon Turney
  2017-12-31 21:13       ` Amit Choudhary
  2017-12-31 18:35     ` Marco Atzeri
  1 sibling, 1 reply; 10+ messages in thread
From: Jon Turney @ 2017-12-31 18:33 UTC (permalink / raw)
  To: Amit Choudhary, The Cygwin Mailing List

On 31/12/2017 18:21, Amit Choudhary wrote:
> On Sun, Dec 31, 2017 at 11:27 PM, Andrey Repin wrote:
> 
>>> Is it possible that cygwin setup gets stuck on network rather than going
>>> back to 0% and start again when network connection comes back (Obviously
>>> cygwin setup should not be aborted in between).
>>
>> Everything is possible. The question is, who would implement it? Are you
>> volunteering?
>>
> I can fix this if I get the source code and if someone can let me know how
> to compile it (which compiler, etc.)

[1] points to [2] which has this information.

I don't know how we can make that more obvious.

[1] https://cygwin.com/install.html#source
[2] https://sourceware.org/cygwin-apps/setup.html

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question regarding cygwin setup.
  2017-12-31 18:32   ` Amit Choudhary
  2017-12-31 18:33     ` Jon Turney
@ 2017-12-31 18:35     ` Marco Atzeri
  2017-12-31 20:27       ` Amit Choudhary
  1 sibling, 1 reply; 10+ messages in thread
From: Marco Atzeri @ 2017-12-31 18:35 UTC (permalink / raw)
  To: cygwin

On 31/12/2017 19:21, Amit Choudhary wrote:

> I can fix this if I get the source code and if someone can let me know how
> to compile it (which compiler, etc.)
> 
> 

https://sourceware.org/cygwin-apps/setup.html

See README for building instruction



Regards
Marco

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question regarding cygwin setup.
  2017-12-31 18:35     ` Marco Atzeri
@ 2017-12-31 20:27       ` Amit Choudhary
  0 siblings, 0 replies; 10+ messages in thread
From: Amit Choudhary @ 2017-12-31 20:27 UTC (permalink / raw)
  To: The Cygwin Mailing List

> https://sourceware.org/cygwin-apps/setup.html
>
> See README for building instruction
>
>
>
> Regards
> Marco
>

Thanks Marco.

Regards,
Amit

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question regarding cygwin setup.
  2017-12-31 18:33     ` Jon Turney
@ 2017-12-31 21:13       ` Amit Choudhary
  0 siblings, 0 replies; 10+ messages in thread
From: Amit Choudhary @ 2017-12-31 21:13 UTC (permalink / raw)
  To: Jon Turney; +Cc: The Cygwin Mailing List

> [1] points to [2] which has this information.
>
> I don't know how we can make that more obvious.
>
> [1] https://cygwin.com/install.html#source
> [2] https://sourceware.org/cygwin-apps/setup.html
>


I can't get over the fact that you were being cynical. Now, I am not going
to fix cygwin setup and I am also unsubscribing from cygwin mailing list.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question regarding cygwin setup.
@ 2017-12-31 18:59 Amit Choudhary
  0 siblings, 0 replies; 10+ messages in thread
From: Amit Choudhary @ 2017-12-31 18:59 UTC (permalink / raw)
  To: Jon Turney; +Cc: The Cygwin Mailing List

[1] points to [2] which has this information.

>
> I don't know how we can make that more obvious.
>

Please bear with me. Please don't be cynical.


>
> [1] https://cygwin.com/install.html#source
> [2] https://sourceware.org/cygwin-apps/setup.html
>

I will try to fix it.

Regards,
Amit

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question regarding cygwin setup
  2005-03-23 14:55 raahi 108
@ 2005-03-23 15:05 ` Igor Pechtchanski
  0 siblings, 0 replies; 10+ messages in thread
From: Igor Pechtchanski @ 2005-03-23 15:05 UTC (permalink / raw)
  To: raahi 108; +Cc: cygwin

On Tue, 22 Mar 2005, raahi 108 wrote:

> Hello,
>
> I have a Question regarding installing Cygwin.
>
> I usually select packages/app from the setup menu.
> A couple of times i have encountered the problem, wherein
> the server/ftp site is busy or its unavailable. I almost spend like
> 10-15 mins customizing the whole setup, and selecting the
> packages which i need to install. But if the mirror is not working,
> the selections that i made are lost.
>
> What i was wondering is, is there a way to save the 'selection'
> to a file so that even if a particular mirror doesn't work, i can
> select other mirror and invoke the 'selections' made before?
> In this way, i don't have to browse the list again to select the
> packages i require.

Unfortunately, setup has no option to save the selection list.  Pressing
the Back button and changing the mirror may or may not keep your current
selections.  In any case, this problem should only happen if the mirror
goes down in the middle of the download, since it had to have been
available to get the setup.bz2 file.  You could try selecting multiple
mirrors from the mirror list (by holding Ctrl while selecting mirrors) --
that way, if one is unavailable, setup will automatically try another.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Question regarding cygwin setup
@ 2005-03-23 14:55 raahi 108
  2005-03-23 15:05 ` Igor Pechtchanski
  0 siblings, 1 reply; 10+ messages in thread
From: raahi 108 @ 2005-03-23 14:55 UTC (permalink / raw)
  To: cygwin

Hello,

I have a Question regarding installing Cygwin.

I usually select packages/app from the setup menu.
A couple of times i have encountered the problem, wherein 
the server/ftp site is busy or its unavailable. I almost spend like
10-15 mins customizing the whole setup, and selecting the
packages which i need to install. But if the mirror is not working,
the selections that i made are lost. 

What i was wondering is, is there a way to save the 'selection'
to a file so that even if a particular mirror doesn't work, i can 
select other mirror and invoke the 'selections' made before?
In this way, i don't have to browse the list again to select the
packages i require.

Any inputs appreciated.
Thanks in Advance,
Raahi.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-12-31 18:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-31 17:11 Question regarding cygwin setup Amit Choudhary
2017-12-31 18:30 ` Andrey Repin
2017-12-31 18:32   ` Amit Choudhary
2017-12-31 18:33     ` Jon Turney
2017-12-31 21:13       ` Amit Choudhary
2017-12-31 18:35     ` Marco Atzeri
2017-12-31 20:27       ` Amit Choudhary
  -- strict thread matches above, loose matches on Subject: below --
2017-12-31 18:59 Amit Choudhary
2005-03-23 14:55 raahi 108
2005-03-23 15:05 ` Igor Pechtchanski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).