delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/01/02:19:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A73E179.2040707@gmail.com>
Date: Sat, 01 Aug 2009 07:32:25 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: install from install files?
References: <2d4e447c0907280428n37280f47p17f24645b61dfd24 AT mail DOT gmail DOT com> <2d4e447c0907280436gab6e020gb4518b1dbbad7682 AT mail DOT gmail DOT com> <4A6EEB12 DOT 6000504 AT gmail DOT com> <2d4e447c0907281633l7c868d87v9099adb83524e46d AT mail DOT gmail DOT com> <4A6FBA4C DOT 4090301 AT cygwin DOT com> <20090731221555 DOT GA4864 AT LTC-XPL-330>
In-Reply-To: <20090731221555.GA4864@LTC-XPL-330>
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

Tom Hall wrote:
> On Tue, Jul 28, 2009 at 10:56:12PM -0400, Larry Hall (Cygwin) wrote:

>> I know this is not your question but I figured it was a point that was worth
>> documenting for the archives if nothing else (though it has been made
>> before so this would just be a "recent" version).  You only get another
>> folder if the mirror you selected for this update was different than the
>> one(s) you selected the last time you ran 'setup.exe'.  'setup.exe' will
>> use (and remember) up to 4 simultaneously selected mirrors.  So you only
>> need to select a (set of) mirror(s) once unless you prefer to do
>> otherwise.
> 
> I've got 8 of these directories in my local package directory; some end with
> %2f (/) and some don't. 
> 
> I zipped all this up, unzipped it on a new computer, and pointed setup to the
> unzipped copy, but setup hardly installed any of the packages, even though I
> can see all the the packages' tar.bz2 files there.
> 
> I don't think the setup.ini files are getting merged correctly.

  You've misunderstood.  The setup.ini files *are* getting merged correctly, and
as a result you have the option of installing any of the packages that you have
stored in any of the download directories.  However, setup.ini only stores the
list of available packages; it does not carry the particular selection that you
have installed in a particular machine.

> Is there some way I can re-create one big setup.ini file from my current
> computer, and just have setup use that on the new computer ?

  Yes.  The information about which packages you actually have installed lives
in /etc/setup/installed.db.  If you copy over the installed.db from the old
machine to the new one (in the correct place where it's going to live in the
eventual new cygwin installation, i.e. C:\cygwin\etc\setup\installed.db if
you're going to install to C:\cygwin), run setup.exe, tell it to install from
the local package dir that you've already copied across and on the chooser page
click 'reinstall' at the top level of the package tree view, it should then
install the same set of packages.

    cheers,
      DaveK


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