windows 安装 cygwin:http://mirrors.kernel.org 中缺少 setup.ini

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15496333/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 10:22:14  来源:igfitidea点击:

installing cygwin: setup.ini missing from http://mirrors.kernel.org

windowscygwininstallation

提问by mles

I'm trying to install cygwin on a windows 2008 server. I managed to get a hold of the cygwin setup.exe version 2.721.
Since cygwin.com is down at the moment, i tried several mirrors found through the google cache of the cygwin mirrors. I ran into the same problem like this guy: Help needed installing cygwin: may be ini file problem
Like they suggested, I tried http://mirrors.kernel.orgas mirror. It downloads some setup.bz files fine. Then I get the error "Unable to get setup.ini from http://mirrors.kernel.org/".
Any suggestions how to install cygwin now?

我正在尝试在 Windows 2008 服务器上安装 cygwin。我设法获得了 cygwin setup.exe 版本 2.721。
由于 cygwin.com 目前已关闭,我尝试了通过 cygwin 镜像的谷歌缓存找到的几个镜像。我遇到了和这个人一样的问题:安装 cygwin 需要帮助:可能是 ini 文件问题
就像他们建议的那样,我尝试将http://mirrors.kernel.org作为镜像。它可以正常下载一些 setup.bz 文件。然后我收到错误“无法从http://mirrors.kernel.org/获取 setup.ini ”。
现在有什么建议如何安装cygwin吗?

回答by TheCloudlessSky

I got this error when I tried to use http://cygwin.com/setup.exeand not http://cygwin.com/setup-x86.exeor http://cygwin.com/setup-x86_64.exe. It seems the mirrors have just recently removed support for setup.exe. The setup.exeis still available to download but none of the mirrors work.

当我尝试使用http://cygwin.com/setup.exeand not http://cygwin.com/setup-x86.exeor时出现此错误http://cygwin.com/setup-x86_64.exe。镜像最近似乎刚刚取消了对setup.exe. 在setup.exe仍可供下载,但没有镜子的工作。

The solution is to use either the setup-x86.exeor the setup-x86_64.exe.

解决方案是使用setup-x86.exesetup-x86_64.exe

回答by Colin Jensen

The mirror should be the full path http://mirrors.kernel.org/sourceware/cygwin

镜像应该是完整路径http://mirrors.kernel.org/sourceware/cygwin

If you get complaints about the .ini being from a newer version of setup, you'll need to find a newer setup.exe somewhere on the net that you trust. (And cygwin guys? Grrr for not including setup.exe in your mirrors and for not signing your exe!)

如果您抱怨 .ini 来自更新版本的安装程序,您需要在您信任的网络上的某个地方找到更新的 setup.exe。(还有 cygwin 家伙?Grrr 没有在您的镜像中包含 setup.exe 并且没有签署您的 exe!)

回答by Mathew P. Jones

the reason is so simple:

原因很简单:

the setup.ini changed its's location!

setup.ini 改变了它的位置!

just go to cygwin site, download the latest setup.exe file. it will be OK.

只需转到 cygwin 站点,下载最新的 setup.exe 文件。一切都会安好的。

回答by Frankenstein

While installing, select Install through http/ftp proxy. Firewall may block the installation. Hence, proxy will help. Also try running as Administrator.

安装时,选择通过 http/ftp 代理安装。防火墙可能会阻止安装。因此,代理将有所帮助。也尝试以管理员身份运行。

It helps..

它有助于..

Regards, Frank..!!

问候,弗兰克..!!

回答by J.D. Mallen

For those who are still getting this error even with the correct installer, make sure that you're running the setup file on your local hard drive.

对于即使使用正确的安装程序仍然出现此错误的人,请确保您正在本地硬盘驱动器上运行安装文件。

My problem was that I was trying to launch the executable from a mapped network drive. Copying down and running the program locally fixed the issue.

我的问题是我试图从映射的网络驱动器启动可执行文件。复制下来并在本地运行程序解决了这个问题。

回答by Ashish

Was giving me the same Unable to get setup from ...error. I used the new setup-x86_64.exe from the Cygwin.org site & had to select the option Use Internet Explorer Proxy Settings.

给了我同样的Unable to get setup from ...错误。我使用了来自 Cygwin.org 站点的新 setup-x86_64.exe 并且必须选择选项Use Internet Explorer Proxy Settings

It fetched the mirror urls. It worked that way for me.

它获取了镜像网址。它对我来说就是这样。

But, if it does not fetch all the mirrors by itself, we can add the url http://mirrors.kernel.orgin the Download list.

但是,如果它自己没有获取所有镜像,我们可以http://mirrors.kernel.org在下载列表中添加 url 。

Initially, when it was not downloading the mirrors list by itself, I had tried adding the above http://mirrors.kernel.orgurl manually & it had worked that way too.

最初,当它没有自行下载镜像列表时,我曾尝试http://mirrors.kernel.org手动添加上述url 并且它也以这种方式工作。

回答by Anonymous

Was facing the Same issue... Run the installer in administrator mode and set the FTP/HTTP proxy to the proxy setting configured in internet explorer. Later if the download doesn't occur try different proxies. Selecting this mirror http://mirrors.kernel.orgworked for me.

面临同样的问题...以管理员模式运行安装程序并将 FTP/HTTP 代理设置为 Internet Explorer 中配置的代理设置。稍后如果下载没有发生,请尝试不同的代理。选择这个镜像http://mirrors.kernel.org对我有用

回答by Scott

Can you use another mirror? Try lug.mtu.edu or something like that. I've always had nothing but good results from there.

你可以用另一面镜子吗?试试 lug.mtu.edu 或类似的东西。从那里我一直只有好的结果。