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


Groups > linux.debian.user > #223650

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

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Disabling recommends - was [Re: bash-completion pros/cons]
Date 2020-06-19 16:40 +0200
Message-ID <Ajqls-3VR-5@gated-at.bofh.it> (permalink)
References (5 earlier) <AiEAa-x3-3@gated-at.bofh.it> <AiEAa-x3-9@gated-at.bofh.it> <AiETv-DD-1@gated-at.bofh.it> <AjfT3-67J-1@gated-at.bofh.it> <Ajnnz-2d8-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 19 Jun 2020 at 06:23:00 (-0500), Richard Owlett wrote:
> On 06/18/2020 10:25 PM, Andrei POPESCU wrote:
> > On Mi, 17 iun 20, 06:51:18, Richard Owlett wrote:
> > > 
> > > The purpose is to determine if I want to do future installs debootstrap.
> > > I attempted to use debootstrap a few years ago and understand it will take
> > > some time/effort to learn it.
> > 
> > If you are going to start from scratch you should consider mmdebstrap
> > instead (preferably the version in bullseye). It is mostly a drop-in
> > replacement for deboostrap, but significantly faster and with some very
> > useful additional features.
> 
> IIRC I had looked at it when experimenting with debootstrap and was
> confused by its use of chroot. My goal was creating a bootable system
> on a flash drive.
> > 
> > As to the learning curve, deboostrap itself is quite easy. The hard part
> > is getting a usable system *after* the deboostrap step.
> > 
> > At that point one gets to really appreciate the hard work that went
> > behind debian-installer ;)
> 
> You are "preaching to the choir" ;/
> 
> That why I'm investigating making the installer do what I want.
> 
> In a way, my underlying problem is Debian has done too good a job
> in creating a system maximally useful to the broadest spectrum of
> users. They don't use my preferred programs for some functions and
> including functions I have no interest in. That results in unnecessary
> clutter and size.

I couldn't agree less; I think you're starting at the wrong end.
There's plenty of evidence in the lists that you have run the d-i
countless times, yet I haven't seen any evidence that you've tried
to analyse how it works by, say, reading the source, notwithstanding
the fact that you play your cards close to your chest.

In choosing to work on "taming" the d-i, you've chosen a piece of
software that, by its very nature, is obscure in how it works.
It's even composed of packages that differ from their "grown-up"
cousins in the final OS installation, limiting the transfer of
knowledge.

A Debian installation is loaded up with any number of introspective
tools for examining its own composition and behaviour. None of that
is available to you while the d-i is running. Just crudely trying
to understand what it did after the event involves merging its log,
apt's history, and the screens displayed by its front-end (if you
remembered to record their timings). And even that casts little
light on the debootstrap stage. Looking at its log, you can see
that, for much of the time, the system is in a semi-broken state,
ignoring its own dependency and configuration problems. Is that
really what you want to work on?

Why not start with a minimal working system, even adding a few
select tools, and then see what isn't necessary for your own
minimalist system. Now you can try removing them from a *working*
system and, should you go too far, you still have the tools to
diagnose what's gone wrong, and fix it.

That way, you end up having constructed a post-installation script
that, instead of installing nearly 300 packages and purging two
like mine, will purge a modest number of packages and install
very few.

One other benefit: the knowledge and skills you gain in this process
will be far more transferable than a deeper understanding of the d-i.
After all, I haven't gained the impression that you're in technical
charge of rolling out, say, 5000 installations of Debian across
some institution or other.

Cheers,
David.

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