From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by sourceware.org (Postfix) with ESMTPS id 64DC63858C83 for ; Wed, 9 Feb 2022 15:12:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 64DC63858C83 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-xb2a.google.com with SMTP id 192so6746993ybd.10 for ; Wed, 09 Feb 2022 07:12:41 -0800 (PST) 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; bh=Vsyk7Kx5gTRbhIZwcTRDGWwNIOEMFCrYDyaC+FeUrMA=; b=K3UE7vwq4UCfSD6OYqv8XDIR1pVSYhrFmIB4EWmtCOZDz9ddutb9U5cfGrdcPYq7Uu BA1h57ip9I4jUe0G+vvtvcOpySQ1GP8GAN8aa6LQcEoav4flfVCDMGrdjT4MIuCJj+6L dQcIGRCppudSC7EH5gqEBT/feLsXUAayQbJydmxVwLltPPLNI+mEQRZGP8S8j9fpiL0x DRhAmbM4Cze1niHmL+b0pH95kfV1Q5/IDmu8Hi3l4zbigzTjz9RWxnwbK71IwXM6GRLc ny1ljI7IuJ1egqC1h4c+dLHkes+zGYY+OCvyn97c66y4tZlwc8NtrM1ZcOU0+xTCTdyw uNwA== 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; bh=Vsyk7Kx5gTRbhIZwcTRDGWwNIOEMFCrYDyaC+FeUrMA=; b=iGbaHeA2mIEAfldUAOFX0pHElUIxfGjBz4KARFEQVv7u1YE7/iN5TsfOPMMNW33k/h WKn2euiqvAK00grff9FJNtk1qitQ0aDAqQDG3VZE7wUMATcItb2tSkHoeQgN7DMEed8o NX8HSz9w+S0gmdhcjwxCOu5gRC3eqgSpsjl6u7r6tLcxfwFUY4jKfYdMXomgdw1Bic6x gv5TsbBCYfX1hjSgofOitezjgzLwRIstFGN+v4OIIgltEIhdggu4CZBFqI7DgNRtnxFt R9aVscHi5WEE6zN2n33Om/FvglD5OVi1llokdv5amYyIC01NbmyvksLupSz2MerlFMO1 C7hw== X-Gm-Message-State: AOAM5325RJsl7B1T5JHjmo9+Na7nVnZveFGxpkohPgKcBjRZ0J5zNfD1 GltFFKSY6UFFWA9MZwQf0ho7H7SgDW/KJ6ndRrIH1dxoNwI= X-Google-Smtp-Source: ABdhPJzfpVP7JfhxQWz0d/IzFciSvqGwl5WaLcu2CAl46MyBvLalrMsCwyYAKQQ/9ynLKjDs5GRYKUDfs143LPnNMn4= X-Received: by 2002:a25:b805:: with SMTP id v5mr2424195ybj.266.1644419560933; Wed, 09 Feb 2022 07:12:40 -0800 (PST) MIME-Version: 1.0 References: <1c710a38-0f55-e150-ea6d-83ce8de48557@towo.net> In-Reply-To: From: Vanda Vodkamilkevich Date: Wed, 9 Feb 2022 16:12:28 +0100 Message-ID: Subject: Re: Switch to a new PC To: cygwin@cygwin.com X-Spam-Status: No, score=3.1 required=5.0 tests=BAYES_50, 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_KAM_HTML_FONT_INVALID, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2022 15:12:43 -0000 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=3Dversion_as_seen_by_cygcheck") . Can someone (probably Jon Turney) confirm this usage of the '-P' switch (BTW the mandatory '=3D' is explaine= d nowhere - Nor in 'setup -h' or the setup web pages - and can be seen only in the source code). By needing the version number the script on stackoverflow will then generate a "too long" command in the bat file and it will crash; I had to modify it manually to split the command line in 4 ... Note on the script: if you forgot to run it before loosing your cygwin tree, it can still work after a 'Base' installation if you kept the old installed.db file and replace (temporary) the actual installed.db with this one :) Cheers, Le ven. 4 f=C3=A9vr. 2022 =C3=A0 13:13, marco atzeri a =C3=A9crit : > On Fri, Feb 4, 2022 at 11:52 AM Thomas Wolff 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, usin= g > > /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-selectio= ns-for-later-reinstall/ > > > > Thomas > Regards > Marco > > -- > 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 >