Comment 3 for bug 399482

Revision history for this message
Martin-Éric Racine (q-funk) wrote : Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

While I haven't seen what fix was used in 4.45-0ubuntu3 (still waiting for the mirror to be pulsed), I'll point out that the main issue seems to be that prerm misses the case/esac traps to intercept dpkg commands:

# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>

This is what made the upgrade fail.