From: Jon Turney <jon.turney@dronecode.org.uk>
To: "Greenhill, Lloyd" <greenhill@dxc.com>,
The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Mirror information
Date: Thu, 16 Jun 2022 10:01:45 +0100 [thread overview]
Message-ID: <7b095c91-f348-8e93-bf14-434e41b2aff0@dronecode.org.uk> (raw)
In-Reply-To: <SY4P282MB42056DCA278A859960CA819EB0AC9@SY4P282MB4205.AUSP282.PROD.OUTLOOK.COM>
On 16/06/2022 01:04, Greenhill, Lloyd wrote:
> Hi team,
>
> I am installing Cygwin in a secure environment and when the installer gets the mirror list it is being blocked,
Using the -O/--only-site option should prevent setup from trying to
retrieve the mirror list.
You'll then need to explicitly specify a mirror with -s/-site or via the
GUI (Note that this accepts Windows paths as well as URLs).
> Is there an easy way to install/are you able to provide a stand alone
install without this? Manually entering the mirrors still fails.
If this means all mirror sites are also blocked, then you'll either need
to provide a local package repository, or use setup's separate download
and install actions.
The way that is supposed to work:
Run setup in "Download without installing" mode somewhere it can access
a mirror, with the desired packages selected.
Then run it again in "Install from local directory" mode, with the same
"Local package directory", and set of packages selected.
In practice the 2nd step can be very slow because (for some reason lost
in the mists of time) setup checks for the existence of every possible
package in the local package directory. As a hack, this check can be
disabled with -m/--mirror-mode.
See https://cygwin.com/faq.html#faq.setup.cli for more details.
next prev parent reply other threads:[~2022-06-16 9:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-16 0:04 Greenhill, Lloyd
2022-06-16 9:01 ` Jon Turney [this message]
2022-06-16 16:18 ` EXTERNAL SENDER: " Dale Lobb
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=7b095c91-f348-8e93-bf14-434e41b2aff0@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin@cygwin.com \
--cc=greenhill@dxc.com \
/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).