From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12857 invoked by alias); 25 Nov 2018 20:13:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 12729 invoked by uid 89); 25 Nov 2018 20:13:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1434, scripts, services, Hx-spam-relays-external:ESMTPA X-HELO: mx009.vodafonemail.xion.oxcs.net Received: from mx009.vodafonemail.xion.oxcs.net (HELO mx009.vodafonemail.xion.oxcs.net) (153.92.174.39) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 25 Nov 2018 20:13:55 +0000 Received: from vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id D4F38D9B19A for ; Sun, 25 Nov 2018 20:13:52 +0000 (UTC) Received: from Gertrud (unknown [91.47.63.38]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id AE92D199C0F for ; Sun, 25 Nov 2018 20:13:50 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: tar cygwin64/ from old to new computer? References: <20181125143854.GA20164@ingber.com> <20181125193110.GA18332@ingber.com> Date: Sun, 25 Nov 2018 20:13:00 -0000 In-Reply-To: <20181125193110.GA18332@ingber.com> (Lester Ingber's message of "Sun, 25 Nov 2018 11:31:10 -0800") Message-ID: <87efb8lxtt.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-11/txt/msg00179.txt.bz2 Lester Ingber writes: > On the new PC I use Powershell (as Admin) to run setup-x86_64.exe for the= Base setup. Not absolutely needed, but it creates all the directories and files you need correctly, so it's a good start. > From the old PC I can use the /etc/setup/installed.db file in the new mac= hine at the same location. =E2=80=A6then modify it as described and then run setup.exe again and let it "update" your installation. If you had any services running you'll also need to run their initialization scripts again. > On the old machine, 5-6 years ago I used c:/cygwin64/ for the top > directory, but now I'll use c:/cygwin/ . I don't think this affects > anything. Not unless you have scripts that use the Windows path someplace. You'll find out soon enough, I think. > I'll tar up all my /usr/local/ files to drop into the new PC. > > I didn't see the posting referred to by Achim, but I think all I need is = the above. It was this one: https://sourceware.org/ml/cygwin/2015-09/msg00023.html You need a slight modification of the sed script however due to a more recent format change of installed.db: sed -re 's/^(.+) .+ ([01])$/\1 \1-0-0.tar.bz \2/' installed.db.old > /etc/s= etup/installed.db=20 Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves -- 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