Re: install from install files?

2009-08-01 Thread Robert Mark Bram
> > Is there some way I can re-create one big setup.ini file from my current
> > computer, and just have setup use that on the new computer ?
>
>  Yes.  The information about which packages you actually have installed lives
> in /etc/setup/installed.db.  If you copy over the installed.db from the old
> machine to the new one (in the correct place where it's going to live in the
> eventual new cygwin installation, i.e. C:\cygwin\etc\setup\installed.db if
> you're going to install to C:\cygwin), run setup.exe, tell it to install from
> the local package dir that you've already copied across and on the chooser 
> page
> click 'reinstall' at the top level of the package tree view, it should then
> install the same set of packages.

Excellent tip - thank you DaveK.. I will use this one.

Rob
:)

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: install from install files?

2009-07-31 Thread Dave Korn
Tom Hall wrote:
> On Tue, Jul 28, 2009 at 10:56:12PM -0400, Larry Hall (Cygwin) wrote:

>> I know this is not your question but I figured it was a point that was worth
>> documenting for the archives if nothing else (though it has been made
>> before so this would just be a "recent" version).  You only get another
>> folder if the mirror you selected for this update was different than the
>> one(s) you selected the last time you ran 'setup.exe'.  'setup.exe' will
>> use (and remember) up to 4 simultaneously selected mirrors.  So you only
>> need to select a (set of) mirror(s) once unless you prefer to do
>> otherwise.
> 
> I've got 8 of these directories in my local package directory; some end with
> %2f (/) and some don't. 
> 
> I zipped all this up, unzipped it on a new computer, and pointed setup to the
> unzipped copy, but setup hardly installed any of the packages, even though I
> can see all the the packages' tar.bz2 files there.
> 
> I don't think the setup.ini files are getting merged correctly.

  You've misunderstood.  The setup.ini files *are* getting merged correctly, and
as a result you have the option of installing any of the packages that you have
stored in any of the download directories.  However, setup.ini only stores the
list of available packages; it does not carry the particular selection that you
have installed in a particular machine.

> Is there some way I can re-create one big setup.ini file from my current
> computer, and just have setup use that on the new computer ?

  Yes.  The information about which packages you actually have installed lives
in /etc/setup/installed.db.  If you copy over the installed.db from the old
machine to the new one (in the correct place where it's going to live in the
eventual new cygwin installation, i.e. C:\cygwin\etc\setup\installed.db if
you're going to install to C:\cygwin), run setup.exe, tell it to install from
the local package dir that you've already copied across and on the chooser page
click 'reinstall' at the top level of the package tree view, it should then
install the same set of packages.

cheers,
  DaveK


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: install from install files?

2009-07-31 Thread Tom Hall
On Tue, Jul 28, 2009 at 10:56:12PM -0400, Larry Hall (Cygwin) wrote:
> On 07/28/2009 07:33 PM, Robert Mark Bram wrote:
> 
> 
> 
> >One more question: I notice that each time I update Cygwin, I get
> >another "ftp...mirror.. " folder.
> 
> I know this is not your question but I figured it was a point that was worth
> documenting for the archives if nothing else (though it has been made
> before so this would just be a "recent" version).  You only get another
> folder if the mirror you selected for this update was different than the
> one(s) you selected the last time you ran 'setup.exe'.  'setup.exe' will
> use (and remember) up to 4 simultaneously selected mirrors.  So you only
> need to select a (set of) mirror(s) once unless you prefer to do
> otherwise.

I've got 8 of these directories in my local package directory; some end with
%2f (/) and some don't. 

I zipped all this up, unzipped it on a new computer, and pointed setup to the
unzipped copy, but setup hardly installed any of the packages, even though I
can see all the the packages' tar.bz2 files there.

I don't think the setup.ini files are getting merged correctly.

Is there some way I can re-create one big setup.ini file from my current
computer, and just have setup use that on the new computer ?

- Tom

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: install from install files?

2009-07-28 Thread Larry Hall (Cygwin)

On 07/28/2009 07:33 PM, Robert Mark Bram wrote:




One more question: I notice that each time I update Cygwin, I get
another "ftp...mirror.. " folder.


I know this is not your question but I figured it was a point that was worth
documenting for the archives if nothing else (though it has been made
before so this would just be a "recent" version).  You only get another
folder if the mirror you selected for this update was different than the
one(s) you selected the last time you ran 'setup.exe'.  'setup.exe' will
use (and remember) up to 4 simultaneously selected mirrors.  So you only
need to select a (set of) mirror(s) once unless you prefer to do
otherwise.

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

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: install from install files?

2009-07-28 Thread Dave Korn
Robert Mark Bram wrote:
> Yes, I did mean the package directory, e.g.:
> C:\Documents and Settings\rbram\My
> Documents\Downloads\ftp%3a%2f%2fmirror.aarnet.edu.au%2fpub%2fsourceware%2fcygwin%2f
> 
> One more question: I notice that each time I update Cygwin, I get
> another "ftp...mirror.. " folder. Do I need to point the "local
> installation" at one of these folders or to the parent and have it
> pick up the updates?

  Use the parent, which is what you specified in setup.exe where it asked for
the local package dir path.  Setup.exe stores all the downloaded files in a
directory named after the particular mirror they came from, but it then gives
you an overall view of all of them merged together in the package chooser 
screen.

cheers,
  DaveK

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: install from install files?

2009-07-28 Thread Robert Mark Bram
Thanks Dave,

>> If I install Cygwin from the internet and copy the cygwin files to my
>> USB, can I later install Cygwin on another machine from those files?
>
>  As long as by "Copy the cygwin files", you mean the local package directory,
> rather than the cygwin install tree, then yes.  Just run setup.exe on the
> other machine in install-from-local mode and point it at the dir on the usb 
> drive.

Yes, I did mean the package directory, e.g.:
C:\Documents and Settings\rbram\My
Documents\Downloads\ftp%3a%2f%2fmirror.aarnet.edu.au%2fpub%2fsourceware%2fcygwin%2f

One more question: I notice that each time I update Cygwin, I get
another "ftp...mirror.. " folder. Do I need to point the "local
installation" at one of these folders or to the parent and have it
pick up the updates?

Rob
:)

General Blog: http://robertmarkbram.blogspot.com/
Technical Blog: http://robertmarkbramprogrammer.blogspot.com/
Profile: http://www.google.com/profiles/robertmarkbram

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: install from install files?

2009-07-28 Thread Dave Korn
Robert Mark Bram wrote:
> Hi All,
> 
> If I install Cygwin from the internet and copy the cygwin files to my
> USB, can I later install Cygwin on another machine from those files?

  As long as by "Copy the cygwin files", you mean the local package directory,
rather than the cygwin install tree, then yes.  Just run setup.exe on the
other machine in install-from-local mode and point it at the dir on the usb 
drive.

cheers,
  DaveK


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



install from install files?

2009-07-28 Thread Robert Mark Bram
Hi All,

If I install Cygwin from the internet and copy the cygwin files to my
USB, can I later install Cygwin on another machine from those files?

Rob
:)

General Blog: http://robertmarkbram.blogspot.com/
Technical Blog: http://robertmarkbramprogrammer.blogspot.com/
Profile: http://www.google.com/profiles/robertmarkbram

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple