Re: tar cygwin64/ from old to new computer?
- Date: Sun, 25 Nov 2018 21:13:50 +0100
- From: Achim Gratz <Stromeko@xxxxxxxx>
- Subject: Re: tar cygwin64/ from old to new computer?
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 machine at the same location.
…then 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
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:
You need a slight modification of the sed script however due to a more
recent format change of installed.db:
sed -re 's/^(.+) .+ ()$/\1 \1-0-0.tar.bz \2/' installed.db.old > /etc/setup/installed.db
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Wavetables for the Terratec KOMPLEXER:
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple