On Sb, 20 iun 20, 18:37:31, Brian wrote:
> On Sat 20 Jun 2020 at 17:53:56 +0300, Andrei POPESCU wrote:
> 
> > On Vi, 19 iun 20, 15:12:27, Tom Dial wrote:
> > > 
> > > I notice that tasksel (= /usr/bin/tasksel) is a Perl program in which it
> > > appears the "cmd" to be executed once selections are made (line 24 from
> > > the end) is
> > > 
> > > apt-get -q -y -o APT::Install-Recommends=true -o \
> > > APT::Get::AutomaticRemove=true -o APT::Acquire::Retries=3 install
> > > 
> > > I suspect that has something to do with the apparent fact that tasksel
> > > ignores "recommends=false" from other sources. I also suspect that
> > > editing that line would change the behavior in the desired direction.
> > > >From long-standing practice and inclination I have no wish to test this,
> > > but someone else might.
> > > 
> > > I assume this would need to be done by skipping tasksel during
> > > installation of the d-i minimal system, then altering and running the
> > > installed tasksel after the post-install reboot.
> > 
> > Why not just run 'apt install task-<whatever>' afterwards?
> 
> Without the suggested alteration made by Tom Dial? How does that fulfill
> Richard's desired outcome of not installing recommended packages?

As far as I know all tasks are now[1] metapackages that one can just 
install with apt, hence one doesn't need tasksel at all.

If you are referring to the lack of '--no-install-recommends', I was 
under the impression that we are in the context of a system installed 
with 'recommends=false' preseeded, which as per your posting[2] is 
already configured to not install recommends.

I just now realised that skipping the tasksel step completely makes 
'recommends=false' optional (it's only use would be to get a system 
pre-configured to not install recommends), so one should add 
'--no-install-recommends' as needed to the above ;)

[1] they used to be separate lists of packages consumed by tasksel (and 
aptitude?)
[2] https://lists.debian.org/debian-user/2020/06/msg00648.html

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature

Reply via email to