X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 4 Apr 2008 10:12:01 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Michael Kairys cc: cygwin AT cygwin DOT com Subject: Re: A small suggestion to setup.exe of cygwin In-Reply-To: Message-ID: References: <47F54AC1 DOT 6050103 AT cygwin DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Fri, 4 Apr 2008, Michael Kairys wrote: > "Larry Hall (Cygwin)" wrote in message news:47F54AC1 DOT 6050103 AT cygwin DOT com... . Thanks. > > wrote: > > > Michael wrote: > > > > I've wondered about this too... So if I have changed my Cygwin > > > > setup on one machine and I want to duplicate those changes on > > > > another machine, all I have to do is copy installed.db to the > > > > other machine and run setup.exe there? > > > > > > But what I suggested on the other hand is the same as Michael's idea. > > > I would like to see if cygwin's setup.exe could somehow "import" an > > > install.db file and perform setup automatically to copy a cygwin > > > environment with all of your preferred packages. > > > > Putting "/etc/setup/installed.db" in place before running 'setup.exe' > > should make it think all those packages are installed. > > [snip] > > This does presuppose that you > > have a local package directory with all the packages/versions you > > want and that you've told 'setup.exe' to install from that local > > package directory. > > Why is that? If I'm set up to install from the Internet wouldn't > reinstall all go there? I've never kept a local package directory... Because the versions you had on your old machine may no longer be available on Cygwin mirrors. If you want to replicate the packages, but not the versions, installing from the Internet is fine (again, change all versions to 0.0 if you want that, to make sure setup picks up the packages). 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! "That which is hateful to you, do not do to your neighbor. That is the whole Torah; the rest is commentary. Go and study it." -- Rabbi Hillel -- 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/