• Bug#1102322: android-udev-rules ineffectively Replaces android-sdk-plat

    From Helmut Grohne@21:1/5 to All on Mon Apr 7 17:20:02 2025
    Package: android-udev-rules
    Version: 0~20250314+ds-2
    Severity: serious
    Tags: patch
    User: helmutg@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Roger Shimizu@21:1/5 to All on Tue Apr 29 06:40:01 2025
    control: notfixed -1 20250314+ds-4
    control: fixed -1 android-udev-rules/0~20250314+ds-4

    sorry for the previous typo. and this email should fix them all.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)