#1091747 libvpd-2.2-3 file loss during upgrade from bookworm to trixie due to /usr-move (DEP17) #1091747
- Package:
- libvpd-2.2-3
- Source:
- libvpd-2.2-3
- Submitter:
- Helmut Grohne
- Date:
- 2026-10-08 09:53:02 UTC
- Severity:
- normal
- Tags:
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
Hi Adrian, it appears that Frédéric Bonnard is not really active anymore. I've CCed you as PPC porter. Maybe you can have a look at this bug report and do an NMU / take over the package. Regards, Michael
Hi Michael, Yes, I'm going to have a look at it over the weekend. Thanks, Adrian
Hi Adrian Am 21.02.25 um 14:38 schrieb John Paul Adrian Glaubitz: I assume this fell through the cracks?
Hi, It didn't. There were just a few other things that kept me busy last week, including a smartphone that nearly got lost when I sent it to repair. I'll look at it either today or tomorrow. Thanks, Adrian
Hi, Apologies, I have to move that to the weekend. Adrian
Hi Adrian! On Fri, 04 Apr 2025 10:44:41 +0200 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote: With the freeze in effect, it has probably become a bit harder to get ppc64-diag and libvpd back into trixie. https://tracker.debian.org/pkg/ppc64-diag https://tracker.debian.org/pkg/libvpd That said, I have no idea how important those packages are for ppc(64) or not (and if removal of those packages is a valid option as well). As it stands today, those packages will not be part of trixie. I've added debian-powerpc to CC to gather further feedback Regards, Michael
Hi Michael, Adrian, and all,
Thank you for the context on this bug. I wanted to share why this
package
matters for power architectures and what I have done.
Importance for PowerPC:
libvpd is a direct dependency of ppc64-diag, which is the core
hardware diagnostic tool for IBM Power platforms. It provides:
- RTAS platform error log analysis
- Hardware fault indicator management
- The rtas_errd daemon for automated hardware event responses
- Vital Product Data (VPD) collection via lsvpd
Due to this libvpd bug, ppc64-diag has been absent from testing
and trixie. This means IBM Power users on trixie have no access
to these essential hardware diagnostic tools.
What I have done:
I have applied Helmut's patch from msg #5 and tested it on real
ppc64el hardware (IBM Power10 ).
Test results (upgrading libvpd 2.2.9-1+b2 -> 2.2.9-1.1):
- preinst: diversion added correctly
- postinst: diversion removed cleanly
- /usr/lib/udev/rules.d/60-libvpd-2.2-3.rules survives upgrade
- dpkg-divert --list: no stray diversion after upgrade
- dpkg -l: ii 2.2.9-1.1 fully configured
Salsa MR: https://salsa.debian.org/debian/libvpd/-/merge_requests/1
I am currently preparing the NMU upload. I will be filing an RFS
shortly once the package is uploaded to mentors.debian.net.
Please review the Salsa MR and let me know if you have any
suggestions or corrections before I proceed with the upload.
Thank you for your patience with this bug. The patch works correctly
and the fix is ready.
Thanks,
Trupti
Hi Trupti, thanks for your follow-up. I'll leave it up to the powerpc porters to sponsor this upload. Regards, Michael Am 22.09.2026 um 16:00 schrieb Trupti:
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 1091747@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Trupti Shirsat <trupti@linux.ibm.com> (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 ftpmaster@ftp-master.debian.org)
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 <frediz@debian.org>
Changed-By: Trupti Shirsat <trupti@linux.ibm.com>
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-----