X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=Ljse7F0
	sAZbSgkYMOVANEFLz77HPX4X/8DI03bjTerOvm/kW0O3aS5er7rO9BHCL4wQOP9P
	SaOWJMqoXgCXB+NA0ht39MmrrK7KDdrVu5ULpoi4e9W4/9vjPdOQ1fZEweL9Wja6
	nMzasRIq4MKQc0PBsci3Pcys5KJrYRHVKeSU=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=YHa0sNfMWN98a
	EDMYGAU6jnvueA=; b=i/fl2ChS9fwBQLMx0mvgHWkX5ffAOZHUUjlZ7kAhA8mvN
	fKDGZHVoXE1MaEya54r9dx1COe5ozscYxBlI3EXaaL2g6tFiGA43fY3TfHjU1N9J
	GVV7Ahw3hfV1Lgmj2KuOdGpJd6PM2sgtBN/NCb56mVQkTUR+a95IjTOvgT0bKY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-vc0-f180.google.com
X-Received: by 10.52.110.134 with SMTP id ia6mr167902vdb.69.1414817233567; Fri, 31 Oct 2014 21:47:13 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <m30gho$t2r$1@ger.gmane.org>
References: <m30gho$t2r$1@ger.gmane.org>
From: Doug Henderson <djndnbvg@gmail.com>
Date: Fri, 31 Oct 2014 22:46:53 -0600
Message-ID: <CAJ1FpuN-+M36OaHjR0Jq2e59R6K9+Y+J=64p=WUBXF5NUxqGqg@mail.gmail.com>
Subject: Re: migrate a cygwin installation
To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On 31 October 2014 11:23, Hans Horn wrote:
> What is the current recommended way to migrate a cygwin installation?
> my c: drive has gotten full to the brim.
> Tried to follow some older instructions online (~2009) but they do not seem
> to work anymore.
> Thx.
> H

You can use "cygcheck-dep -c -l -i" to list the minimum set of
packages required to reinstall all your installed packages. When you
run the architecture specific setup command, with the listed set of
packages selected, setup will recursively find all the packages
required by the selected packages. You will be prompted to accept a
list of these required packages after you click next from the package
selection screens.

On my laptop, I have 209 packages installed. The "cygcheck-dep -c -l
-i" command lists 46 packages. Some of these are included in the
initial package list, so they will be automatically installed on all
systems. If I manually select all the unselected members of this 46
package set, I will end up with 208 installed packages. The
cygwin-debuginfo will not automatically reinstall.

The <PKG>-debuginfo packages will not automatically reinstall, as they
are not automatically installed and do not have dependencies on other
packages. I would need to manually reinstall those, if I still needed
them. I do not have any <PKG>-src packages installed, so I am not sure
what will happen with those. Use the "cygcheck -c" command to get a
full list of your installed packages with version and status
information.

If you have test and prev package versions installed, this process
will install the current version. It does not attempt to handle
packages from other distributions like cygwinports and other "extra"
package sources.

I am currently using this process to semi-automatically generate a
batch file to quickly recreate a cygwin installation on new virtual
machines.

As always, YMMV.

Doug

-- 
Doug Henderson, Calgary, Alberta, Canada

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

