This can only sensibly be done once we have triggers support in dpkg (see the dpkg-triggers specification).
This can only sensibly be done once we have triggers support in dpkg (see the dpkg-triggers specification).