nant fails to install with broken mono

Bug #483363 reported by wayward4now
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mono (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: mono

Setting up liblog4net1.2-cil (1.2.10+dfsg-3) ...
* Installing 1 assembly from liblog4net1.2-cil into Mono

** (/usr/lib/mono/2.0/gacutil.exe:17345): WARNING **: The class System.Collections.Generic.Dictionary`2 could not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Unhandled Exception: System.TypeLoadException: Could not load type 'Mono.Tools.Driver' from assembly 'gacutil, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
E: installing Assembly /usr/lib/cli/log4net-1.2/log4net.dll failed
E: Installation of liblog4net1.2-cil with /usr/share/cli-common/runtimes.d/mono failed
dpkg: error processing liblog4net1.2-cil (--configure):
 subprocess installed post-installation script returned error exit status 9
Setting up libnunit2.4-cil (2.4.7+dfsg-4) ...
* Installing 6 assemblies from libnunit2.4-cil into Mono

** (/usr/lib/mono/2.0/gacutil.exe:17359): WARNING **: The class System.Collections.Generic.Dictionary`2 could not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Unhandled Exception: System.TypeLoadException: Could not load type 'Mono.Tools.Driver' from assembly 'gacutil, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
E: installing Assembly /usr/lib/cli/nunit-2.4/nunit.core.dll failed
E: Installation of libnunit2.4-cil with /usr/share/cli-common/runtimes.d/mono failed
dpkg: error processing libnunit2.4-cil (--configure):
 subprocess installed post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of nant:
 nant depends on liblog4net1.2-cil (>= 1.2.10); however:
  Package liblog4net1.2-cil is not configured yet.
 nant depends on libnunit2.4-cil (>= 2.4.7); however:
  Package libnunit2.4-cil is not configured yet.
dpkg: error processing nant (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 liblog4net1.2-cil
 libnunit2.4-cil
 nant
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@iam:/usr/lib/opensim#

It's a real mess! Hope you can fix it! Thanx, Ric

ProblemType: Bug
Architecture: i386
Date: Sun Nov 15 20:54:55 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/sbin/synaptic
NonfreeKernelModules: nvidia
Package: synaptic 0.62.7ubuntu6
ProcEnviron:
 LANGUAGE=
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
SourcePackage: synaptic
Uname: Linux 2.6.31-11-generic i686

Revision history for this message
wayward4now (wayward4now) wrote :
Revision history for this message
wayward4now (wayward4now) wrote :

OK, I uninstalled and re-installed, it now is working. You may kill this bug report.

Iain Lane (laney)
Changed in mono (Ubuntu):
status: New → Invalid
Revision history for this message
David Robert Lewis (afrodeity) wrote :

Have exactly the same problem, but can't uninstall or install anything.

Changed in mono (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
David Robert Lewis (afrodeity) wrote :
Download full text (3.6 KiB)

I tried aptitude, which uninstalled some of it, but. still getting error messages and unfinished processes.

afrodeity@afrodeity-desktop:~$ sudo aptitude remove nant
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following packages will be REMOVED:
  liblog4net1.2-cil{u} libmono-cecil-private-cil{u}
  libmono-corlib1.0-cil{u} libmono-data-tds1.0-cil{u} libmono-dev{u}
  libmono-getoptions2.0-cil{u} libmono-i18n-west1.0-cil{u}
  libmono-management2.0-cil{u} libmono-peapi2.0-cil{u}
  libmono-relaxng1.0-cil{u} libmono-security1.0-cil{u}
  libmono-system-data1.0-cil{u} libmono-system-runtime1.0-cil{u}
  libmono-system-web1.0-cil{u} libmono-system1.0-cil{u} libmono0{u}
  libnunit2.4-cil{u} mono-2.0-devel{u} mono-csharp-shell{u} mono-devel{u}
0 packages upgraded, 0 newly installed, 20 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 20.8MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 242281 files and directories currently installed.)
Removing liblog4net1.2-cil ...
Removing liblog4net1.2-cil from Mono

** (/usr/lib/mono/2.0/gacutil.exe:22922): WARNING **: The class System.Collections.Generic.Dictionary`2 could not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Unhandled Exception: System.TypeLoadException: Could not load type 'Mono.Tools.Driver' from assembly 'gacutil, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
W: removing assembly: log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=a5715cc6d5c3540b failed!
E: File does not exist: /usr/share/cli-common/packages.d/policy.1.2.log4net.installcligac
dpkg: error processing liblog4net1.2-cil (--remove):
 subprocess installed post-removal script returned error exit status 1
Removing libnunit2.4-cil ...
Removing libnunit2.4-cil from Mono

** (/usr/lib/mono/2.0/gacutil.exe:22935): WARNING **: The class System.Collections.Generic.Dictionary`2 could not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Unhandled Exception: System.TypeLoadException: Could not load type 'Mono.Tools.Driver' from assembly 'gacutil, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
W: removing assembly: nunit.core, Version=2.4.7.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77 failed!
Removing mono-devel ...
Removing libmono-cecil-private-cil ...
Removing mono-2.0-devel ...
Removing libmono-system-runtime1.0-cil ...
Removing libmono-system-web1.0-cil ...
Removing libmono-system-data1.0-cil ...
Removing libmono-data-tds1.0-cil ...
Removing libmono-security1.0-cil ...
Removing libmono-relaxng1.0-cil ...
Removing libmono-system1.0-cil ...
Removing libmono-i18n-west1.0-cil ...
Removing libmono-corlib1.0-cil ...
Removing libmono-dev ...
Removing libmono-getoptions2.0-cil ...
Removing mono-csharp-shell ...
Removing libmono-management2.0-cil ...
Removing libmono-peapi2.0-cil ...
Removing libmono0 ...
Processing triggers for man-db ...
Processing...

Read more...

Revision history for this message
David Robert Lewis (afrodeity) wrote :

My efforts to rectify some of the damage http://ubuntuforums.org/showthread.php?t=1348866

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.