Comment 2 for bug 1506826

Revision history for this message
James Page (james-page) wrote :

The problem is that the old postrm is being called with no conditionality on the actions it takes; its doing a remove/purge all of the time, when infact its being called with 'upgrade' which then fails due to the interim state of files on disk.

I think the right fix is to only perform the steps in the postrm for remove/purge - upgrade can be an no-op as the collect/compress will happen in the postinst.