Comment 2 for bug 540252

Revision history for this message
Michael Vogt (mvo) wrote : Re: trigger failures not reported on --status-fd and not properly in the terminal log

It turns out this is a side effect of using --auto-deconfigure in apt:

When modifying the software-center trigger code to error out, this is the result:

# dpkg --auto-deconfigure --unpack /var/cache/apt/archives/app-install-data-partner_12.10.04_all.deb
(Reading database ... 367213 files and directories currently installed.)
Preparing to replace app-install-data-partner 12.10.04 (using .../app-install-data-partner_12.10.04_all.deb) ...
Unpacking replacement app-install-data-partner ...
Processing triggers for software-center ...
exiting with exit code in software-center trigger
dpkg: subprocess installed post-installation script returned error exit status 1