• Bug#1061718: dpkg: Please add Kali Linux to the list of distros with a

    From Arnaud Rebillout@1:229/2 to All on Mon Jan 29 05:30:01 2024
    XPost: linux.debian.bugs.dist
    From: arnaudr@kali.org

    Package: dpkg
    Version: 1.22.4
    Severity: normal
    User: devel@kali.org
    Usertags: origin-kali

    Dear Guillem,

    Kali Linux is a rolling distro based on Debian testing. We go with a
    merged-usr layout for a while now, and therefore with patch away the
    warning message regarding merged-usr-via-aliased-dirs. We also don't
    install dpkg-fsys-usrunmess anymore, since dpkg 1.22.4.

    Please find attached a patch that adds Kali to the list of distros with
    a usr-merged layout, along Debian and Ubuntu.

    Thanks for your consideration,

    Arnaud

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Guillem Jover@1:229/2 to Arnaud Rebillout on Thu Mar 7 04:20:01 2024
    XPost: linux.debian.bugs.dist
    From: guillem@debian.org

    Hi!

    On Mon, 2024-01-29 at 11:21:32 +0700, Arnaud Rebillout wrote:
    Package: dpkg
    Version: 1.22.4
    Severity: normal
    User: devel@kali.org
    Usertags: origin-kali

    Kali Linux is a rolling distro based on Debian testing. We go with a merged-usr layout for a while now, and therefore with patch away the
    warning message regarding merged-usr-via-aliased-dirs. We also don't
    install dpkg-fsys-usrunmess anymore, since dpkg 1.22.4.

    Please find attached a patch that adds Kali to the list of distros with
    a usr-merged layout, along Debian and Ubuntu.

    Thanks for the patch! Sorry, it seems this has fallen through the
    cracks. At the time I received this I looked into adding support for
    some new field in the origins file so that then downstreams would not
    need to patch dpkg at all, but got stuck with how to name it, and
    whether to make it a boolean or contain a set of values for things to
    not warn or similar to not make it so specific, contrast something
    like:

    Vendor: Kali
    ...
    Show-Usrmerge-Warnings: no

    versus something like:

    Vendor: Kali
    ...
    Dpkg-Suppress-Warnings: usrmerge

    or similar. But other ideas welcome, although now that I tried to
    name the suppress field, it's starting to grow on me. In any case it
    seemed preferable to try to come up with a generic solution, and
    assumed that as you probably had already made this change in your
    distribution source, this was not urgent. But if this is the only
    delta you have I'd be fine merging something like the patch that you
    provided for now until a more generic solution is implemented.

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)