X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=edu mzvb9gJznnFBdfmqhRQ/omonc2DGecFkufXFs+BMAS3dedzBM7kz9aS5udhXkGq5 ZY44B76pcDKKwjK+oMH5QuOOa587QHbgwdWdYGHi+IWL4G3L7H38KgD3azpdjefm +Pj9z4/0D2t63mjOOHkSyaFKIznGJMOr58Etytxs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=3mRsPZyA8 9tETJjLHB7FxpdBawM=; b=eu0ijk/pMDmnKkQSSCg053rP2dsCP7xWlFB44VXua j4EsL4hRdgp9mG2TbWgrtldD8BppMwLDlO+tpbYRv7bWfYTXAPKo23PEerHraYo4 cX1rixw2eIhgAgTx4ul4ei48XvPHOBWjQ9akhhIs64E0O+ydwCX1hIqvOlPjj2HU Lk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=circle, H*MI:local, Ie, UD:I.e X-HELO: mx25.exchange.telus.com SBRS: 2.5 From: John Doucette To: "cygwin AT cygwin DOT com" Subject: setup.exe: How do I download sources for just ONE package when using setup-x86 from the command-line? Date: Thu, 1 Nov 2018 16:37:35 +0000 Message-ID: <9048BC14027F144BABE0D9876ECAD41633A67FD5@HUCMBX07P.hostedmsx.local> x-tm-as-matchedid: 151208-139704-113220-780058-111604-700362-705718-700345-7 01827-700264-702497-700450-700732-701306-709859-111605-700074-303242-188124 -702801-187067-704425-706249-703523-705651-701588-700300-701618-701005-7023 58-712058-702084-707451-705388-702989-700808-700052-703835-112033-711065-12 1586-121706-702609-701445-703267-701493-188093-148004-148050-20022-42000-63 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id wA1GcaPS019637 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