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: Num lines in dirs: C:\cygwin\bin = 1152 C:\cygwin-1.7\bin = 289 WHY SO FEW?


Larry Hall (Cygwin) wrote:
On 09/28/2009 10:31 PM, Chris Cormie wrote:
I don't think you are doing anything wrong David. setup-1.7.exe appears
to default to just the Base category packages. The 1.5 setup.exe selects
many more packages outside the Base category by default and that's the
difference you are seeing.

There should be little difference in how 'setup.exe' works for 1.5 vs 1.7. The determination for what's installed by default has not changed, though the overall number of packages and size may have changed somewhat.

On my machine the observed behaviour was different:
new 1.5 install -> 91 packages
new 1.7 install -> 44 packages
Note that I'm not using a "clean" machine: this is a machine that has Cygwin on it before and one with 1.5 and 1.7 cohabiting. I wonder if anyone has installed 1.7 to to a clean machine? If the base install package count was closer to 91 it suggests the 1.7 install process is affected by a prior 1.5 install, that would be interesting.


I hope I'm not confusing the issue. The impression I get is that David additionally expected to find packages he himself installed in 1.5 present in the new 1.7 install?

As an aside I like this current behaviour: I have bandwidth constraints
and problems with packages interfering with each other and so find it
handy to start with a small core Cygwin and add the stuff I need.

I don't know how to extract what the default packages are from the old
setup.exe: I suspect it's all the Base category packages plus others
from a list compiled into the binary though I'd be happy if someone
could correct me on that.

No, that's not true. See above.

Could you explain how the installer chooses a default set of packages to install for a fresh Cygwin install?


I notice that setup-1.7.exe has a command line interface with an option
to select packages to install. It doesn't appear to be working yet. I
sure hope it is a future feature because it would be just the ticket for
  this issue: compile a list of packages you want to be in your default
install and then you could reproduce it at will.

Can you be more specific about the problem you see?

I was wrong, the command line interface *is* working for me. I was misled by the following apparently harmless error messages:


in cmd shell:

E:\home\admin\installers> setup-1.7.exe -D -L -s http://mirror.internode.on.net/
pub/cygwin/ -R e:\cygwin_1_7 -l E:\home\application_data\cygwin_1_7 -q -P joe


E:\home\admin\installers>Starting cygwin install, version 2.649
io_stream_cygfile: fopen(/etc/setup/net-proxy-host) failed 2 No such file or dir
ectory
io_stream_cygfile: fopen(/etc/setup/net-proxy-port) failed 2 No such file or dir
ectory
io_stream_cygfile: fopen(/etc/setup/extrakeys) failed 2 No such file or director
y
... proceeds to install package "joe" correctly


Additionally I needed the the "-L" flag and was omitting it:
Command Line Options:
-D --download Download from internet
-L --local-install Install from local directory
-s --site Download site
....
I wrong assumed I could omit -L if I was freshly downloading the package from the mirror and installing it in one go but this is not so: I needed to supply both -D *and* -L options.


Chris









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


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