安装旧版本的Mono [英] Install Older Version of Mono

查看:321
本文介绍了安装旧版本的Mono的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Today my Ubuntu updated Mono to 4.2.1.102. It will not allow a certain program I absolutely need to run. How can I down-grade it to 4.0.5.1? I have tried...

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.

That will pin it to version 4.0.5.1.

仅供参考:请确保您的/etc/apt/sources/list.d/xxxxx.list文件中的任何一个都没有用于mono的alpha/beta存储库.

FYI: Make sure that you do not have any alpha/beta repos for mono in any of your /etc/apt/sources/list.d/xxxxx.list files.

降级的基本步骤:

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

访问较旧的发行版如果出于某些原因要固定较旧的版本 Mono版本,而不是更新到最新版本,您可以修改 Debian存储库改为"wheezy/snapshots/X.XX.X",而不是"wheezy". 例如,"wheezy/snapshots/3.10.0"会将您锁定到该版本.

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.

下一个主要版本后,这些快照将停止接收更新 Mono版本被上传-例如,一旦Mono 3.12被获取 上传后,3.10将永远不会收到更新.

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.

在RPM发行版上,在您的软件包中强制使用该软件包的版本 经理-所有较旧的版本都发布在YUM元数据中,并且 应该可用.

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/池/主/米/单/

这篇关于安装旧版本的Mono的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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