delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/02/03:17:58

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=DuTkl1QgeaEJoTpX+4gNlqmSF/zU52CH6GLLQjJ3nwCuvJOrpcHg/
SAeGtGf5yXhqbSHYz6kKmO8h+zBaPDKIFXyDiJXtHBgmKwvgrDTqWTJwUuuDZNQB
CJRKvEj1edTir5cI2wmSe985PlrezKFhP9R7+vIS1HrxiYJh1PdIVc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=RKArqbVjPMendoGqeW61z3/KI5M=; b=PmqIJAO8BcWIg2b8YuAF+GMB3slH
nbtLtElmCc1VEZcXfPoC6MO7iaPpsY1guVmIuxlcgPqAvWPtslgwHfpPTepxJ3fa
XpKYAHmB6RrYeEJjpZPCL7Q2+5WrqgUGwdWtjGXeFlb1SL5nQ9XBLe3ukvO5xMdx
h5fZ6wtaqxwsM/Q=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: Running Cygwin's "setup.exe" on a new computer
Date: Wed, 2 Sep 2015 07:17:27 +0000 (UTC)
Lines: 30
Message-ID: <loom.20150902T091036-468@post.gmane.org>
References: <21989 DOT 40723 DOT 827300 DOT 907850 AT woitok DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

> having installed Cygwin on my old computer  it's now time to move to new
> hardware.   Are there any  Cygwin configuration  or status files I could
> copy from the old box  to the new one  which would cause  "setup.exe" on
> the new machine to automatically install the same packages as on the old
> computer (except for version changes or new dependencies)?

You can drop /etc/setup/installed.db into the new installation directory and
make them all "outdated":

sed -i.bak -re 's/^(.+) .+ 0$/\1 \1-0-0.tar.bz 0/' /etc/setup/installed.db

Running setup on this will then "update" all these packages.  It will
complain about the missing package lst.gz files of course, but you can
ignore that.

> One minor additional problem perhaps:  the old box is 32 bit,  while the
> new one is 64 bit.

There's only a handful of packages left where that makes a difference.

> PS:  Please also reply  by personal mail  as I am not  subscribed to the
> Cygwin mailing list.

No can do via Gmane and the list is set up specificaly to prevent this
anyway.  In general, if you do indeed care about the answers you can always
check Gmane or the mailing list archives.


Regards,
Achim.


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019