gpt4 book ai didi

mono - 安装旧版本的 Mono

转载 作者:行者123 更新时间:2023-12-01 17:02:24 30 4
gpt4 key购买 nike

今天我的 Ubuntu 将 Mono 更新到了 4.2.1.102。它不会允许我绝对需要运行的某个程序。如何将其降级到 4.0.5.1?我已经尝试过了...

sudo apt-get install mono-complete=4.0.5.1

这行不通。

最佳答案

编辑您的/etc/apt/sources.list.d/mono-xamarin.list并更改:

deb http://download.mono-project.com/repo/debian wheezy main

至:

deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5.1 main

这会将其固定到版本 4.0.5.1。

仅供引用:确保您的任何/etc/apt/sources/list.d/xxxxx.list 文件中没有任何 mono 的 alpha/beta 存储库。

降级的基本步骤:

sudo apt-get remove mono-complete
# Edit your mono-xamarin.list and pin it to the version of your choice.
sudo apt-get update
sudo apt-get install mono-complete

Accessing older releases If for some reason you want to pin an older version of Mono rather than updating to the latest, you can modify the Debian repository to “wheezy/snapshots/X.XX.X” instead of “wheezy”. For example, “wheezy/snapshots/3.10.0” will lock you to that version.

These snapshots will cease receiving updates as soon as the next major Mono version gets uploaded - for example, as soon as Mono 3.12 gets uploaded, 3.10 will never receive updates.

On RPM distributions, force the package version in your package manager - all older versions are published in the YUM metadata and should be available.

引用号:http://www.mono-project.com/docs/getting-started/install/linux/#accessing-older-releases

引用:可用版本:

http://download.mono-project.com/repo/debian/pool/main/m/mono/

关于mono - 安装旧版本的 Mono,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33763177/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com