yundantianchang / apt-cyg

Automatically exported from code.google.com/p/apt-cyg
MIT License
0 stars 0 forks source link

specify mirror site #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
i can specify or change my favorite mirror site directly.

What version of the product are you using? On what operating system?
cygwin 1.7.9-1, windows xp sp3.

Please provide any additional information below.

Original issue reported on code.google.com by zan...@gmail.com on 8 Sep 2011 at 3:05

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
From code, looks like there's a method already there. Just tested with my 
preferred server, and it works.

$ apt-cyg update 2>1 | grep Mirror
Mirror is ftp://mirror.mcs.anl.gov/pub/cygwin
--
$ echo "http://cygwin.mirrors.hoobly.com" >/etc/setup/last-mirror

--
$ apt-cyg update 2>1 | grep Mirror
Mirror is http://cygwin.mirrors.hoobly.com

Original comment by jeremy.m...@gmail.com on 31 Aug 2012 at 10:16

GoogleCodeExporter commented 8 years ago
the option is there:

$ apt-cyg
apt-cyg: Installs and removes Cygwin packages.
...
Options:
  --mirror, -m <url> : set mirror

Original comment by elan.ruu...@gmail.com on 27 Sep 2012 at 10:33

GoogleCodeExporter commented 8 years ago
As the option is there as shown in the comments, either for setting the mirron 
in a file or specifying it on the command line, I close this issue.

Original comment by sti...@gmail.com on 24 Dec 2013 at 12:54