Package: android-udev-rules Version: 0~20250314+ds-2 Severity: serious Tags: patch User: helm...@debian.org Usertags: dep17p1 Control: affects -1 + android-sdk-platform-tools-common
android-udev-rules installs the file /usr/lib/udev/rules.d/51-android.rules. Unfortunately, android-sdk-platform-tools-common/28.0.2+9 as present in bookworm installs /lib/udev/rules.d/51-android.rules. Your declared Breaks+Replaces should be correct in theory and this issue is not your fault. Due to the /usr-merge, this file can be lost in a distribution upgrade when unpacking the binary packages in an unfortunate order. For more information refer to https://subdivi.de/~helmut/dep17.html section P1. I recommend that android-udev-rules mitigates this problem via Conflicts, because the affected file tends to not be relevant to system boot and Conflicts pose a mitigation that is mostly reliable when installing packages using apt or libapt-based frontends (rather than working with dpkg directly) as most Debian users do. Refer to section M7 of the above document for details. If you agree, please add Conflicts: android-sdk-platform-tools-common (<< 28.0.2+12~) to the binary control section of the android-udev-rules package. For debian/changelog I recommend the following text: Mitigate loss of 51-android.rules due to /usr-move via Conflicts (Closes: #-1) (DEP17 P1 M7) Helmut