Package: xsane Version: 0.999-9 Severity: serious Tags: patch User: debian...@lists.debian.org Usertags: piuparts
Hi, during a test with piuparts I noticed your package fails to upgrade from 'buster'. It installed fine in 'buster', then the upgrade to 'bullseye' fails. >From the attached log (scroll to the bottom...): 1m56.7s ERROR: FAIL: debsums reports modifications inside the chroot: debsums: missing file /usr/share/sane/xsane/xsane-startimage.pnm (from xsane package) /usr/share/sane/xsane/xsane-startimage.pnm moved from xsane-common 0.999-6 (buster) to xsane 0.999-9 (bullseye) without adding corresponding Breaks+Replaces. Contrarily, there is an ancient unversioned Replaces: xsane in xsane-commmon which now starts to cause havoc. The attached patch fixes the upgrade path. cheers, Andreas
>From 84b6247c46e9c0dbe8502991e5f7edce672e5c66 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann <a...@debian.org> Date: Sun, 14 Mar 2021 05:25:53 +0100 Subject: [PATCH] fix package relationships fix /usr/share/sane/xsane/xsane-startimage.pnm missing after upgrading from buster to bullseye --- debian/changelog | 8 ++++++++ debian/control | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 85c016d..a14db1f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +xsane (0.999-10) UNRELEASED; urgency=medium + + * xsane-common: Remove unversioned Replaces: xsane. + * xsane: Add Breaks+Replaces: xsane-common (<< 0.999-10~) for taking over + xsane-startimage.pnm. (Closes: #xxxxxx) + + -- Andreas Beckmann <a...@debian.org> Sun, 14 Mar 2021 05:20:27 +0100 + xsane (0.999-9) unstable; urgency=medium * debian/copyright: diff --git a/debian/control b/debian/control index e5fa11d..741d763 100644 --- a/debian/control +++ b/debian/control @@ -34,6 +34,10 @@ Suggests: gocr | cuneiform | tesseract-ocr | ocrad, gv, hylafax-client | mgetty-fax +Breaks: + xsane-common (<< 0.999-10~), +Replaces: + xsane-common (<< 0.999-10~), Description: featureful graphical frontend for SANE (Scanner Access Now Easy) xsane can be run as a stand-alone program or through the GIMP image manipulation program. In stand-alone mode, xsane can save an image @@ -54,7 +58,6 @@ Package: xsane-common Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} -Replaces: xsane Recommends: xsane Description: xsane architecture independent files xsane can be run as a stand-alone program or through the GIMP image -- 2.20.1
xsane_0.999-9.log.gz
Description: application/gzip