delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/10/23/13:14:26

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=aU4EQZbTIeWIErlf
/l5tFrqjTs3qZQ4WYzBjcXp+vmiHLwkuQSEf3zzPFJ5IQs7Eu/7laty/JKM/d9+m
KCxg2pRkv5tUDiW6ng2uJgmfKmiNWfs1TR0b2ujHxNPQoV8T+gUSyxovfzVgAhjq
oLiDBnCQ8ilNJ9filDX5tLuf8dc=
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=m+iKH8x3ns+9om8ooJxVzg
MdoT4=; b=gWQPTtt8YnmVe2gNc2ZKs9XFRN7eHM3ZjvzgeSWo7d7/pi3wBnlWLA
JpcZ2uz9HFNw5tuqh+zdnfhbsursIdhB0oNHFi59ClVv8VXufF0Zfbo2tX/9RaHZ
UgUjIcgiELLSGwVafhqP/7w4vCQsWLZJI0Zbm5s1LyQjJiZmEd5PU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: No, score=2.8 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=U*kbrown, unsubscribe-simple, sk:kbrown@, kbrowncornelledu
X-HELO: NAM02-BL2-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I40qqbH4Zbdj2g0PZFCdAXuwLjKNT+GPs09It8pYPr5e8H/BRMZjXfTbmrvSFzkBeXIoG2i3JdrU+uk59lHPgG1pn/wXlZMV49DheoVdjSk1freyFK3PQQP5znmwVA2153xzeWk22UgCIzvUyYgvOH//AsKU6FTmE/FV7Gk6CNhGQz2GYnk5cB81mi4Y8dB2uT1LiX0QfSv0W5iZqFJ/EMnXRP0iGDmDLFjzZ6sraFqNrQHwOTrTzKnEmKpmmu1yerZYY+kcA1kUpslKQzgHM1dI5vg42cn8iKAg8NHLUrpcMCddwu/xaq/hGtwn7aYzYKcbhhiPi+vleX4z43Y+DQ==
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=jx47AjBTbDK1wj8wXsCA9TsPfTaafOrS+LY5YA+u1aM=; b=Vm+Kc+orIU+WoBqPzyGrVPl26t+Pfl8RFf1aGUjTou9+OZdwVEqajq9MtyaKLXSpdXJQUCYohV2bFTv/dd/GG3x7QNJrUMPsfimrX8hWxP4lv44XPvlqeLnOsX6tB2JHcgkgQOZoa9rjjf9WUjLVy3DU0W6Mx4YGB/+8pSzCSF1pPGvj+pQO5UAr9zZAG9MhBbHYKrshY6FrG6RatAVO0cn6PaX3BN+ASufGVNnSA6RMDF2FI2h2g2LpLKzS4+nt2q1s8Gtxjjy3UqGh1g2ky9I++zgUHjpz138PjG/IvD4uVcH6+d/+D7Vg4uAVeHAIMo0xPM1C0tpmzHrLgBXlUA==
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=jx47AjBTbDK1wj8wXsCA9TsPfTaafOrS+LY5YA+u1aM=; b=LqRikKRmTsNuerYIynbPTAP8Owqt6Ft8lJ7/qX4fS0g93Dr06q77VQBh9AXbmw12Lvtg5E+eVVBrPHeRvznP+JTtuJu4zxaZkjq2dJscU0OHFwgo+nDduZFQelgm+kNOnlB6EBEGQlV9dj6iEYcKPwZpCHyIBVgT+LQdviQvt2lEoqNCo/IgtE7sUAZq2/I4I2ZERaNGfOUmgdBgIVmClLNkPel1wlAd/rV5c54tl1vKow9W+zxVCbcZ5zSTG1wOIoyd7yBK5TNHCYnHhrJak+HfCfoz2vyDTfFweik8wikV6FKDdOHf2VrXvjraEeHsWa3nUsYlhTdjv9OZXJEQ5A==
From: Jim Rather <kaoscoach AT hotmail DOT com>
To: Ken Brown <kbrown AT cornell DOT edu>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Cygwin command line download issue
Date: Wed, 23 Oct 2019 17:13:24 +0000
Message-ID: <BYAPR06MB581630CE445A1779483DE74BBF6B0@BYAPR06MB5816.namprd06.prod.outlook.com>
References: <DM6PR06MB581783259D5668343793E47EBF690 AT DM6PR06MB5817 DOT namprd06 DOT prod DOT outlook DOT com> <e5422f5c-db3b-9f3f-f98d-b73c69291f8a AT cornell DOT edu> <DM6PR06MB58170563E8A9B2FE94FE49D8BF680 AT DM6PR06MB5817 DOT namprd06 DOT prod DOT outlook DOT com> <857c6c30-9e8c-5142-43dd-d71e63a68fb6 AT cornell DOT edu> <95a752cf-dd90-0b7b-3bc0-e1ae45f97e5d AT cornell DOT edu> <BYAPR06MB581692726B42ADDB940DAE04BF6B0 AT BYAPR06MB5816 DOT namprd06 DOT prod DOT outlook DOT com>,<8dc7f4ba-264c-1fef-9b2b-af1f34df126b AT cornell DOT edu>
In-Reply-To: <8dc7f4ba-264c-1fef-9b2b-af1f34df126b@cornell.edu>
x-ms-exchange-purlcount: 4
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x9NHE2Qo026143

If I am installing cygwin on a system without internet connectivity that means I need to "downloading packages for later install", since I cant download them without connectivity. Also, I do not define the packages to install but the categories, so I am not sure how the cygwin installer knows what packages it thinks I need installed since there are none downloaded in the first place. This script worked faithfully for over a year but now doesn't and I was not sure why. I agree the --root command might help trick it into thinking that it is a new install, especially when running my script from a system wtih cygwin installed so adding that might help, but at first glance it didn't seem to change anything since there was nothing of note populated there.

I am pretty sure my issue is that there is some sort of conflict or strange condition when I define --catagories as

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 as opposed to choosing a category individually. I do not really have the time to go through all the permutations of those categories to figure out the problem, so I am fine with my for loop. My problem is probably some crazy, one-off edge case but I am not sure how to diagnose it.

If I am doing this incorrectly, I welcome any suggestion on how to download cygwin and install it for offline systems. I really do not want to rsync the whole cygwin repository so my script works for me even if the for loop adds additional time cycling through each category. I have resolved my issue for now.

________________________________
From: cygwin-owner AT cygwin DOT com <cygwin-owner AT cygwin DOT com> on behalf of Ken Brown <kbrown AT cornell DOT edu>
Sent: Wednesday, October 23, 2019 12:48 PM
To: cygwin AT cygwin DOT com <cygwin AT cygwin DOT com>
Subject: Re: Cygwin command line download issue

On 10/23/2019 11:33 AM, Jim Rather wrote:
> 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.

You're misunderstanding the meaning of the "download" option.  It tells setup to
download packages for later install.  It doesn't simply download all packages
that you've specified on the command line.  In particular, it won't download
packages that it thinks don't need to be installed.

I suggested using the --root option in order to trick setup into thinking that
you're doing a new install.

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019