From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44219 invoked by alias); 23 Oct 2019 15:33:48 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 44209 invoked by uid 89); 23 Oct 2019 15:33:48 -0000 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 Received: from mail-oln040092003109.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) (40.92.3.109) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 23 Oct 2019 15:33:45 +0000 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== Received: from SN1NAM02FT026.eop-nam02.prod.protection.outlook.com (10.152.72.54) by SN1NAM02HT043.eop-nam02.prod.protection.outlook.com (10.152.73.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2367.14; Wed, 23 Oct 2019 15:33:42 +0000 Received: from BYAPR06MB5816.namprd06.prod.outlook.com (10.152.72.60) by SN1NAM02FT026.mail.protection.outlook.com (10.152.72.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2367.14 via Frontend Transport; Wed, 23 Oct 2019 15:33:42 +0000 Received: from BYAPR06MB5816.namprd06.prod.outlook.com ([fe80::f4ae:4c4:2467:c117]) by BYAPR06MB5816.namprd06.prod.outlook.com ([fe80::f4ae:4c4:2467:c117%7]) with mapi id 15.20.2367.022; Wed, 23 Oct 2019 15:33:42 +0000 From: Jim Rather To: Ken Brown , "cygwin@cygwin.com" Subject: Re: Cygwin command line download issue Date: Wed, 23 Oct 2019 15:33:00 -0000 Message-ID: References: <857c6c30-9e8c-5142-43dd-d71e63a68fb6@cornell.edu>,<95a752cf-dd90-0b7b-3bc0-e1ae45f97e5d@cornell.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" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00138.txt.bz2 My script is not trying to "install" cygwin. I am trying to download packag= es so that I can install them on systems without internet connectivity. I a= dded --root in my script but that didn't really help. I got a new etc direc= tory but not much in it, just timestamp and setup.rc . I removed the --prun= e 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 mig= ht be running into some sort of limitation on the length of my update comma= nd. 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? Dow= nloading 8.5 GB of files just to test this also seems to be overkill. In an= y 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=3Dhttp://cygwin.com/setup-x86_64.exe set cyg_dir=3DC:\Users\jrather\Documents\cygwin64 set cyg_setup=3D%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@cygwin.com on behalf of Ken Br= own Sent: Wednesday, October 23, 2019 8:34 AM To: cygwin@cygwin.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 set= up. > 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 basi= c 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 u= sed 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