Gentoo Archives: gentoo-user

From: Arve Barsnes <arve.barsnes@×××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Package management, depclean and new installs
Date: Mon, 04 Oct 2021 04:32:08
Message-Id: CAJjrzcU7f10TVMDcJDT3+MqwAxFemgDkqCRwKXC3+Oep58CADw@mail.gmail.com
In Reply to: [gentoo-user] Package management, depclean and new installs by coalml@tuta.io
1 On Mon, 4 Oct 2021 at 05:30, <coalml@××××.io> wrote:
2 >
3 > Hi y'all new confused user regarding package management
4 >
5 > How do you guys manage and protect your packages?
6 > Do you just put everything on world and end up with a huge world file?
7 > Do you have basic system files on world and the rest you protect or omit?
8 > Do you create new(personalised) files depending on category and somehow link them in any of the above 3?
9
10 I'm not sure I understand what you are asking about when you say
11 'protect' here? As cal said, putting the actual programs you use in
12 world is the way to go, and portage will take care of dependencies for
13 you. Putting more than needed in world can sometimes confuse portage
14 to the point where you could have problems that can be annoying to
15 troubleshoot.
16
17 > It's just emerging everything you are not sure you will keep with -1 seems cumbersome to me especially if at some point I want to transfer to a new device and want to copy my settings over ,select what to keep and discard the rest,depcleaning with pretend all the time seems annoying on the long term as well so there should be lots of different solutions from different people(at least thats what I think)
18
19 As you can see from the two earlier replies, from cal and Dale, this
20 depends on how you want to manage your system. If you do a lot of
21 installing, putting -1 in your defaults might be the way to go, but
22 personally I'm in cal's camp, I would much rather remember the -1 when
23 I'm doing something ad hoc, and have any programs I want added to
24 world without adding another flag to my emerge command.
25
26 As for depclean, I have added an alias for depclean with --pretend
27 that I use after world updates. Unless you have installed something
28 with -1, most of the time that list is empty. And the output gives
29 nice clean lists of what packages it wants to remove, with exact
30 version strings and slots, so if I agree, I just do 'emerge -C <copied
31 list>' and I'm good to go.
32
33 Cheers,
34 Arve

Replies

Subject Author
Re: [gentoo-user] Package management, depclean and new installs Neil Bothwick <neil@××××××××××.uk>