Comment 29 for bug 483220

Revision history for this message
Steve Beattie (sbeattie) wrote :

I've reproduced the problem installing bld 0.3.4.1-3 and can confirm that the version of bld in karmic-proposed, 0.3.4.1-3ubuntu0.1, successfully installs and appears to run. Given that, I'm willing consider this bug verification-done.

That said, SevenMachines, it is possible for an upgrading package to compensate for errors in a currently installed package; as part of the upgrade process, if the pre-removal script fails in the package being upgraded from, dpkg will re-attempt to run that step with pre-removal script from the version being upgraded to, like so:

    Preparing to replace bld 0.3.4.1-3 (using .../bld_0.3.4.1-3ubuntu0.1_amd64.deb) ...
    Stopping Black List Daemon: invoke-rc.d: initscript bld, action "stop" failed.
    dpkg: warning: old pre-removal script returned error exit status 1
=> dpkg - trying script from the new package instead ...
    Stopping Black List Daemon: invoke-rc.d: initscript bld, action "stop" failed.
    dpkg: error processing /var/cache/apt/archives/bld_0.3.4.1-3ubuntu0.1_amd64.deb (--unpack):

For SRUs, having the upgrading package correct for errors in the past gives a far better user experience than requiring them to track a bug report to find what manual steps need to be taken to correct their broken installation.

Thanks.