public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jim Rather <kaoscoach@hotmail.com>
To: Ken Brown <kbrown@cornell.edu>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Cygwin command line download issue
Date: Wed, 23 Oct 2019 17:13:00 -0000	[thread overview]
Message-ID: <BYAPR06MB581630CE445A1779483DE74BBF6B0@BYAPR06MB5816.namprd06.prod.outlook.com> (raw)
In-Reply-To: <8dc7f4ba-264c-1fef-9b2b-af1f34df126b@cornell.edu>

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@cygwin.com <cygwin-owner@cygwin.com> on behalf of Ken Brown <kbrown@cornell.edu>
Sent: Wednesday, October 23, 2019 12:48 PM
To: cygwin@cygwin.com <cygwin@cygwin.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

  reply	other threads:[~2019-10-23 17:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-21 17:12 Jim Rather
2019-10-22 18:52 ` Ken Brown
2019-10-22 19:42   ` Jim Rather
2019-10-23  0:33     ` Ken Brown
2019-10-23 12:34       ` Ken Brown
2019-10-23 15:33         ` Jim Rather
2019-10-23 16:49           ` Ken Brown
2019-10-23 17:13             ` Jim Rather [this message]
2019-10-23 18:12           ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BYAPR06MB581630CE445A1779483DE74BBF6B0@BYAPR06MB5816.namprd06.prod.outlook.com \
    --to=kaoscoach@hotmail.com \
    --cc=cygwin@cygwin.com \
    --cc=kbrown@cornell.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).