DPkg::Pre-Invoke {"if [ -x /sbin/zfs ]; then DS=$(findmnt -n -o SOURCE / 2>/dev/null); case \"$DS\" in */*) zfs snapshot \"${DS}@apt-pre-$(date +%Y%m%d%H%M%S)\" 2>/dev/null || true;; esac; fi";};
