Gentoo Archives: gentoo-user

From: coalml@××××.io
To: Gentoo User <gentoo-user@l.g.o>
Cc: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Package management, depclean and new installs
Date: Mon, 04 Oct 2021 06:52:07
Message-Id: Ml91vJi--3-2@tuta.io
In Reply to: Re: [gentoo-user] Package management, depclean and new installs by Miles Malone
1 That is what i waa looking day-1 when i started gentoo
2 If it works as I expect it to id say problems solved case closed
3 And if i can add other sets inside world even better,with that being said my questions from my last email still stand,even tho now unneeded someone reading this mailing list in the future might need it so if you know go ahead
4
5 For me that is it, not only im satisfied but happy with the gentoo community as a new user, I'll stop mailing now so i dont annoy other users and goodnight by me{wow its day now :(  }
6
7 (Also while typing this Avre replied as well, so ill say everything here, I remember seeing priority somewhere sometime in the past few weeks but Id forgotten it, should relook it up by evening?¿ appreciated cheers )
8
9 4 Oct 2021, 07:36 by arve.barsnes@×××××.com:
10
11 > On Mon, 4 Oct 2021 at 08:05, <> coalml@××××.io> > wrote
12 >
13 >> Secondly(I know I will surely find this one in the wiki but)can I set a priority to pull from the local repo first if package exists and then have the official repo as a backup?
14 >>
15 >
16 > You configure your repos in /etc/portage/repos.conf. For each repo you
17 > have the option of setting a priority. I think "official third-party"
18 > repos installed through layman gets a priority = 50, and if I'm not
19 > mistaken, the official repo have a default of 100. If you want your
20 > own repo to be the first choice, give your repo a higher priority.
21 >
22 > Cheers,
23 > Arve
24 >
25
26
27 4 Oct 2021, 07:13 by m.malone@××××××××××××××××××.net:
28
29 > I would strongly, STRONGLY discourage you from creating your own meta
30 > package. There are very few meta packages in the tree (in the scheme
31 > of things) for very good reasons, they take one hell of a lot of
32 > maintenance. They're really only there for things like kde, where you
33 > might just want a bare bones kde environment, or you might be
34 > expecting the full-fat desktop environment with all the side packages
35 > you'd get if you were using a distro that gave you no option out of
36 > the box.
37 >
38 > If you really want to group a bunch of packages into a set that gets
39 > emerged with one command, I would do exactly that: create a custom
40 > set. Similar to @world, @system, @security, etc. You can do that
41 > quite easily, see https://wiki.gentoo.org/wiki/Package_sets .
42 >
43 > But really there's not a lot of use cases for it, mostly if you use a
44 > package and it's not just a dep of something (or several things) you
45 > should just have it in your world file, *for most people's use cases*.
46 > Going through your world file and cleaning out cruft is a part of
47 > regular gentoo maintenance, should be done at a minimum annually imo.
48 > Much like cleaning out distfiles and whatnot (see eclean, from
49 > app-portage/gentoolkit. And, indeed, pretty much every other useful
50 > utility in gentoolkit. Also flaggie for use-flag management.)
51 >
52 > On Mon, 4 Oct 2021 at 16:05, <coalml@××××.io> wrote:
53 >
54 >>
55 >> I thank the four of you for the insight I learn more in 5 mins then I did in an afternoon,I have two last question tho
56 >>
57 >> As a example, if you want a
58 >> full KDE install, you just emerge the kde meta package and it gets
59 >> recorded in the world file. The emerge command will take care of all
60 >> the other packages that depend on the meta package. That is a LOT of
61 >> packages too
62 >>
63 >> Theoretically I can make my own meta package and place in the localrepo I have and set it to pull packages from the official repos
64 >>
65 >> Firstly is there any dependency hell that I can fall into when placing lots of different packages with (unexpectedly) conflicting deps on my own meta package?Has anyone (reading this) that has done it before and worked out a niche way to avoid falling into that trap?
66 >>
67 >> Secondly(I know I will surely find this one in the wiki but)can I set a priority to pull from the local repo first if package exists and then have the official repo as a backup?
68 >>
69 >> Lastly thank you for your previous replies forgot to add it on my last mail and I didnt want to bloat the mailing list like im editing a forum post with asterisks :D
70 >> .
71 >> .
72 >> .
73 >> Thank you (ah I'm learning)
74 >>
75 >>