• Bug#1065310: deborphan should take "Provides:" into account

    From Vincent Lefevre@21:1/5 to All on Sat Mar 2 15:00:01 2024
    Package: deborphan
    Version: 1.7.35
    Severity: normal

    qaa:~> deborphan
    libgnutls-openssl27t64
    libzvbi0t64

    meaning that I could remove libgnutls-openssl27t64, but actually
    this is not possible:

    qaa:~> apt remove -s libgnutls-openssl27t64
    [...]
    The following packages will be REMOVED:
    gkrellm gkrellm-volume gkrellweather libgnutls-openssl27t64

    Indeed, gkrellm depends on libgnutls-openssl27, which is provided
    by libgnutls-openssl27t64:

    Package: libgnutls-openssl27t64
    [...]
    Version: 3.8.3-1.1
    Replaces: libgnutls-openssl27
    Provides: libgnutls-openssl27 (= 3.8.3-1.1)
    Depends: libgnutls30t64 (= 3.8.3-1.1), libc6 (>= 2.34)
    Breaks: libgnutls-openssl27 (<< 3.8.3-1.1)
    [...]

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable-debug
    APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.6.15-amd64 (SMP w/16 CPU threads; PREEMPT)
    Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages deborphan depends on:
    ii libc6 2.37-15.1

    Versions of packages deborphan recommends:
    ii apt 2.7.13+b1
    ii gettext-base 0.21-14+b1

    deborphan suggests no packages.

    -- no debconf information

    --
    Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
    100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
    Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

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