Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/310.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Ubuntu 12.04:安装MonoDevelop;“包装破损”/&引用;“未满足的依赖关系”;错误_C#_Linux_Ubuntu_Mono_Package - Fatal编程技术网

C# Ubuntu 12.04:安装MonoDevelop;“包装破损”/&引用;“未满足的依赖关系”;错误

C# Ubuntu 12.04:安装MonoDevelop;“包装破损”/&引用;“未满足的依赖关系”;错误,c#,linux,ubuntu,mono,package,C#,Linux,Ubuntu,Mono,Package,我对Linux非常陌生,所以如果我的问题答案显而易见,请原谅我。因为我运行的是ARM设备,无法安装wine,所以我尝试安装Mono/Develop。问题是,每当我尝试安装任何Mono软件包时,都会遇到大量“未满足的依赖项”。例如: (precise).....@localhost:~$ sudo apt-get install monodevelop . . . Some packages could not be installed. This may mean that you have r

我对Linux非常陌生,所以如果我的问题答案显而易见,请原谅我。因为我运行的是ARM设备,无法安装wine,所以我尝试安装Mono/Develop。问题是,每当我尝试安装任何Mono软件包时,都会遇到大量“未满足的依赖项”。例如:

(precise).....@localhost:~$ sudo apt-get install monodevelop
.
.
.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
.
The following packages have unmet dependencies:
 monodevelop : Depends: mono-runtime-sgen but it is not going to be installed
               Depends: mono-runtime (>= 3.0~) but it is not going to be installed
               Depends: libgconf2.0-cil (>= 2.24.0) but it is not going to be installed
               Depends: libglade2.0-cil (>= 2.12.10-1ubuntu1) but it is not going to be installed
               Depends: libglib2.0-cil (>= 2.12.10-1ubuntu1) but it is not going to be installed
               Depends: libgnome-vfs2.0-cil (>= 2.24.0) but it is not going to be installed
               Depends: libgnome2.24-cil (>= 2.24.0) but it is not going to be installed
               Depends: libgtk2.0-cil (>= 2.12.10-1ubuntu1) but it is not going to be installed
               Depends: libmono-cairo4.0-cil (>= 3.2.1) but it is not going to be installed
               Depends: libmono-corlib2.0-cil (>= 3.2.8) but it is not going to be installed
               Depends: libmono-corlib4.5-cil (>= 3.6.0) but it is not going to be installed
               Depends: libmono-microsoft-build-engine4.0-cil (>= 3.2.1) but it is not going to be installed
               Depends: libmono-microsoft-build-framework4.0-cil (>= 3.6.0) but it is not going to be installed
               Depends: libmono-microsoft-build-utilities-v4.0-4.0-cil (>= 3.6.0) but it is not going to be installed
               Depends: libmono-microsoft-csharp4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-posix4.0-cil (>= 3.2.3) but it is not going to be installed
               Depends: libmono-sharpzip4.84-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-componentmodel-dataannotations4.0-cil (>= 3.2.3) but it is not going to be installed
               Depends: libmono-system-configuration4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-core4.0-cil (>= 3.2.8) but it is not going to be installed
               Depends: libmono-system-data-services-client4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-data4.0-cil (>= 3.0.6) but it is not going to be installed
               Depends: libmono-system-design4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-drawing4.0-cil (>= 3.0.6) but it is not going to be installed
               Depends: libmono-system-runtime-serialization4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-runtime4.0-cil (>= 2.10.1) but it is not going to be installed
               Depends: libmono-system-security4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-servicemodel4.0a-cil (>= 3.2.3) but it is not going to be installed
               Depends: libmono-system-web-mvc3.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-web-razor2.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-web-services4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-web-webpages-razor2.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-web4.0-cil (>= 2.10.3) but it is not going to be installed
               Depends: libmono-system-windows-forms4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-xaml4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-xml-linq4.0-cil (>= 3.0.6) but it is not going to be installed
               Depends: libmono-system-xml4.0-cil (>= 3.6.0) but it is not going to be installed
               Depends: libmono-system2.0-cil (>= 3.2.1) but it is not going to be installed
               Depends: libmono-system4.0-cil (>= 3.2.8) but it is not going to be installed
               Depends: libmono-windowsbase4.0-cil (>= 3.0.6) but it is not going to be installed
               Depends: monodoc-base (>= 3.2.1) but it is not going to be installed
               Recommends: libglade2.0-cil-dev but it is not going to be installed
               Recommends: libgtk2.0-cil-dev but it is not going to be installed
               Recommends: mono-devel but it is not going to be installed
最后,我得到了这个错误:

E: Unable to correct problems, you have held broken packages.
当我尝试安装其他软件包(如mono complete)时,也会发生同样的情况,但程度较低

(precise).....@localhost:~$ sudo apt-get install mono-complete
.
.
.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
.
The following packages have unmet dependencies:
 mono-complete : Depends: mono-runtime (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-runtime-sgen (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-utils (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-devel (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-mcs (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-gmcs (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-dmcs (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-csharp-shell (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-2.0-gac (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-4.0-gac (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-2.0-service (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: mono-4.0-service (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: monodoc-base (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
                 Depends: monodoc-manual (= 2.10.8.1-1ubuntu2.2) but 3.10.0-0xamarin2 is to be installed
                 Depends: libmono-cil-dev (= 2.10.8.1-1ubuntu2.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我已尝试按照
http://www.howtogeek.com/howto/linux/installing-monodevelop-from-source-on-ubuntu/
,on,and,并运行
sudo apt get update
,但我一直收到坏包错误


我是否必须重新安装Ubuntu(这对我来说很好,因为我使用的是Crouton),将所有这些包名添加到
sudo apt get install
,或者什么?

我也面临着类似的问题。如果您乐于使用mono的预发布版本,那么使用PPA就可以了。运行以下命令

sudo add-apt-repository ppa:directhex/monoxide
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mono-complete

您持有损坏的软件包
-系统认为您有一些损坏的软件包被标记为不可修复,这使得安装mono变得不可能。您可以跟踪那个特定的包。我如何跟踪那个包?请尝试
apt mark showhold
apt get-o Debug::pkgprobleresolver=yes mono complete
和/或尝试递归地逐个安装列出的依赖项,直到遇到实际问题为止。@Jester第二个命令必须是:
apt get-oDebug::pkgproblemrolver=yes安装mono complete
缺少“安装”部分:)