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.
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple