Package: debfoster
Version: 2.8-1
Severity: important
X-Debbugs-Cc: lu...@debian.org

Hi,

I use debfoster in an automated way when building system images, to
clean up the image of unwanted packages.

For that, I use:
debfoster -oMaxPriority=standard -f <list of packages I want to keep>

<list of packages I want to keep> includes openssh-server.

However, on Debian testing, this removes openssh-server and perl.

Dropping -f:
> # debfoster -oMaxPriority=standard openssh-server
> 
> libperl5.40 is keeping the following 3 packages installed:
>   libgdbm-compat4t64 perl perl-modules-5.40
> Keep libperl5.40? [Ynpsiuqx?], [H]elp: 

So debfoster thinks it can remove libperl5.40, even if it removes perl,
which also removes ucf, which also removes openssh-server.

That looks wrong.

Lucas


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.10-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set 
LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debfoster depends on:
ii  libc6   2.40-4
ii  libgc1  1:8.2.8-1

Versions of packages debfoster recommends:
ii  apt  2.9.16

debfoster suggests no packages.

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "C.UTF-8",
        LC_NUMERIC = (unset),
        LC_COLLATE = (unset),
        LC_TIME = (unset),
        LC_MESSAGES = (unset),
        LC_MONETARY = (unset),
        LC_ADDRESS = (unset),
        LC_IDENTIFICATION = (unset),
        LC_MEASUREMENT = (unset),
        LC_PAPER = (unset),
        LC_TELEPHONE = (unset),
        LC_NAME = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Reply via email to