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


Groups > linux.debian.user > #220937

Re: Goal: a specialized inventory of installed packages

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Goal: a specialized inventory of installed packages
Date 2020-04-05 19:10 +0200
Message-ID <zSgWu-af-17@gated-at.bofh.it> (permalink)
References <zSfH3-7Fu-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun 05 Apr 2020 at 10:30:41 (-0500), Richard Owlett wrote:

> I currently have a configuration of Stretch that meets most of my needs.

> I'm setting out to do an _extremely_ custom *minimal* install of Buster.
> The desired inventory shall list *ONLY* top level packages.
> [ E.G. if gfortran was purposely installed, the ~dozen packages
> installed because they were tagged as depends, recommends, or suggests
> wold *NOT* be listed. ]
> 
> Is there a suitable tool? [Synaptic's History menu item is closest
> I've found].

I assume that what you're after is a command like
  apt-get install a b c d …
where the list is the shortest that would install the said system.

In which case, I would presume the answer is no.

But it's not too onerous to write a script to parse the status file
(dpkg-query does the grunt work) and determine which packages are
not a [pre-]depends/recommends/suggests of any other. You may or
may not want to prune the resulting list, removing the names of any
packages that the d-i has no option but to install itself.

How kindly apt will take to be presented with such a list of packages
for installation at one sitting, I don't know.

Cheers,
David.

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


Thread

Goal: a specialized inventory of installed packages Richard Owlett <rowlett@cloud85.net> - 2020-04-05 17:50 +0200
  Re: Goal: a specialized inventory of installed packages The Wanderer <wanderer@fastmail.fm> - 2020-04-05 18:00 +0200
    Re: Goal: a specialized inventory of installed packages Richard Owlett <rowlett@cloud85.net> - 2020-04-05 19:00 +0200
      Re: Goal: a specialized inventory of installed packages Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-06 12:50 +0200
    Re: Goal: a specialized inventory of installed packages Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-06 12:40 +0200
  Re: Goal: a specialized inventory of installed packages David Wright <deblis@lionunicorn.co.uk> - 2020-04-05 19:10 +0200
    Re: Goal: a specialized inventory of installed packages Richard Owlett <rowlett@cloud85.net> - 2020-04-05 20:20 +0200
      Re: Goal: a specialized inventory of installed packages David Wright <deblis@lionunicorn.co.uk> - 2020-04-06 19:10 +0200
  Re: Goal: a specialized inventory of installed packages Marco Möller <talby@debianlists.mobilxpress.net> - 2020-04-05 20:30 +0200
    Re: Goal: a specialized inventory of installed packages Richard Owlett <rowlett@cloud85.net> - 2020-04-06 04:30 +0200

csiph-web