public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* setup.exe: How do I download sources for just ONE package when using setup-x86 from the command-line?
@ 2018-11-01 16:38 John Doucette
  2018-11-01 16:44 ` cyg Simple
  2018-11-01 16:47 ` Marco Atzeri
  0 siblings, 2 replies; 3+ messages in thread
From: John Doucette @ 2018-11-01 16:38 UTC (permalink / raw)
  To: cygwin

Hi all,

My current setup-x86 is version 2.893.
Cygwin is not installed yet, so I am running setup-x86.exe from within PowerShell on Win7.

PS C:\>  .\setup-x86.exe -V
PS C:\ > Cygwin setup 2.893

First I run setup to download all things Devel using:

PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -C Devel  -q

This correctly downloads all Devel stuff and dependencies as expected, including the boost-build package.  Then I want to download the sources for just boost-build.  Since the dependencies for boost-build have already been resolved above I use:

PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -I -P boost-build  -q

This does download the sources for package boost-build, but ALSO downloads the sources for ALL of the dependencies of boost-build! I.e. sources for cygwin, gcc, bash, ... etc.  The same thing happens if -Y is added to the command as below.

PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -Y -I -P boost-build  -q

Trying to directly download the src package in question doesn't work either, as in:

PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -I -P boost-build-src  -q

I can accomplish what I want if I use the setup-x86 gui for the second part of the operation. I.e. First run the first command above to get all of latest Devel.

PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -C Devel  -q

Then start up the setup-x86.exe ui. Choose to download only from the same mirror to the same local folder.  Under the View pulldown, select Category. Click on the circle symbol by All cycling around through Install -> Reinstall -> Uninstall -> Default resulting in all items being marked as skipped. Expand the Devel category and select boost-build 1.66.0-1.  Then also tick off the boost-build src box. Select Next, Next ... until download starts. Only the boost-build sources are downloaded.

John Doucette

--
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] 3+ messages in thread

* Re: setup.exe: How do I download sources for just ONE package when using setup-x86 from the command-line?
  2018-11-01 16:38 setup.exe: How do I download sources for just ONE package when using setup-x86 from the command-line? John Doucette
@ 2018-11-01 16:44 ` cyg Simple
  2018-11-01 16:47 ` Marco Atzeri
  1 sibling, 0 replies; 3+ messages in thread
From: cyg Simple @ 2018-11-01 16:44 UTC (permalink / raw)
  To: cygwin

On 11/1/2018 12:37 PM, John Doucette wrote:
> Hi all,
> 
> My current setup-x86 is version 2.893.
> Cygwin is not installed yet, so I am running setup-x86.exe from within PowerShell on Win7.
> 
> PS C:\>  .\setup-x86.exe -V
> PS C:\ > Cygwin setup 2.893
> 
> First I run setup to download all things Devel using:
> 
> PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -C Devel  -q
> 
> This correctly downloads all Devel stuff and dependencies as expected, including the boost-build package.  Then I want to download the sources for just boost-build.  Since the dependencies for boost-build have already been resolved above I use:
> 
> PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -I -P boost-build  -q
> 
> This does download the sources for package boost-build, but ALSO downloads the sources for ALL of the dependencies of boost-build! I.e. sources for cygwin, gcc, bash, ... etc.  The same thing happens if -Y is added to the command as below.
> 
> PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -Y -I -P boost-build  -q
> 
> Trying to directly download the src package in question doesn't work either, as in:
> 
> PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -I -P boost-build-src  -q
> 
> I can accomplish what I want if I use the setup-x86 gui for the second part of the operation. I.e. First run the first command above to get all of latest Devel.
> 
> PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -C Devel  -q
> 
> Then start up the setup-x86.exe ui. Choose to download only from the same mirror to the same local folder.  Under the View pulldown, select Category. Click on the circle symbol by All cycling around through Install -> Reinstall -> Uninstall -> Default resulting in all items being marked as skipped. Expand the Devel category and select boost-build 1.66.0-1.  Then also tick off the boost-build src box. Select Next, Next ... until download starts. Only the boost-build sources are downloaded.

Make it easy on yourself; download the -src package directly from the
mirror release directory.  You'll need cygport package to build it.

-- 
cyg Simple

--
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] 3+ messages in thread

* Re: setup.exe: How do I download sources for just ONE package when using setup-x86 from the command-line?
  2018-11-01 16:38 setup.exe: How do I download sources for just ONE package when using setup-x86 from the command-line? John Doucette
  2018-11-01 16:44 ` cyg Simple
@ 2018-11-01 16:47 ` Marco Atzeri
  1 sibling, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2018-11-01 16:47 UTC (permalink / raw)
  To: cygwin

Am 01.11.2018 um 17:37 schrieb John Doucette:
> Hi all,
>
> My current setup-x86 is version 2.893.
> Cygwin is not installed yet, so I am running setup-x86.exe from within PowerShell on Win7.
>
> PS C:\>  .\setup-x86.exe -V
> PS C:\ > Cygwin setup 2.893
>
> First I run setup to download all things Devel using:
>
> PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -C Devel  -q
>
> This correctly downloads all Devel stuff and dependencies as expected, including the boost-build package.  Then I want to download the sources for just boost-build.  Since the dependencies for boost-build have already been resolved above I use:
>
> PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -I -P boost-build  -q
>
> This does download the sources for package boost-build, but ALSO downloads the sources for ALL of the dependencies of boost-build! I.e. sources for cygwin, gcc, bash, ... etc.  The same thing happens if -Y is added to the command as below.
>
> PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -Y -I -P boost-build  -q
>
> Trying to directly download the src package in question doesn't work either, as in:
>
> PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -I -P boost-build-src  -q
>
> I can accomplish what I want if I use the setup-x86 gui for the second part of the operation. I.e. First run the first command above to get all of latest Devel.
>
> PS C:\>  .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -C Devel  -q
>
> Then start up the setup-x86.exe ui. Choose to download only from the same mirror to the same local folder.  Under the View pulldown, select Category. Click on the circle symbol by All cycling around through Install -> Reinstall -> Uninstall -> Default resulting in all items being marked as skipped. Expand the Devel category and select boost-build 1.66.0-1.  Then also tick off the boost-build src box. Select Next, Next ... until download starts. Only the boost-build sources are downloaded.
>
> John Doucette
>

It seems to me that you are complicating your life

why do you not just select full view, search for the package
you are looking for and click on source ?




---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
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] 3+ messages in thread

end of thread, other threads:[~2018-11-01 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-01 16:38 setup.exe: How do I download sources for just ONE package when using setup-x86 from the command-line? John Doucette
2018-11-01 16:44 ` cyg Simple
2018-11-01 16:47 ` Marco Atzeri

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