delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/20/11:29:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Mon, 20 Jun 2005 11:27:58 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Oliver Geisen <technik AT kreisbote DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: Clone cygwin-setup settings from one PC to another
In-Reply-To: <36769e80f7687e4bd5c02e3a6c95f23d@kreisbote.de>
Message-ID: <Pine.GSO.4.61.0506201111370.10263@slinky.cs.nyu.edu>
References: <da240a29d2945be9355aaf544fb01f67 AT kreisbote DOT de> <030801c5735f$a86cd800$e6ec6f83 AT chimaera> <Pine DOT GSO DOT 4 DOT 61 DOT 0506171336170 DOT 4421 AT slinky DOT cs DOT nyu DOT edu> <36769e80f7687e4bd5c02e3a6c95f23d AT kreisbote DOT de>
MIME-Version: 1.0

On Mon, 20 Jun 2005, Oliver Geisen wrote:

> > > > is it possible to find out which packages installed via SETUP.EXE on
> > > > one PC and use this information (selection) to automatically install
> > > > the same on another PC ?
>
> > Or simply copy the installed.db file, make the package cache available on
> > the network, do "install from local directory", and set All to
> > "Reinstall".
>
> Sounds good...
>
> > There may even be a command-line option to setup to do this.
> > You'd still need to replicate any changed configuration files, though...
>
> "may" ? or is there any ?

"May".  I recall a patch to setup to add an "--install-all" option, but I
don't think it's been applied.  Here's a reference to the thread:
<http://cygwin.com/ml/cygwin-apps/2005-05/msg00235.html> -- feel free to
extend on it to get a "--reinstall-all" option (which would probably be
more useful anyway).

> This would be the key for a distribution system.
>
> So i could save the "installed.db" for some systems according to their
> station names und start an sync-script everytime i change something.

Once the above option is in setup, this might work.

> This script could be started from ssh-bash.

Careful there!  One issue with this is that unless you're running a
non-Cygwin sshd and bash, replacing the dependencies of either program
will require a reboot.  Another issue is that setup.exe is a pure Win32
program, and will require that the sshd service has the "interact with
desktop" bit.

> BTW: What is the meaning of the *.lst.gz -files in the /etc/setup folder ?

They contain the listings of all installed packages -- "cygcheck -l" uses
them, as well as "cygcheck -f".
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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