Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package sane-backends [ Reason ] Some preinst script performed cleanup which resulted in deletion of files now owned by other packages. The preinst was unneccessary since the handled files were shipped by the package, so dpkg will perform all neccessary cleanup if the files get removed (or moved to another package), no manual cleanup is needed. [ Impact ] debsums reports missing files, manpages are missing. [ Tests ] Local piuparts tests showed clean bullseye->bookworm upgrades with the fixed packages. [ Risks ] [ Checklist ] [x] all changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in testing [ Other info ] n/a unblock sane-backends/1.2.1-2 Andreas
diff -Nru sane-backends-1.2.1/debian/changelog sane-backends-1.2.1/debian/changelog --- sane-backends-1.2.1/debian/changelog 2023-02-13 19:25:08.000000000 +0100 +++ sane-backends-1.2.1/debian/changelog 2023-05-16 18:49:09.000000000 +0200 @@ -1,3 +1,10 @@ +sane-backends (1.2.1-2) unstable; urgency=medium + + * Fix remove wrong remove manpage (Closes: #1035677): + - Remove debian/sane-utils.preinst. + + -- Jörg Frings-Fürst <debian@jff.email> Tue, 16 May 2023 18:49:09 +0200 + sane-backends (1.2.1-1) unstable; urgency=medium * New upstream release: diff -Nru sane-backends-1.2.1/debian/sane-utils.preinst sane-backends-1.2.1/debian/sane-utils.preinst --- sane-backends-1.2.1/debian/sane-utils.preinst 2022-02-28 08:15:57.000000000 +0100 +++ sane-backends-1.2.1/debian/sane-utils.preinst 1970-01-01 01:00:00.000000000 +0100 @@ -1,27 +0,0 @@ -#!/bin/sh - -set -e - -MANPAGE=/usr/share/man/man5/sane-umax_pp.5.gz -MANLINK=/usr/share/man/man5/umax_pp.5.gz - - -if [ "$1" = upgrade ]; then - - ## Remove obsolete manpages that are now provided by sane-common - if dpkg --compare-versions "$2" le "1.1.1-2"; then - - if [ -f "$MANLINK" ] && [ -L "$MANLINK" ]; then - rm -rf "$MANLINK" - fi - - - if [ -f "$MANPAGE" ]; then - rm -rf "$MANPAGE" - fi - fi -fi - - - -#DEBHELPER#