delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/01/00:47:35

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: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 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.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 AT ger DOT gmane DOT org>
From: Doug Henderson <djndnbvg AT gmail DOT 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 AT cygwin DOT com>
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

- Raw text -


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