cygwin 2.5.2镜像 - 获取最后的XP版本 [英] cygwin 2.5.2 mirror -- getting the last XP release

查看:1746
本文介绍了cygwin 2.5.2镜像 - 获取最后的XP版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请原谅这个明显的安装问题,但我相信它不仅仅是如何使它工作。



在宣布2.5.2是最后一个XP版本,并把这个事实,在常见问题,cgywin人已经勤奋地更新一切,他们可以使2.5.2无法访问。它们不再提供任何2.5.2材料。例如,常见问题将人们指向下级安装程序链接。



虽然这可能有助于保持人们的前进,



首先,更新的setup-x86.exe拒绝在XP上运行。



第二,获得下级setup-x86.exe后,它将在镜像上查找文件setup.ini。



如果setup-x86继续运行,它总是安装最新的和最大的,因为setup.ini



讽刺的是,在google上搜索 cygwinsetup.ini2.874

strong>,今天google ALWAYS返回2.876版本的文件。目标文本2.874不会出现在文件中! Google从不提供所谓的2.874文件的缓存版本。



唯一的解决方案似乎是找到一个cygwin镜像冻结在2.5.5 ,包含一个setup.ini文件版本2.874。



我搜索了很远,但找不到这样的镜像。我问社区,如果他们看到这样的动物。



代表必须安装或重新安装Cygwin的所有XP用户,感谢您的帮助!

解决方案


  1. 直接从Cygwin Time Machine下载安装程序版本2.874。




  2. 创建快捷方式和 -X参数禁用签名检查。 (这是因为fruitbat镜像不保存用于检查的签名文件。)这是必需的!没有-X,会安静地切换到另一个镜像。




    • 右键单击.exe并选择 。

    • 右键单击桌面或目录,然后选择粘贴为快捷方式。

    • 右键单击刚刚创建的快捷方式,然后选择属性。


      1. 选择快捷方式标签

      2. -X 添加到目标字段。这是一个用于将参数与程序名称,短划线和CAPITAL X分隔开的空格。

      3. 单击确定保存更改。



  3. 第三,执行(双击)快捷方式并按照Cygwin网站上的说明进行操作。更好的是,请参阅 https://www.physionet.org/physiotools/cygwin/ ,其中有非常漂亮的图片。



    当您到达选择下载网站时,请在用户网址字段中输入以下网址,然后点击 ADD 。不要点击下一步,否则您的输入可能会被取代!





    滚动可用下载网站列表,并确保 www.fruitbat.org 是唯一的突出显示。您输入的完整网址不会显示,您必须相信正确的镜像日期将被记住和使用。最后,您可以点击下一步


  4. 每当您要进行维护时,请始终使用此快捷方式。
    $ b

    我建议你总是使用两遍安装; 下载但不要安装,然后安装从保存。这可以减少安装自动添加到安装列表中的新软件包版本的风险。



    通过保存cygwin1.dll(位于/ cygwin / bin,安装目录的子目录中)的副本来准备坏事。使用Windows,并将其存储在C:\cygwin外部。


  5. 您可以使用设置连接到比Fruitbat更新的归档文件,但要小心!




    • 显示软件包列表时首先要做的事情:点击全局保持单选按钮,升级。


    • 其次,在您完成安装后,您还可以查看多个版本的软件包,选择,总是点击VIEW按钮到达待定视图。


    • 第三,开始安装后会弹出一个弹出窗口,列出您未选择的所需软件包,以自动将其添加到安装列表。



      返回并手动选择。在列表中包含所需内容后,拒绝任何自动添加优惠


  6. $ b这个提议可能会包括一些新的cygwin或bash,不仅会打破cygwin系统, $ b

Cygwin镜子可以让你



Fruitbat不断升级,并且不保留旧的setup.ini文件。最多只保留升级包的最新版本。显然,如果你试图保持一个低级的cygwin系统,这个升级政策会造成一个敌对的环境。




  • 缓存将下载的归档数据存储在本地目录中,在/cygwin/etc/setup/setup.rc中标识。第一次运行安装程序时,它提示输入此目录名称,然后再也不允许您更改它。每个镜像归档都是此本地目录中的子目录。


  • 安装程序似乎总是从连接的任何新镜像下载cygwin等基本软件包,这些新版本会自动添加到安装列表。




我建议您在保留区域和本地目录之间交换档案。让设置看到一个除了Fruitbat之外的存档,只有当你需要一个更高级的包从新的存档。



从意外/非预期的自动索引恢复的档案



您在步骤4中储存了cygwin1.dll的副本,对不对?如果没有,从头开始重建... :: frown :: :: sorry ::




  • 是如果设置告诉你一个比2.874更新的文件可用。


  • 你会意识到,当安装完成安装过程时,警告和可能几个弹出窗口关于在Windows中的缺少入口点,如kernel.dll。这是因为安装程序已经将您的cygwin1.dll替换为较新的版本。


  • 清除灰尘后,请复原cygwin1.dll的副本,然后重新运行您在步骤中创建的快捷方式2. Limp虽然得到cygwin和bash(和可能的破折号)包降级到那些工作。


  • 您可能必须分离档案(镜像),例如从设置的内存中包含升级的cygwin的文件。 Setup.ini与归档一起提供,因此在您从本地(缓存)目录中获得高级镜像后,有关setup.ini的消息应该停止。



    当Fruitbat是您本地目录中唯一的归档文件时,您将返回使用fruitbat归档中的2.874文件。



