X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Michael Kairys" Subject: Re: A small suggestion to setup.exe of cygwin Date: Fri, 4 Apr 2008 08:20:37 -0400 Lines: 61 Message-ID: References: <47F54AC1 DOT 6050103 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=response Content-Transfer-Encoding: 8bit In-Reply-To: <47F54AC1.6050103@cygwin.com> X-IsSubscribed: yes 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 "Larry Hall (Cygwin)" 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/