#1090367 debfoster: wants to remove libperl5.40 (which removes perl and openssh-server) even with -oMaxPriority=standard

Package:
debfoster
Source:
debfoster
Description:
Install only wanted Debian packages
Submitter:
Lucas Nussbaum
Date:
2024-12-21 08:33:01 UTC
Severity:
normal
#1090367#5
Date:
2024-12-17 15:50:46 UTC
From:
To:
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:

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

#1090367#10
Date:
2024-12-20 21:22:37 UTC
From:
To:
What happens if you include libper5.40 and/or perl it self into the
list?

I usually "initialize" debfoster by putting a /var/lib/debfoster/keepers
with the desired contents into the file system.

Yes, that's only a possible workaround.

Greetings
Marc

#1090367#15
Date:
2024-12-21 08:10:40 UTC
From:
To:
Hi,

Lucas