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


Groups > linux.debian.user > #220980

Re: Goal: a specialized inventory of installed packages

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: Goal: a specialized inventory of installed packages
Date 2020-04-06 12:50 +0200
Message-ID <zSxui-1Eh-13@gated-at.bofh.it> (permalink)
References <zSfH3-7Fu-1@gated-at.bofh.it> <zSfQK-7IP-5@gated-at.bofh.it> <zSgMQ-8jd-47@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 Du, 05 apr 20, 11:59:17, Richard Owlett wrote:
> 
> I did a test run. I think I see the pattern of which packages it marks as
> manual.
> E.G. It shows systemd related items as "manual". But for *MY* purposes I
> would class them as "auto". That will not be a problem in practice. I'll
> just do what the installer thinks is an absolute minimal install and run
> 'apt-mark showmanual' against it. I'll save that list. Then create a script
> to ignore those lines when 'apt-mark showmanual' is run against my actual
> system.

Something I used to do for similar purposes[1] was to mark everything as 
auto installed and then mark as manual the packages I was actually using 
(typically things like mutt, GUI/TUI browser, etc.).

This was done using aptitude's interactive mode (not sure if apt-mark 
even existed at the time), as I could easily see what aptitude wanted to 
keep or remove.

If you intend to also *remove* packages based on this approach do mind 
the settings for "APT::AutoRemove::RecommendsImportant" and 
"APT::AutoRemove::SuggestsImportant".

[1] I stopped doing this because I found the optimization was not worth 
the time spent.

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

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