From: Jon Turney <jon.turney@dronecode.org.uk>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Cc: Bill Stewart <bstewart@iname.com>
Subject: Re: Setup: How to automate source download for packages already installed?
Date: Wed, 04 Mar 2020 15:16:00 -0000 [thread overview]
Message-ID: <819a2b66-ba52-328c-81c8-66357ea6465d@dronecode.org.uk> (raw)
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
next prev parent reply other threads:[~2020-03-04 13:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-02 18:06 Bill Stewart
2020-03-04 15:16 ` Jon Turney [this message]
2020-03-04 16:57 ` Bill Stewart
2023-03-27 20:18 ` Bill Stewart
2023-03-27 20:20 ` Bill Stewart
2023-03-27 20:55 ` Jon Turney
2023-03-28 16:55 ` Bill Stewart
2023-04-14 15:32 ` Jon Turney
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=819a2b66-ba52-328c-81c8-66357ea6465d@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=bstewart@iname.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).