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

Reply via email to