Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Oliver Geisen 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: References: <030801c5735f$a86cd800$e6ec6f83 AT chimaera> <36769e80f7687e4bd5c02e3a6c95f23d AT kreisbote DOT de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: -- 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/