public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: setup.exe: How do I download sources for just ONE package when using setup-x86 from the command-line?
Date: Thu, 01 Nov 2018 16:47:00 -0000	[thread overview]
Message-ID: <7eead6a6-6be3-f8ff-8a59-14df40908d0c@gmail.com> (raw)
In-Reply-To: <9048BC14027F144BABE0D9876ECAD41633A67FD5@HUCMBX07P.hostedmsx.local>

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

      parent reply	other threads:[~2018-11-01 16:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-01 16:38 John Doucette
2018-11-01 16:44 ` cyg Simple
2018-11-01 16:47 ` Marco Atzeri [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7eead6a6-6be3-f8ff-8a59-14df40908d0c@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).