delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/10/12:13:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B97D343.8040302@towo.net>
Date: Wed, 10 Mar 2010 18:13:39 +0100
From: Thomas Wolff <towo AT towo DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Installing a "copy" of an installation on a new computer
References: <c5341f401003080045n2fbf9f68g288693774337d553 AT mail DOT gmail DOT com> <c5341f401003092338s721e798blb774b3c9a8c70de8 AT mail DOT gmail DOT com> <4B97B33B DOT 2060209 AT cygwin DOT com>
In-Reply-To: <4B97B33B.2060209@cygwin.com>
X-IsSubscribed: yes
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

--------------000901050405030305050703
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 10.03.2010 15:56, Larry Hall (Cygwin) wrote:
> On 3/10/2010 2:38 AM, Olle Olsson wrote:
>> Hi,
>>
>> I found the following
>>    http://www.cygwin.com/ml/cygwin/2006-05/msg00753.html
>> which might provide one practical solution. Will try this.
>
> Thanks for the vote of confidence but since that was a fairly
> labor intensive way of doing it and came at a time when 'setup.exe'
> wasn't as equipped as it is today to handle this more directly, I
> would no longer advocate going that route.  Using 'setup.exe' at
> the command line and specifying the packages you want is a better
> way to go.
As I understand the sparse description setup --help gives for -P, you 
would have to list all packages separately.
I don't feel that's easier than to use a slightly modified copy of 
installed.db.
An option to use a package list from a file (ignoring version 
information) would be helpful,
and a hint how to get that information from an existing installation.

Actually this reminds me of a script I made a few weeks ago to recover a 
damaged installed.db (not strictly related, sorry);
After I had switched setup target directories (for a second test 
installation of cygwin on a machine), somehow installed.db of my first 
installation was missing all my extra packages and setup wanted to 
install everything again, so I recovered installed.db from the package 
directory. Script attached in case it's of interest for anyone.

------
Thomas

--------------000901050405030305050703
Content-Type: text/plain;
 name="installed"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="installed"

IyEgL2Jpbi9zaAoKIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMK
IyByZWNvdmVyIGJyb2tlbiBpbnN0YWxsZWQuZGIgZnJvbSBwYWNrYWdlIGRv
d25sb2FkIGRpcmVjdG9yeQoKcGFja2Rpcj0kKGN5Z3BhdGggJChjYXQgL2V0
Yy9zZXR1cC9sYXN0LWNhY2hlKSkKCmVjaG8gSU5TVEFMTEVELkRCIDIKCihj
ZCAiJHBhY2tkaXIiOyBmaW5kIC4gLW5hbWUgIiouYnoyIikgfApzZWQgLWUg
InMsLiovLCwiIC1lICJzLFwoLVswLTldXCksIFwxLCIgLWUgInMsXChbXiBd
KlwpIFwoLipcKSxcMVwyIFwxLCIgfApzb3J0IC1uciB8IHVuaXEgLWYgMSB8
IHNvcnQgLW4gfApzZWQgLWUgInMsXCguKlwpIFwoW14gXSpcKSxcMiBcMSAw
LCIKCmVjaG8gPiYyCmVjaG8gIlJlZGlyZWN0IG91dHB1dCB0byAvZXRjL3Nl
dHVwL2luc3RhbGxlZC5kYiB0byBvdmVyd3JpdGUgKENBVVRJT04hKSIgPiYy
Cg==


--------------000901050405030305050703
Content-Type: text/plain; charset=us-ascii

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

- Raw text -


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