Please forgive this apparent install question, but I belive it is a lot more than just "how to make it work".

After announcing that 2.5.2 is the last XP release, and putting that fact into the FAQ, the cgywin people have diligently updated everything they could to make 2.5.2 inaccessible. They provide no reference to any 2.5.2 materials anymore. For example, the FAQ does NOT direct people to a down level installer link.

While this may be good for keeping people moving forward, it kills all new installs on XP.

First, the updated setup-x86.exe refuses to run on XP.

Second, after obtaining a down level setup-x86.exe, it will look for the file setup.ini on a mirror. It always finds one more recent than 2.874, which describes the last XP release materials.

If setup-x86 continues, it always installs the latest and greatest because the setup.ini on the mirror is up-level to 2.874.

Ironically, doing a google search for a verbatim match on cygwin "setup.ini" "2.874", today google ALWAYS returns files at the 2.876 version. The target text "2.874" appears nowhere in the file! Google never offers a "cached" version of the purported 2.874 file.

The only solution seems to be finding a cygwin mirror frozen at 2.5.5, containing a setup.ini file version 2.874.

I have searched far and wide, but can't find such a mirror. I'm asking the community if they have seen such an animal.

On behalf of all XP users that must install or re-install Cygwin, Thank You for your help!

解决方案

  1. Download setup version 2.874 directly from the Cygwin Time Machine.

  2. Create a shortcut with the -X parameter to disable signature checking. (This is because the fruitbat mirror doesn't save the signature files used for the check.) This is required! Without -X, setup will quietly switch to another mirror!

    • Right click the .exe and select "Copy".
    • Right click on the desktop or in a directory and select "paste as short cut".
    • Right click the shortcut you just created and select properties.

      1. Select the "Shortcut" tab
      2. Add -X to the end of the target field. That's a space to separate the parameter from the program name, a dash, and a CAPITAL X.
      3. Click OK to save the change.

  3. Third, execute (double click) the shortcut and go through the drill as documented on the cygwin site. Better yet, refer to https://www.physionet.org/physiotools/cygwin/ which has very nice pictures.

    When you reach Choose a Download Site , enter a URL from below in the User URL field and click ADD. Don't click NEXT yet, or your entry may be superseded!

    Scroll through the list of Avaiable Download Sites and make sure that www.fruitbat.org is the only one highlighted . The full URL you entered won't be displayed, you have to take it on faith that the correct mirror date will be remembered and used. Finally, you can click Next.

  4. Whenever you want to do maintenance, always use this shortcut.

    I suggest you always use setup in two passes; "download but do not install", then "install from saved". This can lessen the risk of installing new package versions automatically added to your install list.

    Prepare for bad things by saving a copy of cygwin1.dll (found in /cygwin/bin, a sub-directory of your install directory.) Do this using windows, and store it outside C:\cygwin.

  5. You can use setup to connect to a more recent archive than Fruitbat, but be careful!

    • First thing to do when the package list is displayed: click on the global "keep" radio button so that nothing gets automatically upgraded. Also look for more than one version of a package to be displayed as you click through the version number to be installed.

    • Second, after you've made your selections, always click on the VIEW button to reach the "pending" view. Verify what will happen should you continue.

    • Third, watch for a pop-up after you start installing that lists required packages which you did not select, and offers to automatically add them to the install list.

      Go back and select them manually. After you have everything needed in the list, reject any automatic add offer. The offer would probably includes things like a new cygwin or bash, which will not only break you cygwin system, but will also break setup.

Cygwin Mirrors are out to get you

Mirrors other than Fruitbat are constantly being upgraded, and do not preserve the older setup.ini files. At best, only the most previous version of an upgraded package is preserved. Obviously, if you are trying to keep a down-level cygwin system, this upgrade policy makes for a hostile environment.

  • Setup caches downloaded archive data in a local directory, identified in /cygwin/etc/setup/setup.rc. The very first time you run setup, it prompts for this directory name, and then never again lets you change it. Each mirror archive is a sub-directory in this local directory.

  • Setup always seems to download a few basic packages like cygwin from any new mirror it connects to, which risks these new versions being automatically added to the install list.

I suggest that you swap archives between a holding area and the local directory. Let setup see an archive other than Fruitbat only when you need an up-level package from the newer archive. If the newer archive isn't in the local directory, setup won't see the upgrades that will damage you system.

Recovering from an unexpected/unintended automagic upgrade.

You saved a copy of cygwin1.dll in step 4, right? If not, start rebuilding from scratch... ::frown:: ::sorry::

  • A possible "early warning" is if setup tells you that a newer file than 2.874 is available. This means it's looking at a mirror that contains an upgraded cygwin package which can break things.

  • You will realize things are going south as setup completes the install process with warnings and probably several pop-up about missing entry points in Windows proper, like kernel.dll. This is because setup have replaced your cygwin1.dll with a newer version. Just keep clicking OK and Continue until setup finishes.

  • After the dust settles, restore a copy of cygwin1.dll and re-run the shortcut you built in step 2. Limp though to get the cygwin and bash (and possibly dash) packages downgraded to ones that work. This is the minimum to get setup working again.

  • You may have to detach archives (mirrors), like the one that included the upgraded cygwin from setup's memory. Setup.ini comes with the archive, so after you get up-level mirrors out of the local (cache) directory, messages about setup.ini should cease.

    You will be back to using the 2.874 file from the fruitbat archive when Fruitbat is the only archive in your local directory.

这篇关于cygwin 2.5.2镜像 - 获取最后的XP版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