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:from:to:subject:date:message-id:references :in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=rwFMeiLeTgBu+08i b2U/0uW55RQiuYxqdQDft2zX22mK62s9S/Z3ro2vTkMZTw5SxVCSePGLv3sD1b2F qQondBKz4VK6HvdoLHFIDweZEBra1kCy1J/EUtoF3mZFj6hZGV7dNWZb7KM4XzbY Y9Y8ezJXWXBTLgjQSvclzrofc7U= 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:from:to:subject:date:message-id:references :in-reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=yygdYMoPUfZlgv5QT3sHQ4 WCqc8=; b=gJRi1os/TDojvSVsGuj57qByPzKaavzBcag5io8gqk0NP2GuWHVGSu 3M9Lkwadldo4/rbtpdx/YWQO21YRg4s6n1NEbEQX7UyKr559RQ8FNyNOAhwgdE8Q z34wX3g79jE5VFMGNh7E/6Onz7zQ7YC1UTyr2jsb1838Q6/FdHbuo= 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-Spam-SWARE-Status: Yes, score=5.5 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,EXECUTABLE_URI,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,HTML_MESSAGE,KAM_EXEURI,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=uri, bat, sk:kbrown@, D*cornell.edu X-HELO: NAM02-BL2-obe.outbound.protection.outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EN/UzhguMFUsoqdTZxNpuDYR6CpNIKbz4Pok2WjmRS9tSLJdv9bbMBQDD9Noz3AleShu5aFUp3mS7DDJVK0Xkg9hmcIKGNiLsblQLH7gfw12MvYWCJnYOPSZfskI9N2A+zAT8qaz0jeycoEb7EzF/cx5lr8obkhlPVNkNS6G5P07CbHN9sFCFe4erBDUBLdqAeeqswCG+b9DPkm0WkzqxB3UiwhdNo3OR1Ejww77qzhrtMfrvf3TxhPAQv/ZViCtI8YLPHeNtBLY0BCYLeY1bwIcIYGoxEm6lvG5zyj4nDk4ANdbUp+tjWcCZyfxmBLW5TaziPkQMu6E/GIh8IdujA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2v/AfbVjFxIJIGIKXvxzz4thsmAWS5gaMkRYETHEZ58=; b=NN1zXWllmT0UnH4lUVemdXDlS6BxcScMF33ne2HXuQekdkJb9o1hunM0kGVbQ8nRrwl4er+b40yoxy7LHJOefSWenWMT2KZ/AkvP7a52Gx+CgLnPUqkS4PdqHKbfDS5dZU44I4scD0nqd3kQSv4h34aKZgyJ5bMyck85gexnqtF4soQMpbq+UI8VAm9v6n7LxOOK5x2RfWx7wWDrbmnFfHxXKXmXRZnYEhvqY/3Wxe+2Czo9rgL0a1x5S/W0gN+UkpNcODZt0dNKDjcYGZx1lxPKhGusBYl1n2ZjL15WY9oFN8F9QbS6/CObl8qVZl+pisqSmyXtp8G+xTcxodxYWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2v/AfbVjFxIJIGIKXvxzz4thsmAWS5gaMkRYETHEZ58=; b=q/3R5477LzsGvUodLyXT8/iYLIcqLKn14NHN6l8uqKUTZMytfbwhIp6IUhVhakdtS1NT5SWud+TgPAfD1TL/nF2JnHwT5Q0fcYJ40ti/YRFcCanC33PdJS3v8AIFH8/w9uYTbmHQG2oV9zVydRNpY3BGoS9V0G8G2j43neMcRGqxWxKwLT8oBYUKArT/ta9E0WKpzFNmCq0OD/QoabFMZJippXHq8wBQMtXK1Ge91FFURh+TyIzbKZX8o8/CZzLLsOa9Bsjzbdl0Inhv5GWGAZJGLlNxIQUu/VfYuiXRT0YH7fGb05ud5KYpDBCh69Rut2nNk4u/P4zCZyO0ksdpbQ== From: Jim Rather To: Ken Brown , "cygwin AT cygwin DOT com" Subject: Re: Cygwin command line download issue Date: Wed, 23 Oct 2019 15:33:42 +0000 Message-ID: References: <857c6c30-9e8c-5142-43dd-d71e63a68fb6 AT cornell DOT edu>,<95a752cf-dd90-0b7b-3bc0-e1ae45f97e5d AT cornell DOT edu> In-Reply-To: <95a752cf-dd90-0b7b-3bc0-e1ae45f97e5d@cornell.edu> x-ms-exchange-purlcount: 4 x-ms-exchange-transport-forked: True MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x9NFYOiq016694 My script is not trying to "install" cygwin. I am trying to download packages so that I can install them on systems without internet connectivity. I added --root in my script but that didn't really help. I got a new etc directory but not much in it, just timestamp and setup.rc . I removed the --prune option in case that was affecting something but it still did not work as I was expecting. I created a new directory, c:\Users\jrather\Documents\cygwin64. Edited my .bat file to only get Base and that seemed to work. My feeling is that I might be running into some sort of limitation on the length of my update command. So I broke the categories list out into a for loop. This would be better if there was a 'test' option in setup-x86_64.exe? Downloading 8.5 GB of files just to test this also seems to be overkill. In any case here is my new updated script which appears to work even though I am unsure of how to solve the initial problem. @echo off setlocal set url=http://cygwin.com/setup-x86_64.exe set cyg_dir=C:\Users\jrather\Documents\cygwin64 set cyg_setup=%cyg_dir%\setup-x86_64.exe powershell -command "invoke-webrequest -uri %url% -outfile %cyg_setup%" for %%i in (Admin,Archive,Base,Database,Editors,^ GNOME,Graphics,Interpreters,KDE,Libs,Lua,LXDE,^ Mail,MATE,Math,Net,Ocaml,Office,Perl,PHP,Publishing,^ Python,Ruby,Scheme,Science,Security,Shells,Sugar,^ System,Tcl,Text,Utils,Web,X11,Xfce) do (call :cyg "%%i") goto :eof :cyg %cyg_setup% ^ --arch x86_64 ^ --categories %1 ^ --delete-orphans ^ --disable-buggy-antivirus ^ --download ^ --force-current ^ --local-package-dir %cyg_dir% ^ --no-admin ^ --no-desktop ^ --no-shortcuts ^ --no-startmenu ^ --no-version-check ^ --only-site ^ --prune-install ^ --quiet-mode ^ --remove-categories Accessibility,Audio,Debug,Devel,Doc,Games,Video ^ --root %cyg_dir% ^ --site http://mirrors.xmission.com/cygwin/ ^ --verbose ) :eof :end ________________________________ From: cygwin-owner AT cygwin DOT com on behalf of Ken Brown Sent: Wednesday, October 23, 2019 8:34 AM To: cygwin AT cygwin DOT com Subject: Re: Cygwin command line download issue On 10/22/2019 8:33 PM, Ken Brown wrote: > [Please don't top-post on this list.] > > On 10/22/2019 3:42 PM, Jim Rather wrote: >> I only get two lines in setup.log.full with regards to crypto-policies >> >> Found category Base in package crypto-policies >> Added manual package crypto-policies > > setup.log.full contains information only about the most recent run of setup. > That's why I suggested looking in both setup.log and setup.log.full. > >> I am confused, this script has worked faithfully for at least a year. I just emptied by %cyg_dir% and re-ran it. Afterwards, I am missing many basic packages like alternatives, bash, etc. so I am not sure what has changed and welcome any suggestions. > > Once again, setup.log and setup.log.full should provide some clues. One other thing: I notice that your setup command line doesn't set the installation root directory. By default, setup will use whatever root it used on its last run. So if you previously used setup to install Cygwin, setup will look at /etc/setup/installed.db to see what you have installed. It won't re-download the installed packages. If you want to force download, I think you need to use --root to specify a directory in which Cygwin is not already installed. Ken -- 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 -- 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