/etc/piuparts/scripts/post_distupgrade_exceptions is in piuparts 0.56ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/bin/sh
set -e
log_debug() {
echo "Debug: piuparts exception for package $PIUPARTS_OBJECTS"
}
if [ "$PIUPARTS_DISTRIBUTION" = "wheezy" ] || \
[ "$PIUPARTS_DISTRIBUTION" = "wheezy-proposed" ] ; then
# libdb4.8/squeeze is part of the minimal squeeze chroot and
# remains installed after distupgrade even if it no longer
# exists in wheezy
# db4.8-util/wheezy Conflicts/Replaces libdb4.8, so ensure it
# gets removed from the reference chroot, too
case ${PIUPARTS_OBJECTS%%=*} in
db4.8-util|cyrus-*-2.2|libcyrus-imap-perl22|sa-learn-cyrus)
log_debug
dpkg --purge libdb4.8
;;
esac
fi
|