delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/04/08:33:49

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <cygwin AT cygwin DOT com>
References: <CANV9t=QhyKaUe0P_TQPNwrDMu0qcLoXhn4bRTNQqkVDhbj7wKQ AT mail DOT gmail DOT com>
Cc: Bill Stewart <bstewart AT iname DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
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: <CANV9t=QhyKaUe0P_TQPNwrDMu0qcLoXhn4bRTNQqkVDhbj7wKQ@mail.gmail.com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019