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

    From Marc Haber@21:1/5 to Lucas Nussbaum on Sat Jul 12 10:30:01 2025
    Control: tags -1 unreproducible
    Control: severity -1 normal
    thanks

    On Tue, Jul 01, 2025 at 10:36:57AM +0200, Lucas Nussbaum wrote:
    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.

    Works for me. Please help me reproduce this issue. Tagging and
    downgrading.

    Greetings
    Marc

    $ debspawn login trixie
    [sudo] password for mh on swivel:

    ╔═══════════════════════════════════════╗
    ║ Login for trixie-buildd-amd64 ║ ╚═══════════════════════════════════════╝
    ░ Spawning container swivel-trixie-buildd-amd64-z7oy on /var/tmp/debspawn/pu11knzp.
    ░ Press Ctrl-] three times within 1s to kill container. root@swivel-trixie-buildd-amd64-z7oy:/srv# apt install debfoster mediainfo Installing:
    debfoster mediainfo

    Installing dependencies:
    libbrotli1 libkrb5-3 libpsl5t64
    libcom-err2 libkrb5support0 librtmp1
    libcurl3t64-gnutls libldap2 libsasl2-2
    libffi8 libmediainfo0v5 libsasl2-modules-db
    libgc1 libmms0 libssh2-1t64
    libgnutls30t64 libnghttp2-14 libtasn1-6
    libgssapi-krb5-2 libnghttp3-9 libtinyxml2-11
    libidn2-0 libngtcp2-16 libunistring5
    libk5crypto3 libngtcp2-crypto-gnutls8 libzen0t64
    libkeyutils1 libp11-kit0

    Suggested packages:
    gnutls-bin krb5-doc krb5-user mediainfo-gui

    Recommended packages:
    ca-certificates libldap-common libsasl2-modules
    krb5-locales publicsuffix

    Summary:
    Upgrading: 0, Installing: 31, Removing: 0, Not Upgrading: 0
    Download size: 8397 kB
    Space needed: 26.3 MB / 692 GB available

    Continue? [Y/n]
    Get:1 http://deb.debian.org/debian trixie/main amd64 libgc1 amd64 1:8.2.8-1 [247 kB]
    Get:2 http://deb.debian.org/debian trixie/main amd64 debfoster amd64 2.8-1 [38.3 kB]
    Get:3 http://deb.debian.org/debian trixie/main amd64 libbrotli1 amd64 1.1.0-2+b7 [307 kB]
    Get:4 http://deb.debian.org/debian trixie/main amd64 libcom-err2 amd64 1.47.2-3+b1 [25.0 kB]
    Get:5 http://deb.debian.org/debian trixie/main amd64 libunistring5 amd64 1.3-2 [477 kB]
    Get:6 http://deb.debian.org/debian trixie/main amd64 libidn2-0 amd64 2.3.8-2 [109 kB]
    Get:7 http://deb.debian.org/debian trixie/main amd64 libffi8 amd64 3.4.8-2 [24.1 kB]
    Get:8 http://deb.debian.org/debian trixie/main amd64 libp11-kit0 amd64 0.25.5-3 [425 kB]
    Get:9 http://deb.debian.org/debian trixie/main amd64 libtasn1-6 amd64 4.20.0-2 [49.9 kB]
    Get:10 http://deb.debian.org/debian trixie/main amd64 libgnutls30t64 amd64 3.8.9-2 [1464 kB]
    Get:11 http://deb.debian.org/debian trixie/main amd64 libkrb5support0 amd64 1.21.3-5 [33.0 kB]
    Get:12 http://deb.debian.org/debian trixie/main amd64 libk5crypto3 amd64 1.21.3-5 [81.5 kB]
    Get:13 http://deb.debian.org/debian trixie/main amd64 libkeyutils1 amd64 1.6.3-6 [9456 B]
    Get:14 http://deb.debian.org/debian trixie/main amd64 libkrb5-3 amd64 1.21.3-5 [326 kB]
    Get:15 http://deb.debian.org/debian trixie/main amd64 libgssapi-krb5-2 amd64 1.21.3-5 [138 kB]
    Get:16 http://deb.debian.org/debian trixie/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg1-9 [19.8 kB]
    Get:17 http://deb.debian.org/debian trixie/main amd64 libsasl2-2 amd64 2.1.28+dfsg1-9 [57.5 kB]
    Get:18 http://deb.debian.org/debian trixie/main amd64 libldap2 amd64 2.6.10+dfsg-1 [194 kB]
    Get:19 http://deb.debian.org/debian trixie/main amd64 libnghttp2-14 amd64 1.64.0-1.1 [76.0 kB]
    Get:20 http://deb.debian.org/debian trixie/main amd64 libnghttp3-9 amd64 1.8.0-1 [67.7 kB]
    Get:21 http://deb.debian.org/debian trixie/main amd64 libngtcp2-16 amd64 1.11.0-1 [131 kB]
    Get:22 http://deb.debian.org/debian trixie/main amd64 libngtcp2-crypto-gnutls8 amd64 1.11.0-1 [29.3 kB]
    Get:23 http://deb.debian.org/debian trixie/main amd64 libpsl5t64 amd64 0.21.2-1.1+b1 [57.2 kB]
    Get:24 http://deb.debian.org/debian trixie/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b5 [58.8 kB]
    Get:25 http://deb.debian.org/debian trixie/main amd64 libssh2-1t64 amd64 1.11.1-1 [245 kB]
    Get:26 http://deb.debian.org/debian trixie/main amd64 libcurl3t64-gnutls amd64 8.14.1-2 [384 kB]
    Get:27 http://deb.debian.org/debian trixie/main amd64 libmms0 amd64 0.6.4-3+b2 [31.9 kB]
    Get:28 http://deb.debian.org/debian trixie/main amd64 libtinyxml2-11 amd64 11.0.0+dfsg-1+b1 [31.1 kB]
    Get:29 http://deb.debian.org/debian trixie/main amd64 libzen0t64 amd64 0.4.41-2.1+b1 [112 kB]
    Get:30 http://deb.debian.org/debian trixie/main amd64 libmediainfo0v5 amd64 25.04+dfsg-1 [3060 kB]
    Get:31 http://deb.debian.org/debian trixie/main amd64 mediainfo amd64 25.04-1 [87.2 kB]
    Fetched 8397 kB in 1s (5773 kB/s)
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 31.)
    debconf: falling back to frontend: Readline
    Extracting templates from packages: 100%
    Selecting previously unselected package libgc1:amd64.
    (Reading database ... 12652 files and directories currently installed.) Preparing to unpack .../00-libgc1_1%3a8.2.8-1_amd64.deb ...
    Unpacking libgc1:amd64 (1:8.2.8-1) ...
    Selecting previously unselected package debfoster.
    Preparing to unpack .../01-debfoster_2.8-1_amd64.deb ...
    Unpacking debfoster (2.8-1) ...
    Selecting previously unselected package libbrotli1:amd64.
    Preparing to unpack .../02-libbrotli1_1.1.0-2+b7_amd64.deb ...
    Unpacking libbrotli1:amd64 (1.1.0-2+b7) ...
    Selecting previously unselected package libcom-err2:amd64.
    Preparing to unpack .../03-libcom-err2_1.47.2-3+b1_amd64.deb ...
    Unpacking libcom-err2:amd64 (1.47.2-3+b1) ...
    Selecting previously unselected package libunistring5:amd64.
    Preparing to unpack .../04-libunistring5_1.3-2_amd64.deb ...
    Unpacking libunistring5:amd64 (1.3-2) ...
    Selecting previously unselected package libidn2-0:amd64.
    Preparing to unpack .../05-libidn2-0_2.3.8-2_amd64.deb ...
    Unpacking libidn2-0:amd64 (2.3.8-2) ...
    Selecting previously unselected package libffi8:amd64.
    Preparing to unpack .../06-libffi8_3.4.8-2_amd64.deb ...
    Unpacking libffi8:amd64 (3.4.8-2) ...
    Selecting previously unselected package libp11-kit0:amd64.
    Preparing to unpack .../07-libp11-kit0_0.25.5-3_amd64.deb ...
    Unpacking libp11-kit0:amd64 (0.25.5-3) ...
    Selecting previously unselected package libtasn1-6:amd64.
    Preparing to unpack .../08-libtasn1-6_4.20.0-2_amd64.deb ...
    Unpacking libtasn1-6:amd64 (4.20.0-2) ...
    Selecting previously unselected package libgnutls30t64:amd64.
    Preparing to unpack .../09-libgnutls30t64_3.8.9-2_amd64.deb ...
    Unpacking libgnutls30t64:amd64 (3.8.9-2) ...
    Selecting previously unselected package libkrb5support0:amd64.
    Preparing to unpack .../10-libkrb5support0_1.21.3-5_amd64.deb ...
    Unpacking libkrb5support0:amd64 (1.21.3-5) ...
    Selecting previously unselected package libk5crypto3:amd64.
    Preparing to unpack .../11-libk5crypto3_1.21.3-5_amd64.deb ...
    Unpacking libk5crypto3:amd64 (1.21.3-5) ...
    Selecting previously unselected package libkeyutils1:amd64.
    Preparing to unpack .../12-libkeyutils1_1.6.3-6_amd64.deb ...
    Unpacking libkeyutils1:amd64 (1.6.3-6) ...
    Selecting previously unselected package libkrb5-3:amd64.
    Preparing to unpack .../13-libkrb5-3_1.21.3-5_amd64.deb ...
    Unpacking libkrb5-3:amd64 (1.21.3-5) ...
    Selecting previously unselected package libgssapi-krb5-2:amd64.
    Preparing to unpack .../14-libgssapi-krb5-2_1.21.3-5_amd64.deb ...
    Unpacking libgssapi-krb5-2:amd64 (1.21.3-5) ...
    Selecting previously unselected package libsasl2-modules-db:amd64.
    Preparing to unpack .../15-libsasl2-modules-db_2.1.28+dfsg1-9_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg1-9) ...
    Selecting previously unselected package libsasl2-2:amd64.
    Preparing to unpack .../16-libsasl2-2_2.1.28+dfsg1-9_amd64.deb ...
    Unpacking libsasl2-2:amd64 (2.1.28+dfsg1-9) ...
    Selecting previously unselected package libldap2:amd64.
    Preparing to unpack .../17-libldap2_2.6.10+dfsg-1_amd64.deb ...
    Unpacking libldap2:amd64 (2.6.10+dfsg-1) ...
    Selecting previously unselected package libnghttp2-14:amd64.
    Preparing to unpack .../18-libnghttp2-14_1.64.0-1.1_amd64.deb ...
    Unpacking libnghttp2-14:amd64 (1.64.0-1.1) ...
    Selecting previously unselected package libnghttp3-9:amd64.
    Preparing to unpack .../19-libnghttp3-9_1.8.0-1_amd64.deb ...
    Unpacking libnghttp3-9:amd64 (1.8.0-1) ...
    Selecting previously unselected package libngtcp2-16:amd64.
    Preparing to unpack .../20-libngtcp2-16_1.11.0-1_amd64.deb ...
    Unpacking libngtcp2-16:amd64 (1.11.0-1) ...
    Selecting previously unselected package libngtcp2-crypto-gnutls8:amd64. Preparing to unpack .../21-libngtcp2-crypto-gnutls8_1.11.0-1_amd64.deb ... Unpacking libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ...
    Selecting previously unselected package libpsl5t64:amd64.
    Preparing to unpack .../22-libpsl5t64_0.21.2-1.1+b1_amd64.deb ...
    Unpacking libpsl5t64:amd64 (0.21.2-1.1+b1) ...
    Selecting previously unselected package librtmp1:amd64.
    Preparing to unpack .../23-librtmp1_2.4+20151223.gitfa8646d.1-2+b5_amd64.deb ...
    Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b5) ...
    Selecting previously unselected package libssh2-1t64:amd64.
    Preparing to unpack .../24-libssh2-1t64_1.11.1-1_amd64.deb ...
    Unpacking libssh2-1t64:amd64 (1.11.1-1) ...
    Selecting previously unselected package libcurl3t64-gnutls:amd64.
    Preparing to unpack .../25-libcurl3t64-gnutls_8.14.1-2_amd64.deb ...
    Unpacking libcurl3t64-gnutls:amd64 (8.14.1-2) ...
    Selecting previously unselected package libmms0:amd64.
    Preparing to unpack .../26-libmms0_0.6.4-3+b2_amd64.deb ...
    Unpacking libmms0:amd64 (0.6.4-3+b2) ...
    Selecting previously unselected package libtinyxml2-11:amd64.
    Preparing to unpack .../27-libtinyxml2-11_11.0.0+dfsg-1+b1_amd64.deb ... Unpacking libtinyxml2-11:amd64 (11.0.0+dfsg-1+b1) ...
    Selecting previously unselected package libzen0t64:amd64.
    Preparing to unpack .../28-libzen0t64_0.4.41-2.1+b1_amd64.deb ...
    Unpacking libzen0t64:amd64 (0.4.41-2.1+b1) ...
    Selecting previously unselected package libmediainfo0v5:amd64.
    Preparing to unpack .../29-libmediainfo0v5_25.04+dfsg-1_amd64.deb ...
    Unpacking libmediainfo0v5:amd64 (25.04+dfsg-1) ...
    Selecting previously unselected package mediainfo.
    Preparing to unpack .../30-mediainfo_25.04-1_amd64.deb ...
    Unpacking mediainfo (25.04-1) ...
    Setting up libkeyutils1:amd64 (1.6.3-6) ...
    Setting up libtinyxml2-11:amd64 (11.0.0+dfsg-1+b1) ...
    Setting up libbrotli1:amd64 (1.1.0-2+b7) ...
    Setting up libnghttp2-14:amd64 (1.64.0-1.1) ...
    Setting up libcom-err2:amd64 (1.47.2-3+b1) ...
    Setting up libmms0:amd64 (0.6.4-3+b2) ...
    Setting up libzen0t64:amd64 (0.4.41-2.1+b1) ...
    Setting up libkrb5support0:amd64 (1.21.3-5) ...
    Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg1-9) ...
    Setting up libunistring5:amd64 (1.3-2) ...
    Setting up libk5crypto3:amd64 (1.21.3-5) ...
    Setting up libgc1:amd64 (1:8.2.8-1) ...
    Setting up libsasl2-2:amd64 (2.1.28+dfsg1-9) ...
    Setting up libnghttp3-9:amd64 (1.8.0-1) ...
    Setting up libffi8:amd64 (3.4.8-2) ...
    Setting up libtasn1-6:amd64 (4.20.0-2) ...
    Setting up libngtcp2-16:amd64 (1.11.0-1) ...
    Setting up libkrb5-3:amd64 (1.21.3-5) ...
    Setting up libssh2-1t64:amd64 (1.11.1-1) ...
    Setting up libldap2:amd64 (2.6.10+dfsg-1) ...
    Setting up debfoster (2.8-1) ...
    Setting up libidn2-0:amd64 (2.3.8-2) ...
    Setting up libp11-kit0:amd64 (0.25.5-3) ...
    Setting up libgssapi-krb5-2:amd64 (1.21.3-5) ...
    Setting up libgnutls30t64:amd64 (3.8.9-2) ...
    Setting up libpsl5t64:amd64 (0.21.2-1.1+b1) ...
    Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b5) ...
    Setting up libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ...
    Setting up libcurl3t64-gnutls:amd64 (8.14.1-2) ...
    Setting up libmediainfo0v5:amd64 (25.04+dfsg-1) ...
    Setting up mediainfo (25.04-1) ...
    Processing triggers for libc-bin (2.41-9) ... root@swivel-trixie-buildd-amd64-z7oy:/srv# debfoster

    build-essential is keeping the following 49 packages installed:
    binutils binutils-common binutils-x86-64-linux-gnu bzip2 cpp cpp-14
    cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu dpkg-dev fakeroot g++ g++-14
    g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14
    gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libatomic1
    libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0
    libctf0 libdpkg-perl libfakeroot libgcc-14-dev libgomp1 libgprofng0
    libhwasan0 libisl23 libitm1 libjansson4 liblsan0 libmpc3 libmpfr6
    libquadmath0 libsframe1 libstdc++-14-dev libtsan2 libubsan1 linux-libc-dev
    make patch rpcsvc-proto xz-utils
    Keep build-essential? [Ynpsiuqx?], [H]elp: Y

    mediainfo is keeping the following 26 packages installed:
    libbrotli1 libcom-err2 libcurl3t64-gnutls libffi8 libgnutls30t64
    libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
    libldap2 libmediainfo0v5 libmms0 libnghttp2-14 libnghttp3-9 libngtcp2-16
    libngtcp2-crypto-gnutls8 libp11-kit0 libpsl5t64 librtmp1 libsasl2-2
    libsasl2-modules-db libssh2-1t64 libtasn1-6 libtinyxml2-11 libzen0t64
    Keep mediainfo? [Ynpsiuqx?], [H]elp: P

    libperl5.40 is keeping the following 4 packages installed:
    libgdbm-compat4t64 libgdbm6t64 perl perl-modules-5.40
    Keep libperl5.40? [Ynpsiuqx?], [H]elp: Y

    python3-minimal is keeping the following 3 packages installed:
    libexpat1 libpython3.13-minimal python3.13-minimal
    Keep python3-minimal? [Ynpsiuqx?], [H]elp: Y

    debfoster is keeping the following 1 packages installed:
    libgc1
    Keep debfoster? [Ynpsiuqx?], [H]elp: Y

    eatmydata is keeping the following 1 packages installed:
    libeatmydata1
    Keep eatmydata? [Ynpsiuqx?], [H]elp: Y
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libidn2-0 libunistring5
    Use 'apt autoremove' to remove them.
    The following packages will be REMOVED:
    libbrotli1* libcom-err2* libcurl3t64-gnutls* libffi8* libgnutls30t64*
    libgssapi-krb5-2* libk5crypto3* libkeyutils1* libkrb5-3* libkrb5support0*
    libldap2* libmediainfo0v5* libmms0* libnghttp2-14* libnghttp3-9*
    libngtcp2-16* libngtcp2-crypto-gnutls8* libp11-kit0* libpsl5t64* librtmp1*
    libsasl2-2* libsasl2-modules-db* libssh2-1t64* libtasn1-6* libtinyxml2-11*
    libzen0t64* mediainfo*
    0 upgraded, 0 newly installed, 27 to remove and 0 not upgraded.
    After this operation, 23.1 MB disk space will be freed.
    Do you want to continue? [Y/n]
    (Reading database ... 12946 files and directories currently installed.) Removing mediainfo (25.04-1) ...
    Removing libmediainfo0v5:amd64 (25.04+dfsg-1) ...
    Removing libcurl3t64-gnutls:amd64 (8.14.1-2) ...
    Removing libbrotli1:amd64 (1.1.0-2+b7) ...
    Removing libgssapi-krb5-2:amd64 (1.21.3-5) ...
    Removing libkrb5-3:amd64 (1.21.3-5) ...
    Removing libcom-err2:amd64 (1.47.2-3+b1) ...
    Removing librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b5) ...
    Removing libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ...
    Removing libgnutls30t64:amd64 (3.8.9-2) ...
    Removing libp11-kit0:amd64 (0.25.5-3) ...
    Removing libffi8:amd64 (3.4.8-2) ...
    Removing libk5crypto3:amd64 (1.21.3-5) ...
    Removing libkeyutils1:amd64 (1.6.3-6) ...
    Removing libkrb5support0:amd64 (1.21.3-5) ...
    Removing libldap2:amd64 (2.6.10+dfsg-1) ...
    Removing libmms0:amd64 (0.6.4-3+b2) ...
    Removing libnghttp2-14:amd64 (1.64.0-1.1) ...
    Removing libnghttp3-9:amd64 (1.8.0-1) ...
    Removing libngtcp2-16:amd64 (1.11.0-1) ...
    Removing libpsl5t64:amd64 (0.21.2-1.1+b1) ...
    Removing libsasl2-2:amd64 (2.1.28+dfsg1-9) ...
    Removing libsasl2-modules-db:amd64 (2.1.28+dfsg1-9) ...
    Removing libssh2-1t64:amd64 (1.11.1-1) ...
    Removing libtasn1-6:amd64 (4.20.0-2) ...
    Removing libtinyxml2-11:amd64 (11.0.0+dfsg-1+b1) ...
    Removing libzen0t64:amd64 (0.4.41-2.1+b1) ...
    Processing triggers for libc-bin (2.41-9) ...
    (Reading database ... 12726 files and directories currently installed.)
    Purging configuration files for libgssapi-krb5-2:amd64 (1.21.3-5) ... root@swivel-trixie-buildd-amd64-z7oy:/srv#

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lucas Nussbaum@21:1/5 to Marc Haber on Sat Jul 12 13:00:01 2025
    On 12/07/25 at 10:22 +0200, Marc Haber wrote:
    Control: tags -1 unreproducible
    Control: severity -1 normal
    thanks

    On Tue, Jul 01, 2025 at 10:36:57AM +0200, Lucas Nussbaum wrote:
    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.

    Works for me. Please help me reproduce this issue. Tagging and
    downgrading.

    Ah, yes, sorry.

    What I was doing (using your example below) is:
    Answer Y to "Keep build-essential? [Ynpsiuqx?], [H]elp: "
    Answer P to "Keep mediainfo? [Ynpsiuqx?], [H]elp: "
    then press X to "Remove unwanted packages and exit."

    I was under the impression that in that case, it would also remove
    dependencies of the pruned package. But I checked in Debian 11 and I am
    wrong (the behaviour is the same in 11, 12, 13).

    Best,

    Lucas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Lucas Nussbaum on Sat Jul 12 13:20:01 2025
    On Sat, Jul 12, 2025 at 12:52:42PM +0200, Lucas Nussbaum wrote:
    What I was doing (using your example below) is:
    Answer Y to "Keep build-essential? [Ynpsiuqx?], [H]elp: "
    Answer P to "Keep mediainfo? [Ynpsiuqx?], [H]elp: "
    then press X to "Remove unwanted packages and exit."

    Your usecase might actually be valid. This is just one that I never
    used. I took debfoster to keep it from being removed. I am not too
    familar with the program itself.

    I was under the impression that in that case, it would also remove >dependencies of the pruned package. But I checked in Debian 11 and I am
    wrong (the behaviour is the same in 11, 12, 13).

    So I could theoretically close this issue? I'm probably going to keep it
    open to review later whether your usecase could be supported better.

    Greetings from Brest
    Marc


    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lucas Nussbaum@21:1/5 to Marc Haber on Sat Jul 12 13:30:01 2025
    On 12/07/25 at 13:17 +0200, Marc Haber wrote:
    On Sat, Jul 12, 2025 at 12:52:42PM +0200, Lucas Nussbaum wrote:
    What I was doing (using your example below) is:
    Answer Y to "Keep build-essential? [Ynpsiuqx?], [H]elp: "
    Answer P to "Keep mediainfo? [Ynpsiuqx?], [H]elp: "
    then press X to "Remove unwanted packages and exit."

    Your usecase might actually be valid. This is just one that I never used. I took debfoster to keep it from being removed. I am not too familar with the program itself.

    I was under the impression that in that case, it would also remove dependencies of the pruned package. But I checked in Debian 11 and I am wrong (the behaviour is the same in 11, 12, 13).

    So I could theoretically close this issue? I'm probably going to keep it
    open to review later whether your usecase could be supported better.

    Yes, feel free to close it, or to turn it into a wishlist bug.

    Actually that issue triggered me to look at apt-mark/apt autoremove
    again, and I'm now using that instead. I wonder if Debian should keep
    debfoster or just direct users to apt autoremove.

    Greetings from Brest

    Greetings from the TGV to Brest :-)

    Lucas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Chris Hofstaedtler on Sat Jul 12 14:00:01 2025
    On Sat, Jul 12, 2025 at 01:53:21PM +0200, Chris Hofstaedtler wrote:
    On Sat, Jul 12, 2025 at 01:27:19PM +0200, Lucas Nussbaum wrote:
    Actually that issue triggered me to look at apt-mark/apt autoremove
    again, and I'm now using that instead. I wonder if Debian should keep
    debfoster or just direct users to apt autoremove.

    Part of my reason for removing deborphan was to get people to use
    apt autoremove more. As long as we're collectively stuck on the old
    tools, apt doesn't get better. And apparently apt mark/autoremove
    did improve in trixie!

    Want me to put that into debfoster's description? I am afraid that
    will be too late for trixie, but I can cooperate here, of course.

    Greetings
    Marc

    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Hofstaedtler@21:1/5 to Lucas Nussbaum on Sat Jul 12 14:00:01 2025
    On Sat, Jul 12, 2025 at 01:27:19PM +0200, Lucas Nussbaum wrote:
    Actually that issue triggered me to look at apt-mark/apt autoremove
    again, and I'm now using that instead. I wonder if Debian should keep debfoster or just direct users to apt autoremove.

    Part of my reason for removing deborphan was to get people to use
    apt autoremove more. As long as we're collectively stuck on the old
    tools, apt doesn't get better. And apparently apt mark/autoremove
    did improve in trixie!

    I think there are still unsolved problems with it, but I hope this
    will improve in forky.

    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Lucas Nussbaum on Sat Jul 12 14:00:02 2025
    Control: -1 severity wishlist
    thanks

    On Sat, Jul 12, 2025 at 01:27:19PM +0200, Lucas Nussbaum wrote:
    Actually that issue triggered me to look at apt-mark/apt autoremove
    again, and I'm now using that instead. I wonder if Debian should keep >debfoster or just direct users to apt autoremove.

    apt-mark/apt autoremove is the recommended way to do it, and it was the
    reason why debfoster was put up for adoption (or for removal). Maybe you
    can explain to me what it can do next week.

    Greetings from the TGV to Brest :-)

    Looking forward to seeing you.

    Greetings
    Marc

    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lucas Nussbaum@21:1/5 to Marc Haber on Sun Jul 13 13:40:01 2025
    On 12/07/25 at 13:54 +0200, Marc Haber wrote:
    Control: -1 severity wishlist
    thanks

    On Sat, Jul 12, 2025 at 01:27:19PM +0200, Lucas Nussbaum wrote:
    Actually that issue triggered me to look at apt-mark/apt autoremove
    again, and I'm now using that instead. I wonder if Debian should keep debfoster or just direct users to apt autoremove.

    apt-mark/apt autoremove is the recommended way to do it, and it was the reason why debfoster was put up for adoption (or for removal). Maybe you can explain to me what it can do next week.

    Regarding replacing debfoster with apt-mark, I filed
    #1109196: apt: provide a way to automatically mark 'auto' all packages
    #that don't need to stay manual (with a POC)

    Lucas

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