Your message dated Mon, 19 Aug 2024 21:04:25 +0000
with message-id <e1sg9y9-003kbf...@fasolo.debian.org>
and subject line Bug#1079058: fixed in libiio 0.25-7
has caused the Debian Bug report #1079058,
regarding libiio0: Multi-Arch: same shared file loss due to /usr-move (DEP17 P7)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1079058: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079058
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libiio0
Version: 0.25-6
Severity: serious
Tags: patch
User: helm...@debian.org
Usertags: dep17p7
Hi,
I am sorry to tell you that your /usr-move upload did not go well.
libiio0 formerly installed /lib/udev/rules.d/90-libiio0.rules and now
installs the same file to /usr. Since the path is both formerly aliased
and shared between multiple instances, this file can be lost in an
upgrade (DEP17 P7). The recommended solution is protecting it from loss
using a diversion for the duration of the upgrade (M10). After the
upgrade has been completed, the protective diversion is gone again. I am
attaching a patch for your convenience. Users affected by the file loss
in unstable will fix their systems when upgrading to the next version of
libiio0.
Helmut
diff --minimal -Nru libiio-0.25/debian/changelog libiio-0.25/debian/changelog
--- libiio-0.25/debian/changelog 2024-08-15 12:12:23.000000000 +0200
+++ libiio-0.25/debian/changelog 2024-08-19 16:12:17.000000000 +0200
@@ -1,3 +1,11 @@
+libiio (0.25-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Mitigate M-A:same shared file loss due to /usr-move. (DEP17 P7 M10,
+ Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de> Mon, 19 Aug 2024 16:12:17 +0200
+
libiio (0.25-6) unstable; urgency=medium
* UsrMerge build: /lib/systemd/... -> /usr/lib/systemd/... (Closes: #1073610)
diff --minimal -Nru libiio-0.25/debian/libiio0.postinst
libiio-0.25/debian/libiio0.postinst
--- libiio-0.25/debian/libiio0.postinst 1970-01-01 01:00:00.000000000 +0100
+++ libiio-0.25/debian/libiio0.postinst 2024-08-19 16:12:17.000000000 +0200
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+# DEP17 P7 M10
+if [ "$1" = "configure" ]; then
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/90-libiio0.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/90-libiio0.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
+
+exit 0
diff --minimal -Nru libiio-0.25/debian/libiio0.postrm
libiio-0.25/debian/libiio0.postrm
--- libiio-0.25/debian/libiio0.postrm 1970-01-01 01:00:00.000000000 +0100
+++ libiio-0.25/debian/libiio0.postrm 2024-08-19 16:12:17.000000000 +0200
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+# DEP17 P7 M10
+if [ "$1" = "remove" ] && [ "$DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT" = "1" ]; then
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/90-libiio0.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/90-libiio0.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
+
+exit 0
diff --minimal -Nru libiio-0.25/debian/libiio0.preinst
libiio-0.25/debian/libiio0.preinst
--- libiio-0.25/debian/libiio0.preinst 1970-01-01 01:00:00.000000000 +0100
+++ libiio-0.25/debian/libiio0.preinst 2024-08-19 16:12:17.000000000 +0200
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+# DEP17 P7 M10
+if [ "$1" = "upgrade" ]; then
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/90-libiio0.rules.usr-is-merged \
+ --add /lib/udev/rules.d/90-libiio0.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
+
+exit 0
--- End Message ---
--- Begin Message ---
Source: libiio
Source-Version: 0.25-7
Done: A. Maitland Bottoms <bott...@debian.org>
We believe that the bug you reported is fixed in the latest version of
libiio, 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 1079...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
A. Maitland Bottoms <bott...@debian.org> (supplier of updated libiio 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 19 Aug 2024 15:55:18 -0400
Source: libiio
Architecture: source
Version: 0.25-7
Distribution: unstable
Urgency: medium
Maintainer: A. Maitland Bottoms <bott...@debian.org>
Changed-By: A. Maitland Bottoms <bott...@debian.org>
Closes: 1079058
Changes:
libiio (0.25-7) unstable; urgency=medium
.
* Ack NMU - Thanks for the patch!
* bump Standards-Version (no changes needed)
* Mitigate M-A:same shared file loss due to /usr-move. (DEP17 P7 M10,
Closes: #1079058)
* Add libiio0.lintian-overrides file
Checksums-Sha1:
a1e746d4584aac234bd82cd0e1c127c5efb8c228 2416 libiio_0.25-7.dsc
0fe835b36f9d1ba14bf06be7596d918c7e0256db 10288 libiio_0.25-7.debian.tar.xz
b50430c6941eb43b5e51fbd0a9f6cc39f7608d52 14598 libiio_0.25-7_amd64.buildinfo
Checksums-Sha256:
04fec5674244c2da6828f12638fd5cc47e5fdcf4e7a15e6ccd6a07ed36c71a37 2416
libiio_0.25-7.dsc
1466bc4a676eb6d64e19c3e590f52916d724f1f3f076bd339c3a65b4a9aaeca7 10288
libiio_0.25-7.debian.tar.xz
928930489392a9897d06dfe542d96ce3b5f45efd64ea3116301129fef7dd48f1 14598
libiio_0.25-7_amd64.buildinfo
Files:
5abb86d7a3239c209caa4399720c9761 2416 libs optional libiio_0.25-7.dsc
86d85e4e7cc4bb824e2288e96467cf4b 10288 libs optional
libiio_0.25-7.debian.tar.xz
54d2c2d40734f6d9064ab4ebcda64d86 14598 libs optional
libiio_0.25-7_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEB8qH3cTCsGJAtrF0UEHxiR9E4JAFAmbDrIQACgkQUEHxiR9E
4JDJvQ/+Pvwj07sYwCS/lUZgiRiwEfYRo0xG9K/H0bcdTZPzVKPDoHBep9sn7SXB
vnMORotWolJ+b6GENf+YxYqcBcBMCsN2+JhenIbrL3SiXzVRdXqrau92ey+MK+tV
tnh+0lKt054sJMcqSKU3ikOKlEY3ePZFbEtcYw+d56snlUAyo/tKSjjLoyUiZ8Az
RjuDPfLYO64q5YX8xHaD2bew0D1bzCbtvfAsqdJ+hbZEQETvKOAfWAVJXcpJVfr4
hUqVpYeRN8AVBZJ+QNWQg6Bx/Bg6T1eYwCbtMFZaynT/YU6VdUp0j2Rfe//vFHN9
pT/w7YIxuecUzXb2ngUGA6/eGzrjnFuB5RSC3w5lhhK0wNkg+wMuOeOvp3Olj5mC
NUUYArqtVrzkPmUU6baLvydN0Hr9rMUpo1qQ/ILPiPS7kGY5FhKrhsq6/pz60NCy
Yf2b35ljAKm7NQOol2dV7n9czT52e4YH6kZ35FXuoS92zQzP1bjE0UYoRj4MfaeJ
9cMbOwi0bWhrdf15M4TswHmfYHsmsrzxQhlJTTBJ+xm4y+C22bB5NLmTtEtra/9P
5EywXpwXM5iPxDsz4hsfzQ6YzOQNeOOowugx1LuJYhrRb+xk0K2r+ZkXOrXLfAs+
MTPYtysCIJBmrEilZLMUR4/lZEr8LU/KcUO1XjNazd24tn1dbao=
=ouAO
-----END PGP SIGNATURE-----
pgpZtI1vs_T3n.pgp
Description: PGP signature
--- End Message ---