delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/10/09:41:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2753A3858C60
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=s6MN/l9hdMgEoLA3ZCUy0qrvqdVIUyrqOS7pm1YdkWA=;
b=Q/oAEjdrzpXSOQ4CZlxO3SeqOLvMaUwmFy3D2ZSSMQJhtNR2uJIZECUA0kiVrGNbnQ
isOSureFjDUN7w3S7QkcKU+I3zA9bxL3PZ4FjBn58+T6ekG5mLuN9MRm8KrWU6+UXZ+q
qiF9n7ZsSZjEpGmH5CYUnECjv4Q9D7BLATklO+gPNLdOJZK7Y0pWqSGwU+7Bn83gneaf
yw1OwrQYu1q1ZIG3+T+RW4PNuU1Lq7YTVTA9mspF/FKft9JOtdJKH5SN84LNMvCBhBUu
hTzeSzoqghNYNdvNW3w2IEcpZgOAG7b0nqQshz9vaj5ZeOAvFe34nFnAtj4UriuvnbEO
5DCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=s6MN/l9hdMgEoLA3ZCUy0qrvqdVIUyrqOS7pm1YdkWA=;
b=t9SyxmUCbTD4HJvns+eJQRsbJ4fY/gnWRLqay/Z0ao7VSu2BC13s/eLxlq3rkDoTcu
QxhbMiwv+YHCzbPJ7n7PbsH5S93Ngr9S1f/inpZqW7glhTSQnF0lk7y6apUu7efq8tdF
vPR/VcxJ4dbpYrQiAPFMx8SIJ+WeQtwrt7K4bcUaK+scqXx5ACcrbwu5097VCwOhQlUU
TNQSe02M7J/SEVng2SCnwVk86YMD1e89dijHNxI01facP+rs15n202mbPO1MUd+IyH7V
+YHepVfuhYa1mERRfQ6tsfc/Ry7KYEK963BGn8qxxk7LUTjAsuyKxUh0One4rBOxemXO
QBag==
X-Gm-Message-State: AOAM530pyYzmiSlVSy1xwpiyMOnmHaBLAd1f3vTZGcdltBCUa8aPyydu
VouE+Vi1QpqhSNiin15pR3wH0slqx0bm6J7AwBg=
X-Google-Smtp-Source: ABdhPJygRMAnyEbJAbx3yqVs0yTg2+MBgMpoLqz2gE0l5VzKDYcCQo6yEc+KQXve5M21+NRQO8Tf4GWCdQP/6ADvBlw=
X-Received: by 2002:a0d:e387:: with SMTP id m129mr7744855ywe.308.1644504089338;
Thu, 10 Feb 2022 06:41:29 -0800 (PST)
MIME-Version: 1.0
References: <CA+GYywCd49GJLAGYJrKbwizZxAW+LwLB0S9SpieqwRyEikVEVw AT mail DOT gmail DOT com>
<CANV2+nXEFQYQw5FU1M-mqQnFCk28_nWYRg0fwm5VAm-EN6yWxw AT mail DOT gmail DOT com>
<1c710a38-0f55-e150-ea6d-83ce8de48557 AT towo DOT net>
<CAB8Xom9HBdG4p4iUwJUemELnH=7U7fPgHdOsdwyt-Pk4EVepSQ AT mail DOT gmail DOT com>
<CA+GYywD8-c4FxXp_GbA9auU87cdCmj8oXf7hqsAKdSf+0n1TTQ AT mail DOT gmail DOT com>
<20220209180559 DOT fpct3h75glg4rvuh AT lucy DOT dinwoodie DOT org>
<59444fc7-cb7f-4673-3ceb-a55980085e53 AT dronecode DOT org DOT uk>
In-Reply-To: <59444fc7-cb7f-4673-3ceb-a55980085e53@dronecode.org.uk>
From: Vanda Vodkamilkevich <vanda DOT vodkamilkevich AT gmail DOT com>
Date: Thu, 10 Feb 2022 15:41:20 +0100
Message-ID: <CA+GYywC1hwoD45HYUA7+LG6m-P703JgpOCXW4+A8P-LoG-_P6Q@mail.gmail.com>
Subject: Re: Switch to a new PC
To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: The Cygwin Mailing List <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 21AEfm2W002135

I've retried with the 'P' option and now I get it: when using this option
the package selection page doesn't show it as 'selected' (no version or
action seen in the 'New' column') but if you click 'next' it works!  I
don't know how to send a screenshot but I hope that you get what I mean.

When I made my first attempt I was confused with this display and I just
stopped instead of continuing... Maybe the graphical interface should
reflect somehow the '-P' chosen packages?

Le jeu. 10 févr. 2022 à 14:54, Jon Turney <jon DOT turney AT dronecode DOT org DOT uk> a
écrit :

> On 09/02/2022 18:05, Adam Dinwoodie wrote:
> > On Wed, Feb 09, 2022 at 04:12:28PM +0100, Vanda Vodkamilkevich wrote:
> >> On Fri, Feb 4, 2022 at 13:12  AM  marco.atzeri  wrote:
> >>
> >>>> I wouldn't expect most tools to work on special files in /dev. Even
> tar
> >>>> fails on /proc, it would begin to pack your local registry...
> >>>> Make a basic installation on the new system, then sync the rest.
> >>>> An even cleaner way might be to clone your installation via setup,
> using
> >>>> /etc/setup/installed.db - maybe someone has a script for that -
> >>>> and then just sync the /home hierarchy.
> >>>
> >>> script I wrote some time ago for re-installation
> >>>
> >>>
> >>
> https://stackoverflow.com/questions/46829532/cygwin-save-package-selections-for-later-reinstall/
> >>>
> >>>
> >> Just for the record:
> >> I just played with the script provided in stackoverflow which generates
> a
> >> bat file, and it seems that the behaviour of the '-P' switch of setup
> has
> >> changed because now it explicitely needs the version of the package (at
> >> least for me it didn't worked without the version number:  " -P
> >> package=version_as_seen_by_cygcheck") . Can someone (probably Jon
> Turney)
> >> confirm this usage of the '-P' switch (BTW the mandatory '='  is
> explained
> >> nowhere - Nor in 'setup -h' or the setup web pages - and can be seen
> only
> >> in  the source code).
>
> It's not mandatory.  If you're looking at the source code, you should
> see that the case where '=' is not present is also still handled.
>
> Yes, it should be documented, but so should the rest of the format of
> the string which -P accepts...
>
> > I don't think this is correct.  I use the setup program's -P option
> > regularly, including with the latest 2.917 release, and it successfully
> > installs packages.  Indeed, I've just tried running it to install
> > 2048-cli (given it's a package I know I don't have installed) and it
> > successfully installed the package without specifying a version number.
> >
> > Can you give a bit more information about exactly what commands you're
> > running, what you're expecting to happen, and what precisely happens
> > instead?
>
> Yeah, what he said :)
>
> That's not to say that -P isn't picky in the precise format of the
> package list it accepts (that might have unfortunately changed), and the
> error reporting when the package list doesn't meet it's expectations is
> weak, but it works for me, so an instance of a setup invocation which
> fails because it doesn't contain '=' would be very helpful.
>
>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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