X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 4 Apr 2008 10:12:01 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Michael Kairys <kairys@comcast.net>
cc: cygwin@cygwin.com
Subject: Re: A small suggestion to setup.exe of cygwin
In-Reply-To: <ft56du$8g3$1@ger.gmane.org>
Message-ID: <Pine.GSO.4.63.0804041008130.10273@access1.cims.nyu.edu>
References: <BAY117-W32B0E5FDEF0427A8EACB62A2F70@phx.gbl> <47F54AC1.6050103@cygwin.com>  <ft56du$8g3$1@ger.gmane.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Fri, 4 Apr 2008, Michael Kairys wrote:

> "Larry Hall (Cygwin)" <reply-to-list-only-lh@XXXXXX.XXX> wrote in message news:47F54AC1.6050103@cygwin.com...

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

> >  wrote:
> > > Michael wrote:
> > > > I've wondered about this too... So if I have changed my Cygwin
> > > > setup on one machine and I want to duplicate those changes on
> > > > another machine, all I have to do is copy installed.db to the
> > > > other machine and run setup.exe there?
> > >
> > > But what I suggested on the other hand is the same as Michael's idea.
> > > I would like to see if cygwin's setup.exe could somehow "import" an
> > > install.db file and perform setup automatically to copy a cygwin
> > > environment with all of your preferred packages.
> >
> > Putting "/etc/setup/installed.db" in place before running 'setup.exe'
> > should make it think all those packages are installed.
> > [snip]
> > This does presuppose that you
> > have a local package directory with all the packages/versions you
> > want and that you've told 'setup.exe' to install from that local
> > package directory.
>
> Why is that? If I'm set up to install from the Internet wouldn't
> reinstall all go there? I've never kept a local package directory...

Because the versions you had on your old machine may no longer be
available on Cygwin mirrors.

If you want to replicate the packages, but not the versions, installing
from the Internet is fine (again, change all versions to 0.0 if you want
that, to make sure setup picks up the packages).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it." -- Rabbi Hillel

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

