X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=WJFHEuAbKBnLTaQCra8wGQrrj4IcU 8XvOemD5RGGQ3KO1ZDxEnOtW6bDLT1JRytRHphN+ynkKtrx/vAeg8eNGvFOAnaaT lkJ5X3EZ+E3O8h9iL3VR5uc1VYk7GfOP82Lqhvvqzzkf5JJnpC2hidjTePxdBTx6 Usnmhula2EkFAQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=O3AhBu3b3Wit5fHneQa2tWmcSoU=; b=BwP dnswoh1HetZDXCyl2grd1sYtuCtEFnQFflIjAGeF7MgP36BScMoQyf5A3m/gh4Sq ztcRalGiN9yQBlcIfadcBfCbCteQD02JfAD8j1O4zsTffMPrZL5QbqbzgIEoZzft bLFdz27QrXbV1XfGUsFv2ur+lPvYvnZVhK5hicSc= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=prompted, quietly, Automated, Best X-HELO: mail-wm0-f47.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=CI9dHd3j3lI7uplkcetda+FiM8/EGY5v9Wc+zcf9XaE=; b=XZhcBze52u2Dn8i7KVjJNPgoS+QkIpyqqVhIzWuJIKuQuJUI6S5i1YNnCXXJODzh4m 9lKGbSma861+FIH7NKeT9saLv8q4L0O4RBbgCS6uE/I+QiyVGGzPxsKMZvsMbmDpQ1yD M0yGBrj5f7jcVQH79N5OGI9Vg+Qm8Gr2JH7lXGg51xv/v3OrAeywXDWyZV1gry/mcntb IvHPPb5RVryzQ1jd1WOejrHFACLXhlJJl7Rxs0XucLa0qFxA3nfPQzu02URl5IGvmzVV opE8F5h5fLMPnG+NFOqyHM9X5EFNynJRieEh7HFbv8ZpX9ZaUt8cd7I5Khk0ENt6h6+C yC2w== X-Gm-Message-State: ABUngvdDdjhMLlodH/aDEkN4RpH0ta3pRhZnny/uvjXYwgKmK/4Bx1cnHxVOCc4duVK7UR08KcoE8duqncQNiQ== X-Received: by 10.28.69.217 with SMTP id l86mr18631255wmi.129.1479432061496; Thu, 17 Nov 2016 17:21:01 -0800 (PST) MIME-Version: 1.0 From: OwN-3m-All Date: Thu, 17 Nov 2016 18:21:01 -0700 Message-ID: Subject: Cygwin Setup - Choose Best Mirror Automatically for Automated / Silent Installs To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Hi All, Is there a way to have the Cygwin setup utility pick a valid mirror automatically from the list it downloads if the setup is run with the following options: setup-x86_64.exe --quiet-mode --root "C:\dir" --local-package-dir "C:\dir\cygTemp" --packages "apache2" If I run the setup utility with the parameters above, the user is prompted to select a mirror. This would be fine in itself if after doing so the setup utility continued to operate in the quiet mode and downloaded the selected packages (including dependencies for them) automatically. Instead, what happens is that the user selects a mirror, and then the dialog is shown to confirm the packages even though the --quiet-mode parameter was passed in. So basically, the way it works right now is not very consistent. It should either prompt a user to pick a mirror and then install packages quietly without a confirmation dialog showing the packages that are going to be installed, or a mirror should be automatically picked (select the first one from the list the setup utility downloads), and the setup should then continue quietly. I'm trying to automate this as best as possible, and the only way to do so right now is to specify the mirror the setup utility uses by using something similar to: setup-x86_64.exe --site "http://cygwin.mirror.constant.com/" --quiet-mode --root "C:\dir" --local-package-dir "C:\dir\cygTemp" --packages "apache2" The problem with this is that it appears that mirror won't always work with each version of Windows (at least I think that's the case based on some strange behavior I'm seeing). Is there a way to have the setup automatically pick a site from the list of mirrors it downloads to use? ~ Thanks OwN -- 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