Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #223756

Re: Disabling recommends - was [Re: bash-completion pros/cons]

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: Disabling recommends - was [Re: bash-completion pros/cons]
Date 2020-06-20 21:20 +0200
Message-ID <AjRbY-3hl-3@gated-at.bofh.it> (permalink)
References <Ajr7Q-4r6-9@gated-at.bofh.it> <AjwTT-7T3-3@gated-at.bofh.it> <AjN8l-Hf-3@gated-at.bofh.it> <AjPDb-2gT-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Need commands ROHIT SONI <rs499647@gmail.com> - 2020-06-13 07:10 +0200
  Re: Need commands deloptes <deloptes@gmail.com> - 2020-06-13 08:20 +0200
  Re: Need commands Richard Owlett <rowlett@cloud85.net> - 2020-06-13 12:50 +0200
  Re: Need commands Teemu Likonen <tlikonen@iki.fi> - 2020-06-13 13:20 +0200
    Re: Need commands Mike McClain <mike.junk.46@att.net> - 2020-06-14 06:10 +0200
      Re: Need commands David Wright <deblis@lionunicorn.co.uk> - 2020-06-14 17:20 +0200
  Re: Need commands mick crane <mick.crane@gmail.com> - 2020-06-14 13:30 +0200
    Re: Need commands <tomas@tuxteam.de> - 2020-06-14 13:50 +0200
      Re: Need commands mick crane <mick.crane@gmail.com> - 2020-06-14 14:20 +0200
      Re: Need commands mick crane <mick.crane@gmail.com> - 2020-06-14 14:40 +0200
        Re: Need commands <tomas@tuxteam.de> - 2020-06-14 15:50 +0200
          Re: Need commands Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-15 14:10 +0200
            Re: Need commands <tomas@tuxteam.de> - 2020-06-15 14:10 +0200
        Re: Need commands davidson <davidson@freevolt.org> - 2020-06-16 10:50 +0200
          bash-completion pros/cons (was: Re: Need commands) l0f4r0@tuta.io - 2020-06-16 13:00 +0200
            Re: bash-completion pros/cons (was: Re: Need commands) Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-16 13:30 +0200
              Re: bash-completion pros/cons (was: Re: Need commands) l0f4r0@tuta.io - 2020-06-16 14:00 +0200
                Re: bash-completion pros/cons (was: Re: Need commands) <tomas@tuxteam.de> - 2020-06-16 15:00 +0200
                Re: bash-completion pros/cons The Wanderer <wanderer@fastmail.fm> - 2020-06-16 15:20 +0200
                Re: bash-completion pros/cons David Wright <deblis@lionunicorn.co.uk> - 2020-06-16 21:50 +0200
                Re: bash-completion pros/cons Anders Andersson <pipatron@gmail.com> - 2020-06-17 10:10 +0200
                Re: bash-completion pros/cons David Wright <deblis@lionunicorn.co.uk> - 2020-06-18 21:20 +0200
                Re: bash-completion pros/cons David Wright <deblis@lionunicorn.co.uk> - 2020-06-18 22:20 +0200
                Re: bash-completion pros/cons David Wright <deblis@lionunicorn.co.uk> - 2020-06-19 04:20 +0200
                Re: bash-completion pros/cons <tomas@tuxteam.de> - 2020-06-17 10:40 +0200
                Disabling recommends - was [Re: bash-completion pros/cons] Richard Owlett <rowlett@cloud85.net> - 2020-06-17 12:00 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] <tomas@tuxteam.de> - 2020-06-17 13:20 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Richard Owlett <rowlett@cloud85.net> - 2020-06-17 13:40 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] <tomas@tuxteam.de> - 2020-06-17 13:40 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Richard Owlett <rowlett@cloud85.net> - 2020-06-17 14:00 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] <tomas@tuxteam.de> - 2020-06-17 14:30 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Richard Owlett <rowlett@cloud85.net> - 2020-06-17 14:40 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Brian <ad44@cityscape.co.uk> - 2020-06-17 19:20 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] David Wright <deblis@lionunicorn.co.uk> - 2020-06-17 21:20 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Brian <ad44@cityscape.co.uk> - 2020-06-17 21:50 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] David Wright <deblis@lionunicorn.co.uk> - 2020-06-18 21:20 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Brian <ad44@cityscape.co.uk> - 2020-06-19 17:30 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Marco Möller <talby@debianlists.mobilxpress.net> - 2020-06-19 23:40 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Tom Dial <tddial@comcast.net> - 2020-06-19 23:40 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Brian <ad44@cityscape.co.uk> - 2020-06-20 01:20 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-20 17:00 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Brian <ad44@cityscape.co.uk> - 2020-06-20 19:40 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-20 21:20 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Tom Dial <tddial@comcast.net> - 2020-06-21 01:10 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Brian <ad44@cityscape.co.uk> - 2020-06-21 14:40 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-19 05:20 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Brian <ad44@cityscape.co.uk> - 2020-06-19 17:00 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-19 05:30 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Richard Owlett <rowlett@cloud85.net> - 2020-06-19 13:30 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] David Wright <deblis@lionunicorn.co.uk> - 2020-06-19 16:40 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Andy Smith <andy@strugglers.net> - 2020-06-19 19:20 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-20 17:10 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Brian <ad44@cityscape.co.uk> - 2020-06-19 19:50 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Brian <ad44@cityscape.co.uk> - 2020-06-18 02:00 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] <tomas@tuxteam.de> - 2020-06-18 10:20 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Richard Owlett <rowlett@cloud85.net> - 2020-06-18 13:50 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] <tomas@tuxteam.de> - 2020-06-18 14:50 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] Brian <ad44@cityscape.co.uk> - 2020-06-18 21:00 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] <tomas@tuxteam.de> - 2020-06-18 21:10 +0200
                Re: Disabling recommends - was [Re: bash-completion pros/cons] David Wright <deblis@lionunicorn.co.uk> - 2020-06-18 21:20 +0200
                Re: bash-completion pros/cons (was: Re: Need commands) davidson <davidson@freevolt.org> - 2020-06-18 09:30 +0200
                Re: bash-completion pros/cons (was: Re: Need commands) <tomas@tuxteam.de> - 2020-06-18 10:20 +0200
            Re: bash-completion pros/cons (was: Re: Need commands) davidson <davidson@freevolt.org> - 2020-06-18 09:10 +0200
              Re: bash-completion pros/cons (was: Re: Need commands) l0f4r0@tuta.io - 2020-06-18 20:40 +0200
          Re: Need commands mick crane <mick.crane@gmail.com> - 2020-06-16 13:20 +0200

csiph-web