delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/04/07:21:05

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Michael Kairys" <kairys AT comcast DOT net>
Subject: Re: A small suggestion to setup.exe of cygwin
Date: Fri, 4 Apr 2008 08:20:37 -0400
Lines: 61
Message-ID: <ft56du$8g3$1@ger.gmane.org>
References: <BAY117-W32B0E5FDEF0427A8EACB62A2F70 AT phx DOT gbl> <47F54AC1 DOT 6050103 AT cygwin DOT com>
Mime-Version: 1.0
In-Reply-To: <47F54AC1.6050103@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

"Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> wrote in message 
news:47F54AC1 DOT 6050103 AT cygwin DOT com...
>想 李 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?
> > Thanks Larry, good to know "cygcheck" command and install.db.
> > Sorry that I should have take a look at FAQ more carefully since
> > all of above have been talked 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.
> >
> > This will make life easier without manually choose those packages
> > one by one from such a long list. You know, I always want to save my
> > hard disk but always forget something and have to run setup.exe
> > again and again. This will also give great ease when you transfer your
> > work from different computers, or when telling your colleague to
> > create the same cygwin env as yours.
> >
> > Or, maybe this function also has been implemented by some cygwin
> > commands else? Please let me know if it exists. Thanks.
>
> Putting "/etc/setup/installed.db" in place before running 'setup.exe'
> should make it think all those packages are installed.  Switching to
> "Reinstall" for "All" should make it reinstall the packages at the
> version specified, if those exists.

That makes sense, thanks.

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

> FYI, I haven't tested this process myself.  Bumps and bruises may
> occur. ;-)
>
> -- 
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 216 Dalton Rd.                          (508) 893-9889 - FAX
> Holliston, MA 01746
>
> _____________________________________________________________________
>
> A: Yes.
> > Q: Are you sure?
> >> A: Because it reverses the logical flow of conversation.
> >>> Q: Why is top posting annoying in email?
> 



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