Comment 5 for bug 564351

Revision history for this message
Chris Halse Rogers (raof) wrote :

This is not a duplicate of bug #560095, nor is it the same problem as in bug #564506 (although directhex's patch incorporates this fix). The problem here is that the postinst & postrm fragments which actually call the late-gac installer weren't being copied to the binary deb because dh_installcligac was being called after dh_installdeb.

You can verify this by running “gacutil -l | grep appindicator”. With libappindicator0-cil 0.0.19-0ubuntu3 this returns no results, because the library hasn't been installed into the GAC

└─(19:03:%)── sudo dpkg --install libappindicator0-cil_0.0.19-0ubuntu3_all.deb ──(Sat,Apr17)─┘
dpkg: warning: downgrading libappindicator0-cil from 0.0.19-0ubuntu4 to 0.0.19-0ubuntu3.
(Reading database ... 402366 files and directories currently installed.)
Preparing to replace libappindicator0-cil 0.0.19-0ubuntu4 (using libappindicator0-cil_0.0.19-0ubuntu3_all.deb) ...
Removing libappindicator0-cil from Mono
Unpacking replacement libappindicator0-cil ...
Setting up libappindicator0-cil (0.0.19-0ubuntu3) ...
┌─(raof@Ed:pts/1)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(19:07:%)── gacutil -l | grep appindicator ──(Sat,Apr17)─┘
┌─(raof@Ed:pts/1)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(1:19:07:%)── sudo dpkg --install ~/pbuilder/lucid_result/libappindicator0-cil_0.0.19-0ubuntu4_all.deb ──(Sat,Apr17)─┘
(Reading database ... 402366 files and directories currently installed.)
Preparing to replace libappindicator0-cil 0.0.19-0ubuntu3 (using .../libappindicator0-cil_0.0.19-0ubuntu4_all.deb) ...
Unpacking replacement libappindicator0-cil ...
Setting up libappindicator0-cil (0.0.19-0ubuntu4) ...
* Installing 1 assembly from libappindicator0-cil into Mono

┌─(raof@Ed:pts/1)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(19:07:%)── gacutil -l | grep appindicator ──(Sat,Apr17)─┘
appindicator-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=bcae265d1c7ab4c2
┌─(raof@Ed:pts/1)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(19:08:%)── ──(Sat,Apr17)─┘