delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 96A103858408 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1686833310; | |
bh=pzpUx1vvEsqdDVuskMDOc6Tuda6xU+82wfPRnoxlfrc=; | |
h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: | |
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: | |
From:Reply-To:From; | |
b=NL0nDFTbrCwZP+VqBVfoM9SpER3TNLH6U/wpTKtQsd6qLEXS7AKHx6Ie+MGtbJo3N | |
KdEy2xgaBz7XZllNFEkV7GZL9hkzqf1BJGtdDGmZX4Ijdz3xfKdxAgERuwJmhUymHU | |
4ghSHgVP9nojKi27G9zik+ijMEoVYa8zFD/pyEpk= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org C35F73858C2F |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20221208; t=1686833272; x=1689425272; | |
h=cc:to:subject:message-id:date:from:in-reply-to:references | |
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id | |
:reply-to; | |
bh=VFtUSbLIpXz7Zqv3w8awlBuPW8VV7P+qGGFHfOhs5Kg=; | |
b=hit9KHC3wbz6SAOTCs4NVg1tqC2NC5nuO0KnFleNzZuLZAXHhlPH1VJYfKXhmmOIBI | |
UQ4+HDHSMSzeV6pG36hgoojZCFifGJW379lsZDCsC46wbBTa8dpoOYPORl18Ff6KNYHF | |
vmxUnwz0gN4iSI0rRhSa5q/PNeJoj2euQgCB7sCD0u4oB1IYXQ7uSZVjvC6cVpmhr7G/ | |
EvKMbRrXxnO9Q+FIaA/d6NkOZkZVwfl+2DXb5/XFomcIfiLLkVatgTONVNDDmDrAohRW | |
AptaeYvlADrOVU+J33YmPKVf7EChHLk+Q3kTSu87IA5j7dG/JvMK9vyVpqRoeqBEc6/J | |
xKTw== | |
X-Gm-Message-State: | AC+VfDy6+0v0tI9Z1RWlLRPJoAcR/VxcReh7sNgcw8yKOKqxxStarD/r |
Lwv/CvjoNNZ7BKuA0qpigO7xgg4LZwPRuz4BkwIJoeWX6YY= | |
X-Google-Smtp-Source: | ACHHUZ6oW0Zqu+1UqOllfXhovKP7TE8Rd+Z2QqK7cDY+q2Aix08tVqrMS+3mlnWgS8tWAn9UwWNg1SH1Z/kFyIqstoI= |
X-Received: | by 2002:a81:7584:0:b0:565:da5b:ab9d with SMTP id |
q126-20020a817584000000b00565da5bab9dmr4554171ywc.14.1686833271952; Thu, 15 | |
Jun 2023 05:47:51 -0700 (PDT) | |
MIME-Version: | 1.0 |
References: | <648ae4b3 DOT 170a0220 DOT 7a40 DOT c67dSMTPIN_ADDED_BROKEN AT mx DOT google DOT com> |
In-Reply-To: | <648ae4b3.170a0220.7a40.c67dSMTPIN_ADDED_BROKEN@mx.google.com> |
Date: | Thu, 15 Jun 2023 14:47:40 +0200 |
Message-ID: | <CAB8Xom-UV255-zUQ7Ei2dKap-Txx+U6LcaHOPwYQ2Ect5gJYTA@mail.gmail.com> |
Subject: | Re: help needed - transition from 32bits to 64bits |
To: | gh <gilbert DOT harrus AT club-internet DOT fr> |
Cc: | cygwin AT cygwin DOT com |
X-Spam-Status: | No, score=1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, LIKELY_SPAM_BODY, | |
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, | |
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 | |
X-Spam-Level: | * |
X-Spam-Checker-Version: | SpamAssassin 3.4.6 (2021-04-09) on |
server2.sourceware.org | |
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> | |
From: | marco atzeri via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
--000000000000f8938c05fe2a79b5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jun 15, 2023 at 12:15=E2=80=AFPM gh via Cygwin wrote: > > Dear all, > > Sorry if this question was already answered somewhere in the FAQ. > > > > I am running a deprecated 32bits version, and want to switch to 64bits. I= nstall procedure is easy, but does not cover one thing : I > would like to preserve the list of packages I have installed, and minimiz= e the change of paths in my windows environment (did not > change anything for the last 10 years, so I don't want to dig into where = are things). > > > > Currently, cygwin is in C:\cygwin, which I have moved to C:\cygwin-bck. I= then want to install in the now almost empty C:\cygwin, > but copying there the necessary config files so that setup-x86_64.exe kno= ws which packages to download. > > > > Thanks in advance, > > > > Gilbert > Hi Gilbert, No need to rename the directory as the Cygwin 64 bit will be installed in C:\Cygwin64 folder Attached the script that I use to reinstall my system on different computer= s. It can be adapted to duplicate the 32bit in a 64 bit installation Assuming your file list is not longer than 32K, this should work : chmod + x cyg-reinstall.sh sed -e "1d" /etc/setup/installed.db | sed -e "s/ .*$//" > filelist.txt ./cyg-reinstall.sh -f filelist.txt cp cyg-reinstall-x86.bat cyg-reinstall-x86_64.bat sed -i -e "s/setup-x86.exe/setup-x86_64.exe/" cyg-reinstall-x86_64.bat if the "filelist.txt" is too long you can split in multiple chunks, like: grep -v "^lib" filelist.txt > nolib-list.txt grep "^lib" filelist.txt > lib-list.txt I usually need to split mine, as my installation hit the 32K limit of command line wc -l *.txt 2608 filelist.txt 1297 lib-list.txt 1311 nolib-list.txt ls -1s *.txt 40K filelist.txt 20K lib-list.txt 20K nolib-list.txt Regards Marco --000000000000f8938c05fe2a79b5 Content-Type: text/x-sh; charset="US-ASCII"; name="cyg-reinstall.sh" Content-Disposition: attachment; filename="cyg-reinstall.sh" Content-Transfer-Encoding: base64 Content-ID: <f_lix4dt4n0> X-Attachment-Id: f_lix4dt4n0 IyEvYmluL2Jhc2gKI0NvcHlyaWdodCAoYykgMjAyMSwgMjAyMyBNYXJjbyBBdHplcmkKI0FsbCBy aWdodHMgcmVzZXJ2ZWQuCgojUmVkaXN0cmlidXRpb24gYW5kIHVzZSBpbiBzb3VyY2UgYW5kIGJp bmFyeSBmb3Jtcywgd2l0aCBvciB3aXRob3V0CiNtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQg cHJvdmlkZWQgdGhhdCB0aGUgZm9sbG93aW5nIGNvbmRpdGlvbnMgYXJlIG1ldDoKIzEuIFJlZGlz dHJpYnV0aW9ucyBvZiBzb3VyY2UgY29kZSBtdXN0IHJldGFpbiB0aGUgYWJvdmUgY29weXJpZ2h0 IG5vdGljZSwgdGhpcyBsaXN0IG9mIGNvbmRpdGlvbnMgYW5kIHRoZSBmb2xsb3dpbmcgZGlzY2xh aW1lci4KIzIuIFJlZGlzdHJpYnV0aW9ucyBpbiBiaW5hcnkgZm9ybSBtdXN0IHJlcHJvZHVjZSB0 aGUgYWJvdmUgY29weXJpZ2h0IG5vdGljZSwgdGhpcyBsaXN0IG9mIGNvbmRpdGlvbnMgYW5kIHRo ZSBmb2xsb3dpbmcgZGlzY2xhaW1lciBpbiB0aGUgZG9jdW1lbnRhdGlvbiBhbmQvb3Igb3RoZXIg bWF0ZXJpYWxzIHByb3ZpZGVkIHdpdGggdGhlIGRpc3RyaWJ1dGlvbi4KIzMuIEFsbCBhZHZlcnRp c2luZyBtYXRlcmlhbHMgbWVudGlvbm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IGluIGZpbGVsaXN0 IChvbmUgcGVyIHJvdykiCiAgICAgICAgZXhpdCAxCmZpCgppZiBbICQoYXJjaCkgPT0gIng4Nl82 NCIgXQp0aGVuCiAgQT0ieDg2XzY0IgplbHNlCiAgQT0ieDg2IgpmaQoKIyB3cml0aW5nIGhlYWRl cgplY2hvIC1uIC1lICJzZXR1cC0ke0F9LmV4ZSAgIiA+IGN5Zy1yZWluc3RhbGwtJHtBfS5iYXQK CiMgb3B0aW9uICAteCByZW1vdmUgYW5kICAtUCBpbnN0YWxsCiMgZm9yIHJlLWluc3RhbGwgcGFj a2FnZXMgd2UgbmVlZCBib3RoCmlmIFsgJDEgPT0gIi1JIiAtbyAkMSA9PSAiLXIiIF0KdGhlbgog IGF3ayAnQkVHSU57cHJpbnRmKCIgLXggIil9IE5SPT0xe3ByaW50ZiAkMX17cHJpbnRmICIsJXMi LCAkMX0nICR7bGlzdGF9ID4+IGN5Zy1yZWluc3RhbGwtJHtBfS5iYXQKZmkKCmlmIFsgJDEgPT0g Ii1JIiAtbyAkMSA9PSAiLUEiIC1vICQxID09ICItZiIgXQp0aGVuCiAgYXdrICdCRUdJTntwcmlu dGYoIiAtUCAiKX0gTlI9PTF7cHJpbnRmICQxfXtwcmludGYgIiwlcyIsICQxfSBFTkQgeyBwcmlu dGYgIlxyXG4gcGF1c2UgIn0nICR7bGlzdGF9ID4+IGN5Zy1yZWluc3RhbGwtJHtBfS5iYXQKZmkK CiMgZXhlY3V0aW9uIHBlcm1pc3Npb24gZm9yIHRoZSBzY3JpcHQKY2htb2QgK3ggY3lnLXJlaW5z dGFsbC0ke0F9LmJhdAoK --000000000000f8938c05fe2a79b5 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- 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 --000000000000f8938c05fe2a79b5--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |