delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/25/15:55:50

X-Spam-Check-By: sourceware.org
Date: Thu, 25 May 2006 15:55:38 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jarl Friis <jarl AT softace DOT dk>
cc: cygwin AT cygwin DOT com
Subject: Re: Automated Cygwin install.
In-Reply-To: <m3bqtllxd6.fsf@zeus.intra.softace.dk>
Message-ID: <Pine.GSO.4.63.0605251549030.19906@access1.cims.nyu.edu>
References: <m3fyiykn9t DOT fsf AT zeus DOT intra DOT softace DOT dk> <4475F48D DOT 2040100 AT cygwin DOT com> <m3bqtllxd6 DOT fsf AT zeus DOT intra DOT softace DOT dk>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, 25 May 2006, Jarl Friis wrote:

> Hi Larry, thanks for the reply.
>
> "Larry Hall (Cygwin)" <reply-to-list-only-lh AT XXXXXX DOT XXX> writes:

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

> > Jarl Friis wrote:
> >> Hi.
> >> I have the following issue and according to google it seems like I am
> >> not the first one. I would like to tailor a package selection with
> >> the setup.exe utility, when that is done, I would like to make
> >> unattended installations of these packages on many machines. It seems
> >> like many people have questioned that before but I couldn't find good
> >> answers (the official recomended way) of doing so. Many answers on
> >> mailing lists refer to a dead link on unattended.sf.org The next best
> >> solution is of course to "copy" the package selection-set from one
> >> cygwin installation on one machine to another machine and the just
> >> run setup.exe with that package selection-set, so I don't have to
> >> spend 45minutes clicking around the GUI remembering which packages I
> >> selected in or out.  Can someone enlight me of how to do this best.
> >
> > Yep, that's one way.
>
> What do you mean? If you refer to my "next best solution", then please
> ellaborate on how I can actually do this. What cygwin file(s) contains
> the package selection-set from the GUI?

The file is called /etc/setup/installed.db.  Simply copy it to the same
location on the other machine, then edit it and change all version numbers
to 0.0-0.  That will ensure that you install the latest versions of the
same set of packages.

> > The other is to set up a local mirror with a setup.ini that includes
> > all the packages you want installed in the "Base" category.  Running
> > 'setup.exe' and choosing that mirror will install the new list of
> > default packages.  See the setup home page for details on this
> > (sorry, no direct pointer).
>
> I belive you mean this page:
> http://www.cygwin.com/cygwin-ug-net/setup-net.html

Correct.  Actually, you don't really need the whole setup.ini -- it's
enough to have one dummy package (empty bin tarball, empty source) in the
"Base" category, which depends on all the packages you want.  You can use
/etc/setup/installed.db as the source for the list of packages (or run
"cygcheck -cd", which will print that list to stdout).  If you choose to
go with this method, you'll need to select one of the official mirrors as
well).

There are two more ways: one is to set up a local mirror/shared package
repository that contains only the packages you want installed, and then
select "install everything" from that mirror/repository, and the other is
to use the experimental build of setup mentioned in
<http://cygwin.com/ml/cygwin-apps/2006-03/msg00109.html>.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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

- Raw text -


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