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:subject:to:references:cc:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=o4UAb9dSQq8saK5L SNFAxHeJ3j+4tDDUK3JxO7gh+gkHlzYDGUo6IKFj2NuvIfnSMWGljNSFPgeBSIC/ jhRgushOpfTxr9vNUvMveniFot0FwV7nHC/BgK7cnkPvLS3FKONANcpzqrxA8GuB KxBYd4M5NDORZ4+Q2yvgJ23Td9I= 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:subject:to:references:cc:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=8SB8My16l58JgAZwkNwO+S q+i8E=; b=suD61R7P/rbgFclLCUcmsztfbN4q4FpLVJaMEjdqK0MM6OLlE/vojy +Oy2+pZ4/U+sW7W+LAKqAaryQkYBlurah/7tMjfRXgnUGIADu9+4wKFIIgxQq1kK E4ZqEWM8I9A+tRUACw0WgXRETHJIehlBQO4YPyp1RGbuTLO95gCe4= 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=-5.5 required=5.0 tests=AWL,BAYES_00,FORGED_SPF_HELO,KHOP_HELO_FCRDNS,SPF_HELO_PASS autolearn=no version=3.3.1 spammy=HX-Languages-Length:1069, stewart, Stewart, states X-HELO: sa-prd-fep-043.btinternet.com Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT com X-OWM-Source-IP: 31.51.207.12 (GB) X-OWM-Env-Sender: jonturney AT btinternet DOT com X-VadeSecure-score: verdict=clean score=0/300, class=clean Subject: Re: Setup: How to automate source download for packages already installed? To: The Cygwin Mailing List References: Cc: Bill Stewart From: Jon Turney Message-ID: <819a2b66-ba52-328c-81c8-66357ea6465d@dronecode.org.uk> Date: Wed, 4 Mar 2020 13:32:46 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 02/03/2020 18:06, Bill Stewart wrote: > I would like to reinstall a set of packages and automatically install the > source for only those packages. > > The packages are currently installed, and I am using a Setup command line > like this: > > -I -P "package1,package2,package3" > > The description in --help for -I states "Automatically install source for > every package installed". > > It would seem that, in this case, since the named packages are already > installed and up-to-date, the -I option does nothing. > > Is my analysis correct? This is correct. > If so, what is the way to automate source download for a set of packages > that are already installed? If a package is listed for both -x and -P, it is reinstalled, so while not ideal, you might be able to achieve something like what you want with 'setup -I -x "package1,package2,package3" -P "package1,package2,package3"' An option which explicitly just installs the source for a specified package might be useful. -- 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