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]

Unattended mode not working with setup.exe 2.761


Hi,

Since setup 2.761 came out, the "--quiet-mode" option doesn't seem to work. With the previous release, the following command worked correctly (this is on Windows 7 64-bit):

  setup.exe --download  --categories Base  --packages make  --quiet-mode  --site "http://mirror.mcs.anl.gov/cygwin/"; --root "c:\cygwin" --local-package-dir "c:\ cygwin_packages" --no-shortcuts

However, with the latest release, the same command doesn't work. The new behavior is as follows:

* The command completes with any errors, but the only file under c:\cygwin_packages\http%3a%2f%2fcygwin.mirrors.hoobly.com%2f is setup.ini. 

* c:\cygwin_packages\setup.log has a  bunch of lines like the following, but nothing of the form "Downloaded C:\ cygwin_packages/http%3a%2f%2fcygwin.mirrors.hoobly.com%2f/ ...":
   2011/12/10 22:34:36 Found category Base in package alternatives
   2011/12/10 22:34:36 Added manual package alternatives
   2011/12/10 22:34:36 Found category Base in package base-cygwin
   2011/12/10 22:34:36 Added manual package base-cygwin

* If I remove "--quiet-mode" from the command line (so that I have to manually click through the setup.exe dialogs), then everything works as expected.

* Another difference between setup.log with a successful download (i.e., --quiet-mode parameter omitted) and an unsuccessful download is that the successful setup.log has the following line:
  2011/12/10 22:57:43 source: download
The unsuccesful setup.log doesn't have the above line.

I couldn't find mentions of the changed behavior in the doc, FAQ, or in the cygwin newsgroup for the past few weeks. I found a release note by Corinna Vinschen (http://www.cygwin.com/ml/cygwin/2011-11/msg00343.html), which mentions this new behavior: "In unattended mode, if packages were selected on command line,  install only those, don't also upgrade all installed packages." However, I don't see how this could affect my usage above.

Thanks in advance for any suggestions,
Gautam


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