Mirror information

Jon Turney jon.turney@dronecode.org.uk
Thu Jun 16 09:01:45 GMT 2022


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.


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /