setup 2.761 regression: '--quiet-mode' conflicts with '--packages'
Greg Chicares
gchicares@sbcglobal.net
Wed Dec 21 18:15:00 GMT 2011
It appears that some recent change to setup.exe has unintentionally made
'--quiet-mode' incompatible with '--packages' for command-line installs.
A similar problem was reported here:
http://sourceware.org/ml/cygwin/2011-12/msg00244.html
Using current setup.exe version 2.761, this no longer works (although it
still works with setup.exe version 2.738 from a few months ago):
setup-2.761.exe --quiet-mode --site ftp://mirror.mcs.anl.gov/pub/cygwin/ --root C:/cygwin-1_7 --packages cvs
That command takes only about one second, and the local subdirectory for
downloads contains only setup.ini . According to setup.log.full (which is
only about 4K), setup.bz2 is downloaded; then it says:
Added manual package cvs
Changing gid back to original
Visited: 0 nodes out of 1948 while creating dependency order.
Dependency order of packages:
Changing gid to Administrators
Ending cygwin install
If '--quiet-mode' isn't given, then everything works (and cvs is installed
from '--packages'):
setup-2.761.exe --site ftp://mirror.mcs.anl.gov/pub/cygwin/ --root C:/cygwin-1_7 --packages cvs
...so that's a workaround, but '--quiet-mode' is much nicer for scripted
installation.
If '--packages' isn't given, then the base system is installed correctly:
setup-2.761.exe --quiet-mode --site ftp://mirror.mcs.anl.gov/pub/cygwin/ --root C:/cygwin-1_7
...but, even after the base system has been installed, rerunning the
original command:
setup-2.761.exe --quiet-mode --site ftp://mirror.mcs.anl.gov/pub/cygwin/ --root C:/cygwin-1_7 --packages cvs
doesn't install cvs. The resulting setup.log.full says
Visited: 50 nodes out of 1948 while creating dependency order.
but the "Dependency order of packages" list doesn't contain cvs.
I've saved setup.log.full from each of the four attempts above in
case further information from them is wanted.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20111221/c192ad9c/attachment.ksh>
-------------- next part --------------
--
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
More information about the Cygwin
mailing list