X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: Gautam Vallabha To: "cygwin AT cygwin DOT com" Subject: Unattended mode not working with setup.exe 2.761 Date: Sun, 11 Dec 2011 04:06:44 +0000 Message-ID: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pBB47995027157 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