[dist-upgrade] Maverick->Natty upgrade stumbles on monodoc

Bug #774165 reported by Marcus Comstedt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Expired
Undecided
Unassigned

Bug Description

During the upgrade from Maverick to Natty, an error occured in a trigger for the monodoc-base package:

[...]
Processing triggers for monodoc-base ...
generating monodoc search index...

** (/usr/lib/monodoc/browser.exe:32441): WARNING **: The following assembly referenced from /usr/lib/monodoc/browser.exe could not be loaded:
     Assembly: gtk-sharp (assemblyref_index=2)
     Version: 2.12.0.0
     Public Key: 35e10195dab3c99f
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/lib/monodoc/).

** (/usr/lib/monodoc/browser.exe:32441): WARNING **: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.

** (/usr/lib/monodoc/browser.exe:32441): WARNING **: Missing method Init in assembly /usr/lib/monodoc/browser.exe, type Gtk.Application

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'
dpkg: error processing monodoc-base (--unpack):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 monodoc-base
dpkg: libindicator1: dependency problems, but removing anyway as you requested:
 libappindicator1 depends on libindicator1; however:
  Package libindicator1 is to be removed.
[...]

The monodoc-base package was later replaced, without any problems at all:

[...]
Unpacking replacement mono-mcs ...
Preparing to replace monodoc-base 2.6.7-3ubuntu1 (using .../monodoc-base_2.6.7-5ubuntu3_all.deb) ...
Unpacking replacement monodoc-base ...
Preparing to replace mousetweaks 2.32.0-0ubuntu1 (using .../mousetweaks_3.0.0-0ubuntu2_powerpc.deb) ...
[...]
Setting up mono-mcs (2.6.7-5ubuntu3) ...
Setting up monodoc-base (2.6.7-5ubuntu3) ...
Setting up nautilus-share (0.7.2-14ubuntu1) ...
[...]

The end result was that the dist-upgrade claimed that one error had
occured, and refused to run the "cleanup" and "reboot" steps.

Maybe running triggers for packages that are going to be replaced
anyway should be avoided?

Revision history for this message
Marcus Comstedt (marcus-mc) wrote :
Revision history for this message
Marcus Comstedt (marcus-mc) wrote :
Revision history for this message
Marcus Comstedt (marcus-mc) wrote :
Revision history for this message
Marcus Comstedt (marcus-mc) wrote :
Revision history for this message
Marcus Comstedt (marcus-mc) wrote :
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
Are you encountering again this problem with the latest release Oneiric Ocelot ?
Thanks
Fabio
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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