Hi, I created the .preinst files and now it seems that the upgrade is ok.
I did manual tests and ran piuparts too. # piuparts bogofilter_1.2.4+dfsg1-7_amd64.changes 9m24.4s DEBUG: Recording chroot state 9m25.9s INFO: PASS: Installation, upgrade and purging tests. 9m26.3s DEBUG: Starting command: ['umount', '/tmp/tmpztbiO1/dev/shm'] 9m26.3s DEBUG: Command ok: ['umount', '/tmp/tmpztbiO1/dev/shm'] 9m26.3s DEBUG: Starting command: ['umount', '/tmp/tmpztbiO1/dev/pts'] 9m26.3s DEBUG: Command ok: ['umount', '/tmp/tmpztbiO1/dev/pts'] 9m26.3s DEBUG: Starting command: ['umount', '/tmp/tmpztbiO1/proc'] 9m26.3s DEBUG: Command ok: ['umount', '/tmp/tmpztbiO1/proc'] 9m26.3s DEBUG: Starting command: ['rm', '-rf', '--one-file-system', '/tmp/tmpztbiO1'] 9m27.2s DEBUG: Command ok: ['rm', '-rf', '--one-file-system', '/tmp/tmpztbiO1'] 9m27.2s DEBUG: Removed directory tree at /tmp/tmpztbiO1 9m27.2s INFO: PASS: All tests. 9m27.2s INFO: piuparts run ends. The debdiff is basically: +case "$1" in + install|upgrade) + # dpkg does not replace directories by symlinks or vice versa. + if dpkg --compare-versions "$2" lt "1.2.4+dfsg1-7" ; then + rm -rf /usr/share/doc/bogofilter-bdb || true + fi + ;; + abort-upgrade) + ;; + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac For each package, of course. First did an upload to mentors[0]. Then did th upload with delay/3 (just in case of) to ftp-master. [0]- https://mentors.debian.net/package/bogofilter https://mentors.debian.net/debian/pool/main/b/bogofilter/bogofilter_1.2.4+dfsg1-7.dsc regards, -- Herbert Parentes Fortes Neto (hpfn)
signature.asc
Description: This is a digitally signed message part