• Bug#1108601: debfoster: prune does not remove "all packages that are on

    From Lucas Nussbaum@21:1/5 to All on Tue Jul 1 10:40:01 2025
    Package: debfoster
    Version: 2.8-1
    Severity: serious
    Justification: makes package useless

    Hi,

    In trixie, if I:

    1. apt install mediainfo # this installs a dozen of dependencies, such as 'publicsuffix'
    2. debfoster
    3. answer "prune" for mediainfo

    I get the following result:

    root@d12:~# debfoster

    mediainfo is keeping the following 21 packages installed:
    libcurl3t64-gnutls libgnutls30t64 libldap-common libldap2 libmediainfo0v5 libmms0 libnghttp2-14 libnghttp3-9 libngtcp2-16 libngtcp2-crypto-gnutls8 libp11-kit0 libpsl5t64
    librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1t64 libtasn1-6 libtinyxml2-11 libzen0t64 publicsuffix
    Keep mediainfo? [Ynpsiuqx?], [H]elp: P

    [...]
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libgnutls30t64 libldap-common libmms0 libnghttp2-14 libnghttp3-9 libngtcp2-16 libpsl5t64 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1t64 libtinyxml2-11 libzen0t64
    publicsuffix
    Use 'apt autoremove' to remove them.
    The following packages will be REMOVED:
    libcurl3t64-gnutls* libldap2* libmediainfo0v5* libngtcp2-crypto-gnutls8* librtmp1* mediainfo*
    0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
    After this operation, 12.3 MB disk space will be freed.
    Do you want to continue? [Y/n]

    I would expect debfoster to request the removal of other mediainfo dependencies, like it did in bookworm. This does not match the behaviour described in the manpage for 'prune': it should remove "all packages
    that are only installed because this package depends on them".

    Lucas


    -- System Information:
    Debian Release: 13.0
    APT prefers testing-security
    APT policy: (500, 'testing-security'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (100, 'bookworm-fasttrack')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.12.33+deb13-amd64 (SMP w/20 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages debfoster depends on:
    ii libc6 2.41-9
    ii libgc1 1:8.2.8-1

    Versions of packages debfoster recommends:
    ii apt 3.0.3

    debfoster suggests no packages.

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Jul 12 10:30:01 2025
    Processing control commands:

    tags -1 unreproducible
    Bug #1108601 [debfoster] debfoster: prune does not remove "all packages that are only installed because this package depends on them"
    Added tag(s) unreproducible.
    severity -1 normal
    Bug #1108601 [debfoster] debfoster: prune does not remove "all packages that are only installed because this package depends on them"
    Severity set to 'normal' from 'serious'

    --
    1108601: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108601
    Debian Bug Tracking System
    Contact [email protected] with problems

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