• Bug#1064298: libhamlib4t64: ineffective replaces due to /usr-move

    From Helmut Grohne@21:1/5 to All on Mon Feb 19 21:00:02 2024
    Package: libhamlib4t64
    Version: 4.5.5-3.1~exp1
    Severity: serious
    Tags: patch
    User: helmutg@debian.org
    Usertags: dep17p1
    Control: affects -1 + libhamlib4
    X-Debbugs-Cc: vorlon@debian.org, mwhudson@debian.org

    libhamlib4t64 introduced Replaces for libhamlib4 to take over its files
    and in that process it also takes over /usr/lib/udev/rules.d/60-libhamlib4.rules. This file also is in
    libhamlib4 in an aliased location. Moving a file from / to /usr and
    between packages causes file loss (DEP17 P1). Hence, I'm extending the
    existing mitigation for DEP17 P7 (M-A:same shared file loss) to cover
    the new P1 problem introduced by time64. See my attched patch. The
    protective diversion will be kept beyond postinst and stay around. Since
    the earlier diversion in libhamlib4 was removed in postinst, there
    cannot be any conflict on diversions. I tested the upgrade using
    piuparts.

    Helmut

    diff --minimal -Nru hamlib-4.5.5/debian/changelog hamlib-4.5.5/debian/changelog --- hamlib-4.5.5/debian/changelog 2024-02-17 04:43:05.000000000 +0100
    +++ hamlib-4.5.5/debian/changelog 2024-02-19 19:50:40.000000000 +0100
    @@ -1,3 +1,11 @@
    +hamlib (4.5.5-3.1~exp1.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Extend DEP17 P7 mitigation (protective diversion for udev rules) to also
    + cover P1 (package rename). (Closes: #-1)
    +
    + -- Helmut Grohne <helmut@subdivi.de> Mon, 19 Feb 2024 19:50:40 +0100
    +
    hamlib (4.5.5-3.1~exp1) experimental; urgency=medium

    * Non-maintainer upload.
    diff --minimal -Nru hamlib-4.5.5/debian/libhamlib4t64.lintian-overrides hamlib-4.5.5/debian/libhamlib4t64.lintian-overrides
    --- hamlib-4.5.5/debian/libhamlib4t64.lintian-overrides 2024-02-17 04:43:05.000000000 +0100
    +++ hamlib-4.5.5/debian/libhamlib4t64.lintian-overrides 2024-02-19 19:50:40.000000000 +0100
    @@ -1,4 +1,4 @@
    # protective diversion for upgrades of files moved from / to /usr
    # see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056692 -libhamlib4t64: diversi
  • From Debian Bug Tracking System@21:1/5 to All on Thu Feb 29 11:10:03 2024
    This is a multi-part message in MIME format...

    Your message dated Thu, 29 Feb 2024 10:01:18 +0000
    with message-id <E1rfdE6-00Ag8O-19@fasolo.debian.org>
    and subject line Bug#1064298: fixed in hamlib 4.5.5-3.2
    has caused the Debian Bug report #1064298,
    regarding libhamlib4t64: ineffective replaces due to /usr-move
    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 owner@bugs.debian.org
    immediately.)


    --
    1064298: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064298
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 19 Feb 2024 19:55:42 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-12.0 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,HAS_PACKAGE,SPF_HELO_NONE,SPF_NONE,
    T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 16; hammy, 150; neutral, 170; spammy,
    0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
    0.000-+--X-Debbugs-Cc, 0.000-+--trixie, 0.000-+--grohne,
    0.000-+--Grohne
    Return-path: <helmut@subdivi.de>
    Received: from isilmar-4.linta.de ([136.243.71.142]:51988)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (envelope-from <helmut@subdivi.de>)
    id 1rc