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: Automated Cygwin install.


Hi Igor.

Igor Peshansky <pechtcha@cs.nyu.edu> writes:

> The file is called /etc/setup/installed.db.  Simply copy it to the same
> location on the other machine, then edit it and change all version numbers
> to 0.0-0.  That will ensure that you install the latest versions of the
> same set of packages.

Thank you very much. That is kind of what I was looking for. But I
will definitely consider the alternative suggested methods as
well. One last thing on this method, can a ensure that a specific
version number is being installed (i.e. not the latest one). I
consider testing the latest on one machine, then I want the same stuff
on the others (without surprises introduced in later versions).

>> > The other is to set up a local mirror with a setup.ini that includes
>> > all the packages you want installed in the "Base" category.  Running
>> > 'setup.exe' and choosing that mirror will install the new list of
>> > default packages.  See the setup home page for details on this
>> > (sorry, no direct pointer).
>>
>> I belive you mean this page:
>> http://www.cygwin.com/cygwin-ug-net/setup-net.html
>
> Correct.  Actually, you don't really need the whole setup.ini -- it's
> enough to have one dummy package (empty bin tarball, empty source) in the
> "Base" category, which depends on all the packages you want.  You can use
> /etc/setup/installed.db as the source for the list of packages (or run
> "cygcheck -cd", which will print that list to stdout).  If you choose to
> go with this method, you'll need to select one of the official mirrors as
> well).
>
> There are two more ways: one is to set up a local mirror/shared package
> repository that contains only the packages you want installed, and then
> select "install everything" from that mirror/repository, and the other is
> to use the experimental build of setup mentioned in
> <http://cygwin.com/ml/cygwin-apps/2006-03/msg00109.html>.

Thank you very much for opening my eyes to other ways of doing this.

Would it be an idea to have my question on the cygwin FAQ.

Jarl

-- 
Jarl Friis
Softace ApS
Omøgade 8, 2.sal
2100 København Ø.
Denmark
Phone:  +45 26 13 20 90
E-mail: jarl@softace.dk
LinkedIn: https://www.linkedin.com/in/jarlfriis


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


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