Your message dated Thu, 08 Oct 2026 09:51:19 +0000
with message-id <[email protected]>
and subject line Bug#1091747: fixed in libvpd 2.2.9-1.1
has caused the Debian Bug report #1091747,
regarding libvpd-2.2-3 file loss during upgrade from bookworm to trixie due to
/usr-move (DEP17)
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 [email protected]
immediately.)
--
1091747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091747
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libvpd-2.2-3
Version: 2.2.9-1
Severity: serious
Justification: file loss during upgrade
Tags: patch
User: [email protected]
Usertags: dep17p7 dep17m10
Hi,
libvpd-2.2-3 contains a udev .rules file and installs it using
debhelper. In the bookworm build (+b1), it was installed to
/lib/udev/rules.d whereas in a later rebuild for trixie (+b2) it was
installed to /usr/lib/udev/rules.d due to the /usr-move (DEP17). As it
also is marked M-A:same, this file may be lost in upgrade scenarios from
bookworm (+b1) to trixie (+b2). For more information refer to
https://subdivi.de/~helmut/dep17.html sections P7 and M10 in particular.
I propose mitigating this problem by adding protective diversions for
the duration of the upgrade. Those diversions are no longer present once
the upgrade is completed. As a result, the changes can be fully reverted
once trixie is released. I am attaching a patch for your convenience. It
has marked all removable sections in such a way that the Debian janitor
(operated by Jelmer) can automatically file a merge request to perform
this deletion. I tested this patch by performing a cross build for
ppc64el and upgraded the package in a qemu-user environment. I
appreciate if you could do more testing on real hardware ahead of
upload. Let me know if you have any questions.
Helmut
diff --minimal -Nru libvpd-2.2.9/debian/changelog libvpd-2.2.9/debian/changelog
--- libvpd-2.2.9/debian/changelog 2022-04-22 13:05:19.000000000 +0200
+++ libvpd-2.2.9/debian/changelog 2024-12-30 19:52:52.000000000 +0100
@@ -1,3 +1,11 @@
+libvpd (2.2.9-1.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 <[email protected]> Mon, 30 Dec 2024 19:52:52 +0100
+
libvpd (2.2.9-1) unstable; urgency=medium
* Update to new upstream version 2.2.9.
diff --minimal -Nru libvpd-2.2.9/debian/libvpd-2.2-3.lintian-overrides
libvpd-2.2.9/debian/libvpd-2.2-3.lintian-overrides
--- libvpd-2.2.9/debian/libvpd-2.2-3.lintian-overrides 1970-01-01
01:00:00.000000000 +0100
+++ libvpd-2.2.9/debian/libvpd-2.2-3.lintian-overrides 2024-12-30
19:52:52.000000000 +0100
@@ -0,0 +1,5 @@
+# begin-remove-after: released:trixie
+# DEP17 P7 M10
+diversion-for-unknown-file lib/udev/rules.d/60-libvpd-2.2-3.rules [preinst:*]
+systemd-diversion lib/udev/rules.d/60-libvpd-2.2-3.rules [preinst:*]
+# end-remove-after
diff --minimal -Nru libvpd-2.2.9/debian/libvpd-2.2-3.postinst
libvpd-2.2.9/debian/libvpd-2.2-3.postinst
--- libvpd-2.2.9/debian/libvpd-2.2-3.postinst 1970-01-01 01:00:00.000000000
+0100
+++ libvpd-2.2.9/debian/libvpd-2.2-3.postinst 2024-12-30 19:52:52.000000000
+0100
@@ -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/60-libvpd-2.2-3.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/60-libvpd-2.2-3.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
+
+exit 0
diff --minimal -Nru libvpd-2.2.9/debian/libvpd-2.2-3.postrm
libvpd-2.2.9/debian/libvpd-2.2-3.postrm
--- libvpd-2.2.9/debian/libvpd-2.2-3.postrm 1970-01-01 01:00:00.000000000
+0100
+++ libvpd-2.2.9/debian/libvpd-2.2-3.postrm 2024-12-30 19:52:52.000000000
+0100
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+# DEP17 P7 M10
+remove_diversion() {
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/60-libvpd-2.2-3.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/60-libvpd-2.2-3.rules
+}
+case "$1" in
+ abort-upgrade|failed-upgrade)
+ remove_diversion
+ ;;
+ remove)
+ if [ "$DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT" = "1" ]; then
+ remove_diversion
+ fi
+ ;;
+esac
+# end-remove-after
+
+#DEBHELPER#
+
+exit 0
diff --minimal -Nru libvpd-2.2.9/debian/libvpd-2.2-3.preinst
libvpd-2.2.9/debian/libvpd-2.2-3.preinst
--- libvpd-2.2.9/debian/libvpd-2.2-3.preinst 1970-01-01 01:00:00.000000000
+0100
+++ libvpd-2.2.9/debian/libvpd-2.2-3.preinst 2024-12-30 19:52:52.000000000
+0100
@@ -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/60-libvpd-2.2-3.rules.usr-is-merged \
+ --add /lib/udev/rules.d/60-libvpd-2.2-3.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
+
+exit 0
diff --minimal -Nru libvpd-2.2.9/debian/libvpd-2.2-3.prerm
libvpd-2.2.9/debian/libvpd-2.2-3.prerm
--- libvpd-2.2.9/debian/libvpd-2.2-3.prerm 1970-01-01 01:00:00.000000000
+0100
+++ libvpd-2.2.9/debian/libvpd-2.2-3.prerm 2024-12-30 19:52:52.000000000
+0100
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+# DEP17 P7 M10
+if [ "$1" = "failed-upgrade" ]; then
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/60-libvpd-2.2-3.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/60-libvpd-2.2-3.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
+
+exit 0
diff --minimal -Nru libvpd-2.2.9/debian/rules libvpd-2.2.9/debian/rules
--- libvpd-2.2.9/debian/rules 2022-04-22 13:05:19.000000000 +0200
+++ libvpd-2.2.9/debian/rules 2024-12-30 19:52:52.000000000 +0100
@@ -5,3 +5,10 @@
%:
dh $@
+
+# begin-remove-after: released:trixie
+execute_after_dh_installudev:
+ if [ -e debian/libvpd-2.2-3/lib/udev/rules.d/60-libvpd-2.2-3.rules ] ||
! [ -e debian/libvpd-2.2-3/usr/lib/udev/rules.d/60-libvpd-2.2-3.rules ]; then \
+ echo "DEP17 mitigations must be removed in backport"; exit 1; \
+ fi
+# end-remove-after
--- End Message ---
--- Begin Message ---
Source: libvpd
Source-Version: 2.2.9-1.1
Done: Trupti Shirsat <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libvpd, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Trupti Shirsat <[email protected]> (supplier of updated libvpd 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 22 Sep 2026 10:46:58 -0500
Source: libvpd
Architecture: source
Version: 2.2.9-1.1
Distribution: unstable
Urgency: medium
Maintainer: Frédéric Bonnard <[email protected]>
Changed-By: Trupti Shirsat <[email protected]>
Closes: 1091747
Changes:
libvpd (2.2.9-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix file loss during bookworm to trixie upgrade (DEP17 /usr-move).
Add dpkg-divert protective diversions for udev rules file.
Thanks to Helmut Grohne for the patch. (Closes: #1091747)
Checksums-Sha1:
7f841316559ced5427e391f180f76b6e1813e3ae 1986 libvpd_2.2.9-1.1.dsc
d505b17967df8dc0437172616149c582d56ee470 4960 libvpd_2.2.9-1.1.debian.tar.xz
f2d09da436dc8ca630972631cb5488aac63a1607 6141
libvpd_2.2.9-1.1_ppc64el.buildinfo
Checksums-Sha256:
84fc01be746c9374d4eea6bde9f620eaa4dbfaf33ed40cbd23c158dbd719e98f 1986
libvpd_2.2.9-1.1.dsc
b50715f571a6e1aeee885934ccb850b880503cdd64ae15d546d272ddb575d4f8 4960
libvpd_2.2.9-1.1.debian.tar.xz
0cf3030611a20e71d11403afeb523c913f34d0c496bb7520eb1ac1ecd937945c 6141
libvpd_2.2.9-1.1_ppc64el.buildinfo
Files:
b8837575d789c60135dd4c72727c2836 1986 libs optional libvpd_2.2.9-1.1.dsc
55a08a2fd0ff3f4739d42e143d4c3272 4960 libs optional
libvpd_2.2.9-1.1.debian.tar.xz
7ed59b8dd9a28255a946a7b45bc11055 6141 libs optional
libvpd_2.2.9-1.1_ppc64el.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJPBAEBCgA5FiEEYv+KdYTgKVaVRgAGdCY7N/W1+RMFAmrHYd4bFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJEHQmOzf1tfkTJK4P/Rzu0Me/X22axvsGUH8B
DsMqj1OEuWTMC1oe3hOmqGMM0ZwDbi3SYCxJIwiNlDdZazSUmPSxdEi+cyXMezRo
sFYlvDsu2I/6UMf32nr8lOQyz4dNaeObWWucjJCX83DZ6xYGiID4fzLDh/IzsOCf
0CnVoFihEoyVJU9Wr+qOyfe6ye9E0ZRDy7F00u8XUjK2aFKrbsZqUxb59q9zo9gE
ZVQL06O6yEDkczCalRNOiLQA/qbLJzP5dDzAWCdtiy2Ix4irlYsxSz/QVBLTwViO
ApsS/YGr+wF4uvuQguM8jvtiwLzFZUsAgr5rAUGKzuV7v7bAJV8ogDnNaesMiaXz
9enlfUQEjnvz0jO5JVm13JD9Zi4ZOs8mSrBmzvg7yRh0XFQMhSucG0EMbS+Z4sON
qR8kKeOZFhbD5CxLdvpi2U1f5f4g43LVbe1X9JtNyDnr8bxszaTCisfWRfqEknfn
QbN4Ua4sCppE+UDYSWsPJz1exWwIrWFIho1KnhsgKQOUmY/qFei1eNHoBdEZQe1C
yGxtZG4nVL+R9cZDRqCC1Ay37yQXO45nTfmBYdONulIp+M8HTNXrhlsHU4oQQWk1
/KEstxmlRifoAsa4efUMzehs8sT41B4FnqB6IHU29RwMFLckE/ad6+PXOML4MY8Z
lCk4cBX5WrzUgCnDPP6uFEmP
=+HrB
-----END PGP SIGNATURE-----
pgpvrlaC0c77r.pgp
Description: PGP signature
--- End Message ---