Re: [gentoo-user] Package management, depclean and new installs

2021-10-05 Thread coalml



> On Mon, 4 Oct 2021 18:02:55 -0500, Dale wrote:> rm -fr /usr/src/linux-version
> emerge -C gentoo-sources-version
>
> was significantly faster than
>
> emerge -C gentoo-sources-version
> rm -fr /usr/src/linux-version
>
So what about other packages? Do you guys find it faster to 
rm -rf $(equary f PACKAGE) && emerge -C PACKAGE? Is that slower cuz equery is 
also called or could that cause unwanted files from other packages to be 
wiped?maybe filters?


Re: [gentoo-user] Package management, depclean and new installs

2021-10-04 Thread coalml
Lol i just installed that earlier, didnt know gentoo is THAT 
understaffed,looking at the history i know of i still dont understand if the 
wiki dying was a good or a bad thing for the community in one hand hardcore 
fans stayed and rewrote(of what i can see) some epic documentation in 
comparison to other distors,on the other hand. . . lonelyness?Eh to its their 
own i guess :D 
Cheers,
good night


4 Oct 2021, 07:51 by m.mal...@homicidalteddybear.net:

> There's one thing that springs instantly to mind that uses a complex
> meta package that isnt a desktop environment is texlive.  And jesus do
> the texlive team (all... two of them?) work hard.  Special shout out.
>
> On Mon, 4 Oct 2021 at 16:37, Arve Barsnes  wrote:
>
>>
>> On Mon, 4 Oct 2021 at 08:05,  wrote:
>> > 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?
>>
>> Probably depends on what you intend this 'meta' package to do.
>> Something like the KDE meta package is rarely useful outside of DE's
>> in my estimate, and exist purely to create a KDE 'package' that users
>> can easily install without much consideration.
>>
>> If you want to create your own groups of packages that you want to
>> install with a single command, I would look into sets. @system and
>> @world are sets that everyone uses, but it's easy to create your own
>> for whatever purpose.
>>
>> Portage is usually pretty good at helping you figure out any
>> dependency conflicts, so I wouldn't worry about it. Might be worth
>> looking deeper into the way portage prints dependency errors if you
>> encounter problems though. As evidenced by many a thread on this list,
>> it can sometimes be very hard to understand, simply because there can
>> be a lot of it when there are conflicts, and it's easy to get
>> side-tracked by information that isn't directly related to your
>> problem.
>>
>> > 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?
>>
>> You configure your repos in /etc/portage/repos.conf. For each repo you
>> have the option of setting a priority. I think "official third-party"
>> repos installed through layman gets a priority = 50, and if I'm not
>> mistaken, the official repo have a default of 100. If you want your
>> own repo to be the first choice, give your repo a higher priority.
>>
>> Cheers,
>> Arve
>>

Re: [gentoo-user] Package management, depclean and new installs

2021-10-04 Thread coalml
That is what i waa looking day-1 when i started gentoo
If it works as I expect it to id say problems solved case closed
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

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 :(  }

(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 )

4 Oct 2021, 07:36 by arve.bars...@gmail.com:

> On Mon, 4 Oct 2021 at 08:05, <> coa...@tuta.io> > wrote
>
>> 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?
>>
>
> You configure your repos in /etc/portage/repos.conf. For each repo you
> have the option of setting a priority. I think "official third-party"
> repos installed through layman gets a priority = 50, and if I'm not
> mistaken, the official repo have a default of 100. If you want your
> own repo to be the first choice, give your repo a higher priority.
>
> Cheers,
> Arve
>


4 Oct 2021, 07:13 by m.mal...@homicidalteddybear.net:

> I would strongly, STRONGLY discourage you from creating your own meta
> package.  There are very few meta packages in the tree (in the scheme
> of things) for very good reasons, they take one hell of a lot of
> maintenance.  They're really only there for things like kde, where you
> might just want a bare bones kde environment, or you might be
> expecting the full-fat desktop environment with all the side packages
> you'd get if you were using a distro that gave you no option out of
> the box.
>
> If you really want to group a bunch of packages into a set that gets
> emerged with one command, I would do exactly that: create a custom
> set.  Similar to @world, @system, @security, etc.  You can do that
> quite easily, see https://wiki.gentoo.org/wiki/Package_sets .
>
> But really there's not a lot of use cases for it, mostly if you use a
> package and it's not just a dep of something (or several things) you
> should just have it in your world file, *for most people's use cases*.
> Going through your world file and cleaning out cruft is a part of
> regular gentoo maintenance, should be done at a minimum annually imo.
> Much like cleaning out distfiles and whatnot (see eclean, from
> app-portage/gentoolkit.  And, indeed, pretty much every other useful
> utility in gentoolkit.  Also flaggie for use-flag management.)
>
> On Mon, 4 Oct 2021 at 16:05,  wrote:
>
>>
>> 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
>>
>> As a example, if you want a
>> full KDE install, you just emerge the kde meta package and it gets
>> recorded in the world file.  The emerge command will take care of all
>> the other packages that depend on the meta package.  That is a LOT of
>> packages too
>>
>> 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
>>
>> 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?
>>
>> 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?
>>
>> 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
>> .
>> .
>> .
>> Thank you (ah I'm learning)
>>
>>



Re: [gentoo-user] Package management, depclean and new installs

2021-10-04 Thread coalml
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


> As a example, if you want a
> full KDE install, you just emerge the kde meta package and it gets
> recorded in the world file.  The emerge command will take care of all
> the other packages that depend on the meta package.  That is a LOT of
> packages too
>
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

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?

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?

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 
..
.Thank you (ah I'm learning)




[gentoo-user] Package management, depclean and new installs

2021-10-04 Thread coalml
Hi y'all new confused user regarding package management

How do you guys manage and protect your packages?
Do you just put everything on world and end up with a huge world file?
Do you have basic system files on world and the rest you protect or omit?
Do you create new(personalised) files depending on category and somehow link 
them in any of the above 3?
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)

I just think this is one of the things its better I learn now rather than later 
and forum or wiki info is too "on-point" on a specific situation so I thought 
I'd ask the userbase