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 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 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 AT towo DOT 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 AT cygwin DOT 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 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 List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 219FDKDm012576 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). 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évr. 2022 à 13:13, marco atzeri a écrit : > 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, 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/ > > > > 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 > -- 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