Bug 39906 - Unmet dependencies for gendarme / mono-tools-devel (Ubuntu)
Summary: Unmet dependencies for gendarme / mono-tools-devel (Ubuntu)
Status: RESOLVED FIXED
Alias: None
Product: Tools
Classification: Mono
Component: Gendarme ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Jo Shields
URL:
Depends on:
Blocks:
 
Reported: 2016-03-25 01:40 UTC by Kratzer Kevin
Modified: 2016-04-07 08:42 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Kratzer Kevin 2016-03-25 01:40:06 UTC
It is not possible to install gendarme or mono-tools-devel on Xubuntu 15.10 using the mono project repository (as described in http://www.mono-project.com/docs/getting-started/install/linux/)

> cat /etc/apt/sources.list.d/mono-xamarin.list 
deb http://download.mono-project.com/repo/debian wheezy main

> apt-cache policy gendarme
gendarme:
  Installed: (none)
  Candidate: 3.10-1xamarin1
  Version table:
     3.10-1xamarin1 0
        500 http://download.mono-project.com/repo/debian/ wheezy/main amd64 Packages
     3.10-1 0
        500 http://jp.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages


> sudo apt-get install gendarme
or
> sudo apt-get install gendarme=3.10-1xamarin1
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:
 gendarme : Depends: libmono-cecil-private-cil (< 3.12.1) but 4.2.3.4-0xamarin2 is to be installed
E: Unable to correct problems, you have held broken packages.

> sudo apt-get install gendarme=3.10-1
works but the upgrade command will then note that an update for gendarme has been kept back
> sudo apt-get upgrade
The following packages have been kept back:
  gendarme

The same behaviour can be observed for the mono-tools-devel package.
> sudo apt-cache policy mono-tools-devel
mono-tools-devel:
  Installed: (none)
  Candidate: 3.10-1xamarin1
  Version table:
     3.10-1xamarin1 0
        500 http://download.mono-project.com/repo/debian/ wheezy/main amd64 Packages
     3.10-1 0
        500 http://jp.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
> sudo apt-get install mono-tools-devel
or
> sudo apt-get install mono-tools-devel=3.10-1xamarin1
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-tools-devel : Depends: libmono-cecil-private-cil (< 3.12.1) but 4.2.3.4-0xamarin2 is to be installed


--------------------------------
> apt-cache policy mono-complete 

mono-complete:
  Installed: 4.2.3.4-0xamarin2
  Candidate: 4.2.3.4-0xamarin2
  Version table:
 *** 4.2.3.4-0xamarin2 0
        500 http://download.mono-project.com/repo/debian/ wheezy/main amd64 Packages
        100 /var/lib/dpkg/status
     3.2.8+dfsg-4ubuntu4 0
        500 http://jp.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages

> cat /proc/version

Linux version 4.2.0-34-generic (buildd@lgw01-54) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) ) #39-Ubuntu SMP Thu Mar 10 22:13:01 UTC 2016
Comment 1 Jo Shields 2016-04-06 16:50:48 UTC
gendarme should be fine, there's a lingering problem for mono-tools-devel
Comment 2 Kratzer Kevin 2016-04-07 00:39:13 UTC
Thank you. gendarme installs without any problems now.