R
R
romashin02020-07-27 13:16:27
linux
romashin0, 2020-07-27 13:16:27

How to fix an error when installing mono?

[email protected]:~$ sudo apt install mono-complete
Reading package lists... Done
Building dependency tree
Reading state information... Done
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 (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: mono-runtime-sgen (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: mono-llvm-support (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: libmono-2.0-1 (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: mono-utils (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: mono-devel (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: mono-mcs (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: mono-roslyn (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: mono-csharp-shell (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: mono-4.0-gac (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: mono-4.0-service (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: monodoc-base (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: monodoc-manual (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: libmono-cil-dev (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
                 Depends: referenceassemblies-pcl but it is not going to be installed
                 Depends: msbuild but it is not going to be installed
                 Depends: ca-certificates-mono (= 6.10.0.104-0xamarin16+debian10b1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Valdemar Smorman, 2020-07-27
@smorman

Does sudo apt install -f
n't channel?

R
Roman Mirilaczvili, 2020-07-27
@2ord

If you initially follow the installation instructions
https://www.mono-project.com/download/stable/#down...
and get an error about missing dependencies, then you need to report problems to the Mono developers:
https://github. com/mono/mono/issues

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question