Mail Archives: cygwin/2005/06/20/11:29:21
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 -