This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Clone cygwin-setup settings from one PC to another

On Fri, 17 Jun 2005, Max Bowsher wrote:

> Oliver Geisen wrote:
> > Hello,
> >
> > 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 ?
> >
> > e.g. something like:
> >    cygsetup > mypacks.ini
> >
> >    setup.exe -install mypacks.ini
> Not at all as neatly as this, but after a fashion, sort of:
> Save a copy of the /etc/setup/installed.db file, and change all the version
> numbers in it to 0.
> Put the modified version of the file into the correct place on the second
> computer before starting setup.

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".  There may even be a command-line option to setup to do this.
You'd still need to replicate any changed configuration files, though...
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]