Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Package management, depclean and new installs
Date: Mon, 04 Oct 2021 07:10:47
Message-Id: 20211004081033.7e077fe3@digimed.co.uk
In Reply to: Re: [gentoo-user] Package management, depclean and new installs by Arve Barsnes
1 On Mon, 4 Oct 2021 06:31:53 +0200, Arve Barsnes wrote:
2
3 > As you can see from the two earlier replies, from cal and Dale, this
4 > depends on how you want to manage your system. If you do a lot of
5 > installing, putting -1 in your defaults might be the way to go, but
6 > personally I'm in cal's camp, I would much rather remember the -1 when
7 > I'm doing something ad hoc, and have any programs I want added to
8 > world without adding another flag to my emerge command.
9
10 I pretty much do the same. I sometimes need to install a package for a
11 short while, rather than a quick test, so I have a @temp set I can add
12 these to and clean it out regularly.
13 >
14 > As for depclean, I have added an alias for depclean with --pretend
15 > that I use after world updates. Unless you have installed something
16 > with -1, most of the time that list is empty. And the output gives
17 > nice clean lists of what packages it wants to remove, with exact
18 > version strings and slots, so if I agree, I just do 'emerge -C <copied
19 > list>' and I'm good to go.
20
21 Why not use --ask instead of --pretend? Then you don't have to copy
22 anything or re-run commands. "emerge -ca" is short enough to not need an
23 alias.
24
25
26 --
27 Neil Bothwick
28
29 Beware of the opinion of someone without any facts.

Replies

Subject Author
Re: [gentoo-user] Package management, depclean and new installs Arve Barsnes <arve.barsnes@×××××.com>