From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by sourceware.org (Postfix) with ESMTPS id DDFC33858419 for ; Wed, 22 Nov 2023 22:45:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DDFC33858419 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DDFC33858419 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::52a ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700693111; cv=none; b=TNikH+ZM2NdYJtMADnpn499kW61DjSrGKDGHTVZxC329dJP2apznPAiyCKapypiq+xTTJ1kUB2tQaPdeFJLqRpadse6QWyXQq2+UkY7GdCBmVj6DIXRG11mhy4Itz4QgGGPfRHThxCtfVf93a3WKtsZbVXt/mbDdkub6U/0QrX8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700693111; c=relaxed/simple; bh=2Xbo4F7KRbgFkFoKca3It5w6N4jGI3Te/e+w/3qrHgg=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=lMjUwaUzRTQlSup6yD0UtPyyUZOxb5EVxOrVMM7Mrza60chLvxxzgEZ6UE2uWX0skUcYC/39CUf1DF/hWENM2GDFmNMHFkQPoqhhC6Pjucy1kFsJtQPZI8GcK1mGRTiCNdl8wdYXLKtDC7+MTlG13swpGLa5fzMeJT78SzwpYPk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5401bab7525so384691a12.2 for ; Wed, 22 Nov 2023 14:45:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700693099; x=1701297899; darn=cygwin.com; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xeJzHFfl4kJm7U6x5OjfhnM0v7AS6SGuMjYAiIGa8dA=; b=j2+Sy9JzE2VFo+X46fj4zLfrGAwqyreK4mHTTrVTgrYVSGa9CpbXZ3btaIhzcZXsI1 gdgN9+KPZ8wwPLyYg6+MtlNSijhG8QvkXf1Eb1AYPPOEUyq/zBV2fGsGiPDQoFJDuGEZ r1ApdldFyT6rCj67Lc+ZNmsDkflGeAM/Du4GGh6PwklgMfnd958cnxzKo789bpPAk3w/ Ry1BJWg/iZ5qrpAkwCix9Yk2xe2Euu4kgSVHlLcJ0jEFdn9qfYbI9XpcKh29xEsi2yv0 ImE8k5HeYVSB6BUeJ+cTPONYeOTM5lQ+4VAbj75CEJ8Vr5DR7Lz7+81/00gWnuvqKNkR 3WsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700693099; x=1701297899; h=content-transfer-encoding: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=xeJzHFfl4kJm7U6x5OjfhnM0v7AS6SGuMjYAiIGa8dA=; b=l37pwsR8HQd9APdwQxzHI+ei0o+/vNVIhv3Akrj4Uggdl2jsXbV10lkgZKJ0neKzBR BhRgK3ognL6Jb1qGPuR64UjtEr7pBjkQsVlHlNhls32LUIISLX1UUCAntZw1TDLRtCct G9EiETj4rpkw4m72TMVH8SMeu9sPEZ4HRvrQV74DqhPghsEfoAOCsCa68uSDGMpD6g+d dOLKQBsUUJT7s6Mx02PqpPfXFF3Pwxr8D0RrbXtQxMEn+EPUSS4bkMoN/P5wzn8qwBK0 ph7RzOqo9VMmRBd92+eCwCQC2MO19LSFnrixf6F/Z3FNYEw2vUYWOHrUqecKE5Tx37iJ wK4Q== X-Gm-Message-State: AOJu0YzyPcPBI0S/PQtfYkEQZAsvhTbj2IsVZppzPn3dBSQ7M+wU9RVH nC/XnwcgfO/PVlnGrMmVRQCeUyiPvQD38fy+n8uRNba5 X-Google-Smtp-Source: AGHT+IGlEEq/Zfz6T/VNQ16Rk/qtwaU/ouydK9vMP7rgpzctY6fEC/1VTfuE+1wvFW2KUfuCs7TIGc8y/87ekYYUHX4= X-Received: by 2002:a50:ec8d:0:b0:543:8391:a19a with SMTP id e13-20020a50ec8d000000b005438391a19amr2598367edr.40.1700693099170; Wed, 22 Nov 2023 14:44:59 -0800 (PST) MIME-Version: 1.0 References: <147f983f-eab8-4605-11e6-14709c56d87b@cs.umass.edu> In-Reply-To: <147f983f-eab8-4605-11e6-14709c56d87b@cs.umass.edu> From: Cedric Blancher Date: Wed, 22 Nov 2023 23:44:23 +0100 Message-ID: Subject: Re: Capturing a Cygwin instance from another PC To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, 22 Nov 2023 at 17:15, Eliot Moss via Cygwin wro= te: > > On 11/22/2023 10:43 AM, Bill Stewart via Cygwin wrote: > > On Wed, Nov 22, 2023 at 7:53=E2=80=AFAM Jose Isaias Cabrera wrote: > > > > I have a new Win11 PC, and I wanted to capture the same Cygwin setup th= at I > >> have in another Win10 PC. I copied the C:\cygwin64 folder from the Win= 10 pc > >> to the Win11 pc, then I downloaded a fresh setup-x86_64.exe from > >> cygwin.com to the win11 PC. I ran it and chose "Install from Local > >> Directory" and only one shortcut for "Cygwin64 Terminal" was created o= n the > >> desktop. No Cygwin nor Cygwin-X folders were created on the Start menu= . The > >> original cygwin from the Win10 PC had X installed also. > >> > > > > I don't think "Install from Local Directory" means "reproduce same cygw= in > > installation on a separate computer". > > In fact, it means to install using the package files in some local direct= ory, > i.e., "assume the packages are already downloaded". > > It would be reasonable to copy over downloaded packages. > > I believe there are commands / techniques that would then make it fairly > easy to install that specific set of packages "from scratch" (but from > the local copy of the packages). Copying *installed* file hierarchies > is trickier because of permission / ownership concerns. Does Cygwin have a way to dump the list of installed packages, and feed that list back to Cygwin setup.exe? Ced --=20 Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur