Hi Dominik,

poking you directly as I'm not sure if you received this RC bug mail.

Regards,
Michael

On Mon, 6 Jan 2025 13:43:46 +0100 Helmut Grohne <hel...@subdivi.de> wrote:
Package: rpi.gpio-common
Version: 0.7.1~a4-1.1
Severity: serious
Justification: file loss in upgrade
Tags: trixie sid
User: helm...@debian.org
Usertags: dep17p7
User: debian-...@lists.debian.org
Usertags: armel armhf arm64
X-Debbugs-Cc: z...@debian.org

In an an upgrade from bookworm to trixie, rpi.gpio-common may loose
/usr/lib/udev/rules.d/60-rpi.gpio-common.rules, because it is a file
shared in a Multi-Arch: same package and being moved from /lib to
/usr/lib during the upgrade. For more information refer to
https://subdivi.de/~helmut/dep17.html section P7.

As I was wondering about a good way to fix this, I failed to find a
reason for rpi.gpio-common to exist as a separate package from
python3-rpi.gpio. I was made aware that there formerly was a Python 2
package that would benefit from a -common package sharing the udev rules
file, but now no such package exists anymore. This leaves the question
of whether you would prefer keeping (and fixing) the rpi.gpio-common
package or merging its content into python3-rpi.gpio (thus reducing the
number of packages in the archive for good).

In case you want to keep rpi.gpio-common, allow me to suggest dropping
Multi-Arch: same for one release. You cannot actually coinstall
python3-rpi.gpio, so coinstalling rpi.gpio-common is of very limited
use. I guess that the Multi-Arch hinter opportunistically suggested
adding Multi-Arch: same, but here it is one precondition to actually
loosing the file. A very simple way of working around the problem at
hand could be:

-Multi-Arch: same
+# begin-remove-after: released:trixie
+# Avoid being Multi-Arch: same for the trixie upgrade to avoid a DEP17
+# P7 file loss of the udev fules file being moved from /lib to /usr/lib.
+Multi-Arch: no
+# end-remove-after

I offer writing a patch (including the workarounds for the /usr-move)
for the other ways. Please let me know if you want to accept my offer
and indicate which path you prefer.

Helmut



Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to