#1108948 libnutscan-dev: ineffective Replaces due to /usr-move (DEP17)

Package:
libnutscan-dev
Source:
libnutscan-dev
Description:
network UPS tools - development files for the scanner library
Submitter:
Helmut Grohne
Date:
2025-09-01 10:53:09 UTC
Severity:
normal
Tags:
#1108948#5
Date:
2025-07-06 15:43:51 UTC
From:
To:
Hi,

libnutscan.a was installed in libnutscan2 in bookworm and has been moved
to libnutscan-dev in experimental. I think it is fairly obvious that
libnutscan-dev is a better place. At the same time, the file has been
moved from /lib to /usr/lib due to the /usr-move transition (DEP17). Now
an upgrade problem may arise. Upgrading from libnutscan2 in bookworm to
the experimental version deletes this files (DEP17 P1).

If the version in experimental is targeting forky and not trixie and you
do not intend to upload nutscan to trixie-backports, the particular
problem cannot be experienced in supported upgrade scenarios. In that
case, please close this report and take a note that it must not be
backported.

If the version is heading for trixie or trixie-backports, I suggest
mitigating the problem by changing Breaks + Replaces to Conflicts (DEP17
M7).  Policy indicates that this is not normally the right solution, but
the special circumstances of the /usr-move transition require it.

Let me know if you have any questions. For background information refer
to the relevant sections in https://subdivi.de/~helmut/dep17.html.

Helmut

#1108948#14
Date:
2025-09-01 10:51:27 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
nut, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1108948@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laurent Bigonville <bigon@debian.org> (supplier of updated nut package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 01 Sep 2025 12:25:12 +0200
Source: nut
Architecture: source
Version: 2.8.3-3
Distribution: unstable
Urgency: medium
Maintainer: Laurent Bigonville <bigon@debian.org>
Changed-By: Laurent Bigonville <bigon@debian.org>
Closes: 1108948
Changes:
 nut (2.8.3-3) unstable; urgency=medium
 .
   * Use Conflicts instead of Breaks/Replaces to avoid file from disappearing
     (Closes: #1108948)
Checksums-Sha1:
 355b151048c35e96fda3a32d8f8212fea1bae4c7 3234 nut_2.8.3-3.dsc
 c2a64ffc7f716273560ba063fa755e7ea9131c0b 72828 nut_2.8.3-3.debian.tar.xz
 d2831fe65c7b637f69c64716d942dd311e134294 6089 nut_2.8.3-3_source.buildinfo
Checksums-Sha256:
 e5b1463c3146bcf060859c873da6d2b90bdead62d84a9d0ee2e15367b87f0f00 3234 nut_2.8.3-3.dsc
 56b4c27ccdb85b062152f6ad6bfafea2c1bb64dee1878d4f4f0c1f65c3d66268 72828 nut_2.8.3-3.debian.tar.xz
 7572f9af0f6ce163ecc76f3dcd7bd35d46cb36d0a277f7b08e41c549534b261a 6089 nut_2.8.3-3_source.buildinfo
Files:
 ce218367ca9cc21f978ed8111b5563ce 3234 admin optional nut_2.8.3-3.dsc
 42267ada3fcbd469787400b5898c5ece 72828 admin optional nut_2.8.3-3.debian.tar.xz
 115c24c3767ddede3a3946251a92579a 6089 admin optional nut_2.8.3-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQFFBAEBCgAvFiEEmRrdqQAhuF2x31DwH8WJHrqwQ9UFAmi1dNcRHGJpZ29uQGRl
Ymlhbi5vcmcACgkQH8WJHrqwQ9V69wf+NJi0+SjDLGm2OD1HK623Xyy/c6pnUrg2
jcwF73SlHE761u+1Z7IlVsz2/HZhbRlG2mLfvLrgY9+y/i27+GDfyfjMWYPALG21
xywarR6qFWv66K5kjdm5TM6DjOWYYBct9iPS7t12GIAJcjb6zYkavPrdZhYCUlHt
TCIbXozSfni/6ZB/Z6S7BDvWz1M1yWxdj0+dxJhu8OtBvcebgU2Zo5rU84NHH9Z6
ZCLQ1IclnA3+pE38zu6sQwn0gQUIxTKKn/7SwAVGRDcc3hMB2fjHBGP/I/2GhmoW
iXXfQQ/XDvMbPmbXEWWaeSiM3p8tP+X7xQhESxC9ZI8IEuqVR/RFaw==
=XxJM
-----END PGP SIGNATURE-----