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

    From coalml@tuta.io@21:1/5 to All on Mon Oct 4 05:40:01 2021
    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
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div dir="auto">Hi y'all new confused user regarding package management<br></div><div dir="auto"><br></div><div dir="auto">How do you guys manage and protect your packages?<br></div><div dir="auto">Do you just put everything on world and end up with a
    huge world file?<br></div><div dir="auto">Do you have basic system files on world and the rest you protect or omit?<br></div><div dir="auto">Do you create new(personalised) files depending on category and somehow link them in any of the above 3?</div><
    div dir="auto"><br></div><div dir="auto">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)<br></div><div dir="auto"><br></div><div dir="auto">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</div> </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From cal@21:1/5 to coalml@tuta.io on Mon Oct 4 06:20:01 2021
    On 10/3/21 8:30 PM, coalml@tuta.io wrote:
    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

    I rarely use -1; pretty much exclusively for the case where I just need
    to run something once right now and will not need it again. Otherwise,
    I just install it normally, which will add it to my world file, and it
    will be preserved during depcleans. If I later decide I no longer need
    this package, I can always remove it later.

    My world file has 161 packages; I'm not sure what you consider "huge",
    but glancing through the list I don't see a lot of bloat -- I know what
    pretty much each of them does/provides to my system.

    As far as "system" packages, I just rely on my profile's @system to keep
    those. Things in @world are applications/resources that I installed for
    my particular usage.

    I'm not sure from your question exactly why you're using -1 frequently
    enough to find it cumbersome; if you clarified what you're doing it
    might be easier to clarify whether that is "normal" usage or there is a
    better way of doing things.

    cal

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arve Barsnes@21:1/5 to coalml@tuta.io on Mon Oct 4 06:40:01 2021
    On Mon, 4 Oct 2021 at 05:30, <coalml@tuta.io> wrote:

    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?

    I'm not sure I understand what you are asking about when you say
    'protect' here? As cal said, putting the actual programs you use in
    world is the way to go, and portage will take care of dependencies for
    you. Putting more than needed in world can sometimes confuse portage
    to the point where you could have problems that can be annoying to troubleshoot.

    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)

    As you can see from the two earlier replies, from cal and Dale, this
    depends on how you want to manage your system. If you do a lot of
    installing, putting -1 in your defaults might be the way to go, but
    personally I'm in cal's camp, I would much rather remember the -1 when
    I'm doing something ad hoc, and have any programs I want added to
    world without adding another flag to my emerge command.

    As for depclean, I have added an alias for depclean with --pretend
    that I use after world updates. Unless you have installed something
    with -1, most of the time that list is empty. And the output gives
    nice clean lists of what packages it wants to remove, with exact
    version strings and slots, so if I agree, I just do 'emerge -C <copied
    list>' and I'm good to go.

    Cheers,
    Arve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to coalml@tuta.io on Mon Oct 4 06:20:01 2021
    coalml@tuta.io wrote:
    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


    This is the way I've done it for a while, a couple decades.  Once I get
    my new install done, everything installed that I want, I change the
    default for the emerge command and add --oneshot or -1.  That way if I'm trying to work through a upgrade problem, I don't have to remember to
    use -1 to keep world clean.  My default emerge options look like this:

    EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=100 --keep-going -v -j5 --quiet-build=n -1 --unordered-display"

    Obviously, depending on CPU, available memory etc, you may want to
    adjust those to your case.  The key points here, the -1, --with-bdeps y, --backtrack=100 and --keep-going options.  99% of the time, when I do my updates with the command emerge -auDN world, that gives me a easy
    upgrade.  There may be exceptions at times but generally that works and
    gives me a stable system. 

    Keep in mind, you don't have to worry about @system much if any.  It's
    handled by the devs.  As for world, you only keep in there the packages
    you use.  When you update or install something new, emerge takes care of whatever depends on the package you want.  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.  My biggest advice, if you find yourself fighting emerge
    to get things done, you're doing something wrong.  These days, emerge
    -av <package> should work virtually 100% of the time.  You may have to
    adjust USE flags or something but it should just work.   

    Over the years, I've adjusted options until I got a easy update path. 
    This works really, really well.  I update once a week, usually Sunday
    night.  Lately, I start late Saturday night or Sunday morning.  That way
    I'm done and can update my backups Sunday night. 

    Hope that helps.  Welcome to Gentoo and the source of good heat, lots of compiling.  lol

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Kenworthy@21:1/5 to coalml@tuta.io on Mon Oct 4 07:10:01 2021
    On 4/10/21 11:30 am, coalml@tuta.io wrote:
    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


    Apps I am trying out or wont keep for long, install with -1

    Apps I want, install without -1

    Updates - always use -1 and after a successful update is complete run
    emerge --depclean -p and make sure whats being removed is really correct
    then remove the -p.

    Occasionally go through "/var/lib/portage/world" and turf things you no
    longer need or don't know the use of, then run emerge --depclean -p and
    make sure whats being removed is really correct then remove the -p.

    BillK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From coalml@tuta.io@21:1/5 to All on Mon Oct 4 08:10:02 2021
    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)



    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div dir="auto">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<br></div><div dir="auto"><br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-
    left: 10px; margin-left: 5px;"><div><div>As a example, if you want a<br></div><div>full KDE install, you just emerge the kde meta package and it gets<br></div><div>recorded in the world file.&nbsp; The emerge command will take care of all<br></div><div>
    the other packages that depend on the meta package.&nbsp; That is a LOT of<br></div><div>packages too<br></div></div></blockquote><div dir="auto">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<br></div><div dir="auto"><br></div><div dir="auto">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?<br></div><div dir="auto"><br></div><div dir="auto">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?<br></div><div dir="auto"><br></div><div dir="auto">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&nbsp;<br></div><div dir="auto">.</div><div dir="auto">.<br></div><div dir="auto">.</div><div dir="auto">Thank you (ah I'm learning)</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div> </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From coalml@tuta.io@21:1/5 to All on Mon Oct 4 09:00:02 2021
    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.barsnes@gmail.com:

    On Mon, 4 Oct 2021 at 08:05, <> coalml@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.malone@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, <coalml@tuta.io> 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)




    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div>That is what i waa looking day-1 when i started gentoo<br></div><div dir="auto">If it works as I expect it to id say problems solved case closed<br></div><div dir="auto">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<br></div><div dir="auto"><br></div><div dir="auto">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 :(&nbsp; }<br></div><div dir="auto"><br></div><div dir="auto">(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 )<br></div><div><div><br></div><div>4 Oct 2021, 07:36 by <a href="mailto:arve.barsnes@gmail.com"
    arve.barsnes@gmail.com</a>:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>On Mon, 4 Oct 2021 at 08:05, &lt;<a href="mailto:coalml@tuta.io">coalml@tuta.io</a>&gt; wrote<br></
    <blockquote>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?<br></blockquote><div><br></div><div>You configure your repos
    in /etc/portage/repos.conf. For each repo you<br></div><div>have the option of setting a priority. I think "official third-party"<br></div><div>repos installed through layman gets a priority = 50, and if I'm not<br></div><div>mistaken, the official repo
    have a default of 100. If you want your<br></div><div>own repo to be the first choice, give your repo a higher priority.<br></div><div><br></div><div>Cheers,<br></div><div>Arve<br></div></blockquote></div><div><br></div><div><br></div><div>4 Oct 2021, 07:
    13 by m.malone@homicidalteddybear.net:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>I would strongly, STRONGLY discourage you from creating your own meta<br></div><div>
    package. There are very few meta packages in the tree (in the scheme<br></div><div>of things) for very good reasons, they take one hell of a lot of<br></div><div>maintenance. They're really only there for things like kde, where you<br></div><div>might
    just want a bare bones kde environment, or you might be<br></div><div>expecting the full-fat desktop environment with all the side packages<br></div><div>you'd get if you were using a distro that gave you no option out of<br></div><div>the box.<br></div><
    <br></div><div>If you really want to group a bunch of packages into a set that gets<br></div><div>emerged with one command, I would do exactly that: create a custom<br></div><div>set. Similar to @world, @system, @security, etc. You can do that<br></
    <div>quite easily, see https://wiki.gentoo.org/wiki/Package_sets .<br></div><div><br></div><div>But really there's not a lot of use cases for it, mostly if you use a<br></div><div>package and it's not just a dep of something (or several things) you<
    </div><div>should just have it in your world file, *for most people's use cases*.<br></div><div>Going through your world file and cleaning out cruft is a part of<br></div><div>regular gentoo maintenance, should be done at a minimum annually imo.<br></
    <div>Much like cleaning out distfiles and whatnot (see eclean, from<br></div><div>app-portage/gentoolkit. And, indeed, pretty much every other useful<br></div><div>utility in gentoolkit. Also flaggie for use-flag management.)<br></div><div><br></
    <div>On Mon, 4 Oct 2021 at 16:05, &lt;coalml@tuta.io&gt; wrote:<br></div><blockquote><div><br></div><div>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<br></div><div><br></div><
    As a example, if you want a<br></div><div>full KDE install, you just emerge the kde meta package and it gets<br></div><div>recorded in the world file. The emerge command will take care of all<br></div><div>the other packages that depend on the meta
    package. That is a LOT of<br></div><div>packages too<br></div><div><br></div><div>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<br></div><div><br></div><div>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?<br></div><div><br></div><div>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?<br></div><div><br></div><div>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<br></div><div>.<br></div><div>.<br></div><div>.<br></div><div>Thank you (ah I'm learning)<br></div><
    <br></div></blockquote></blockquote><div dir="auto"><br></div> </body> </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arve Barsnes@21:1/5 to coalml@tuta.io on Mon Oct 4 08:40:01 2021
    On Mon, 4 Oct 2021 at 08:05, <coalml@tuta.io> 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Miles Malone@21:1/5 to coalml@tuta.io on Mon Oct 4 08:20:01 2021
    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, <coalml@tuta.io> 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)




    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Miles Malone@21:1/5 to Arve Barsnes on Mon Oct 4 09:00:02 2021
    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 <arve.barsnes@gmail.com> wrote:

    On Mon, 4 Oct 2021 at 08:05, <coalml@tuta.io> 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


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Herv=c3=a9_Guillemet?=@21:1/5 to All on Mon Oct 4 09:50:02 2021
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AQBbP7AYwTb4WU8Ub875bTHG8KBgrbvy7
    Content-Type: multipart/mixed;
    boundary="------------C810E87829D21ACF4DE4715E"
    Content-Language: fr-FR

    This is a multi-part message in MIME format. --------------C810E87829D21ACF4DE4715E
    Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable

    Le 04/10/2021 à 08:13, Miles Malone a écrit :
    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 .

    Custom sets like @myworld also offer the opportunity to add comments in
    the set file about why you needed to emerge this package, just like you
    can do in .accept_keywords, .use or .mask files.
    This is quite useful when you do you maintenance cleaning and wonder if
    one package is really still used and if unmerging it would break anything.

    --
    Hervé Guillemet

    --------------C810E87829D21ACF4DE4715E
    Content-Type: application/pgp-keys;
    name="OpenPGP_0x74903E155F0FE430.asc"
    Content-Transfer-Encoding: quoted-printable
    Content-Description: OpenPGP public key
    Content-Disposition: attachment;
    filename="OpenPGP_0x74903E155F0FE430.asc"

    -----BEGIN PGP PUBLIC KEY BLOCK-----

    xsFNBGFW1+cBEACkGzbOn8/52KXN9VurVGY8bjWDyzRQRR35+9q2kyDhqcYT28kTiN3ZvKeKp/UE JZvsgV6X9QtaOyxudFG2Y/lTmPIgHWH75CJtjLbzfX/Df1reUAeAMLrGQA2b/MgPRfGxm58Hm98s vaUC2f59UL+c0/n6CnB123G6A9i1WAWMn6oxezVx6+twAD6MOKtN3Ee0elKiHXq80qyNyRLrm6uM aRnNibKc0aRLe08C+JUBvm+4djoL2uxka5Js6GnFNCF7lZs7SBtACA0fiy8FrWpmNCBQYABLu3RT 5LocKQ1l+9cUeXeZeZY3m3n3sIKetv+aDo/jWejUHBw4Hu/hbilVx6ELK96T2Sf4don1vjhOBAjq F47hx1yTP7D9QHzNdVSTfwfkmDtiZvO+5iawhMpB4nyulvipu7Xp7R/Gw/OTK/x77HnAEIhBVIxP Ya8LQh89y3I9Pp5xukxRPL64CrLzTgoEDiR22ixVYqPKraQDo5ef5jVQQsULve1Qdj//Sgr1pGGA OcI/6T60gLGij0bG9/Zs77K/ocAar8VHpC1KPeBHeLNIso5O01+ycuKuxW2CVUjNOxJUyHTPvbmP 0IN3pcL4RR/00WGV/AJQ6dIntp+EDkwhuYoG33mwCKb6y73Bw8aC
  • From Neil Bothwick@21:1/5 to Arve Barsnes on Mon Oct 4 09:20:01 2021
    On Mon, 4 Oct 2021 06:31:53 +0200, Arve Barsnes wrote:

    As you can see from the two earlier replies, from cal and Dale, this
    depends on how you want to manage your system. If you do a lot of
    installing, putting -1 in your defaults might be the way to go, but personally I'm in cal's camp, I would much rather remember the -1 when
    I'm doing something ad hoc, and have any programs I want added to
    world without adding another flag to my emerge command.

    I pretty much do the same. I sometimes need to install a package for a
    short while, rather than a quick test, so I have a @temp set I can add
    these to and clean it out regularly.

    As for depclean, I have added an alias for depclean with --pretend
    that I use after world updates. Unless you have installed something
    with -1, most of the time that list is empty. And the output gives
    nice clean lists of what packages it wants to remove, with exact
    version strings and slots, so if I agree, I just do 'emerge -C <copied
    list>' and I'm good to go.

    Why not use --ask instead of --pretend? Then you don't have to copy
    anything or re-run commands. "emerge -ca" is short enough to not need an
    alias.


    --
    Neil Bothwick

    Beware of the opinion of someone without any facts.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmFaqOkACgkQ92eFu0QS MJiBtg//aDUU8kKeObdBXzL6PTDPZfMLZkomA22RLOCzHTXoYGvHcvoPmaN3v+6E gZ06mx1YSmMRokSbVxK1BR20VpaBmep+9cyoAJ2VCcAdt+EZG8+fIsWcygeDe9+x gyITn0Mf/FUatUJAsiQFd9IK4MeoTwwZs5FE85ar46NWmYA/sSyvZxb3048AUY7G je+LJk0yZG65URN2GNLvv0mvd7WHGAC1mEgLqQi2IPY4PTesOxO2r+wnsU/hgucI AQGU4AH0rf+dtZ7GgOa3BhBwfZ/Pk4AMF5CcfJKtQ+gLYN7b6buTtTLDqf8iLGbY +lxuf9X5OAs/uztjSih40tsNNz9NnaMvSzfE0I339BFl8tzDHJUFjs4w9FsRH69N cQ2XA1g0ExA0bI6mXcgHYdntYWHZHiphPixijgrwv2dk84ybQuaJRuIfm2/iT6XK 3/pmu5xy4No66z3YwBPu5RmCAzZ3hoADOCObzIu1ZdyIfk9RcOS/goETr0sXs4C0 HcQZSM3j5FDVdsEy7jV73Xt37J0XCaYwFlYWSYNLR6bLDl0yNV/mgAT8AFzzxHsG UPKkZcbdjeszIcbKgMX+RqImmCQ8tdusML2forCCcjvzbj9qBoX/xlcf1rBFQYry m5j9wq0Cps/UDefkuh3lvJaGv0k5lWOSFMB/2R7iaJyG2Lj5854=
    =tcE3
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arve Barsnes@21:1/5 to Neil Bothwick on Mon Oct 4 10:40:02 2021
    On Mon, 4 Oct 2021 at 09:10, Neil Bothwick <neil@digimed.co.uk> wrote:
    On Mon, 4 Oct 2021 06:31:53 +0200, Arve Barsnes wrote:
    As for depclean, I have added an alias for depclean with --pretend
    that I use after world updates. Unless you have installed something
    with -1, most of the time that list is empty. And the output gives
    nice clean lists of what packages it wants to remove, with exact
    version strings and slots, so if I agree, I just do 'emerge -C <copied list>' and I'm good to go.

    Why not use --ask instead of --pretend? Then you don't have to copy
    anything or re-run commands. "emerge -ca" is short enough to not need an alias.

    Mostly because, while I am not a prolific installer of temporary
    packages, I fairly often (compared to how often depclean wants to
    remove anything at all) have one or two packages in the list that I
    want to delay removing for a little while. Most common after a kernel
    upgrade where I still have not gotten around to reboot and confirm
    that the new version actually works. Copying the package list now and
    then seems less of a hassle to me than having to say no to --ask most
    of the time.

    Regards,
    Arve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to coalml@tuta.io on Mon Oct 4 12:20:03 2021
    On Monday, 4 October 2021 07:57:10 BST coalml@tuta.io wrote:
    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. . .

    Eh? What's this about the wiki dying?

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Miles Malone on Mon Oct 4 12:50:02 2021
    On 04/10/2021 07:13, Miles Malone wrote:
    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.)

    Yup. Emerge the packages you want, let portage take care of the rest.
    And I've recently joined the group who let emerge default to --oneshot,
    and use --select if I want to keep it ... :-)

    And do learn how to use package.use. Don't clutter your make.conf with
    loads of flags you don't understand (or want), just to get packages to
    emerge. I use autounmask-write if I need to, then I DON'T let etc-update
    update some huge package.use file. I just rename the new bunch of flags
    into package.use/what-ive-just-emerged.date. That way, if I know I still
    want that program, I let the file accumulate cruft :-), and if I'm
    wondering what the hell it is or it looks outdated as heck, I just
    carefully delete them one by one, and see what happens.

    One last tip for a newbie - have you already got X, harfbuzz, and
    freetype installed? If not, squirrel this info away until you need it - harfbuzz often won't install because freetype isn't there. But freetype
    won't install because harfbuzz isn't there! Find out what's pulling them
    both in, do an emerge -C on that, then install either harfbuzz or
    freetype with USE="-theother". Then an emerge --update should clean up
    the mess :-)

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Arve Barsnes on Mon Oct 4 20:10:02 2021
    On Mon, 4 Oct 2021 10:33:58 +0200, Arve Barsnes wrote:

    Why not use --ask instead of --pretend? Then you don't have to copy anything or re-run commands. "emerge -ca" is short enough to not need
    an alias.

    Mostly because, while I am not a prolific installer of temporary
    packages, I fairly often (compared to how often depclean wants to
    remove anything at all) have one or two packages in the list that I
    want to delay removing for a little while. Most common after a kernel
    upgrade where I still have not gotten around to reboot and confirm
    that the new version actually works. Copying the package list now and
    then seems less of a hassle to me than having to say no to --ask most
    of the time.

    I picked up this tip some years ago to avoid depcleaning kernel sources.

    % cat /etc/portage/sets.conf
    [kernels]
    class = portage.sets.dbapi.OwnerSet
    world-candidate = False
    files = /usr/src

    and emerge -n @kernels

    I also have this in the file to allow multiple GCC versions.

    [gcc]
    class = portage.sets.dbapi.OwnerSet
    world-candidate = False
    files = /usr/x86_64-pc-linux-gnu/gcc-bin


    --
    Neil Bothwick

    With free advice you often get what you pay for.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmFbQ1IACgkQ92eFu0QS MJguQA//QCI68FItq/C2C5gw1Y5U0PWiwu6isKKsdHZpMbskuZVcLhHNyIov4Iia Gwb5QrP5PRi5ciPz3WE8TNvSIXcP8whWpYV55vvbe0R74Xoyc5Dc1r+sG6IfYi0A RcGSDa/p73mnaYNOtz4cw12DF6qBJQyDgkh2M5aXuGDuexdcitZrKrpgCPpDXPTT fyP/3dZiCpzTSjvWFMMW0Hl61Ry/vh6Ye1oBrihCd+Nrg/Bq1fvsaA8LBCiU7vU8 1SbeKOCzlIzqF6phkgzZODOIWESP0wqGi8FYNct3BERZ6SGn1UYG7T/rf6CuathS pq01C69+oNzyVQaGtIcVKk1oa3Inxb99moEFa5T1fXFZSW9rpdhU+27OgrqzlHc3 vFmAXWOQCt+xc7Xdc37Puet7AA3d3PMid75oRIDJrxliWJ5M44nGAiv1sQfBorFb /oixtjzxWXrxCo5qXEX/awCL3qLqAPambZWXJE84XFwGEbb0O+GHQhZwW16oOh2f P20Xa+I3Q4rZiF8cJZ7hWTLqrfHD219U2QhBSRr2U9xdAQLTjxmcJiZMxtD7Y/Ut /kBtLteeaiQlzKn+u7u6BWwyzg4Zz2L8QiUv/MpLv4C26D2gpGVOCdxPD7+Fuhoe GqqZUaRqIu72ZCp1c/suHSx91XQ8GRd70dC0bgCUwmoBmG2tb0k=
    =270G
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arve Barsnes@21:1/5 to Neil Bothwick on Mon Oct 4 21:40:02 2021
    On Mon, 4 Oct 2021 at 20:09, Neil Bothwick <neil@digimed.co.uk> wrote:
    On Mon, 4 Oct 2021 10:33:58 +0200, Arve Barsnes wrote:
    I picked up this tip some years ago to avoid depcleaning kernel sources.

    % cat /etc/portage/sets.conf
    [kernels]
    class = portage.sets.dbapi.OwnerSet
    world-candidate = False
    files = /usr/src

    and emerge -n @kernels

    Interesting way to do it. I want them depcleaned though, as soon as I
    confirm that the new kernel works as expected. I use a custom
    patch-set, so I never have any updates unless I add them myself, so
    I'm not sure if using a set would give me anything.

    Cheers,
    Arve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steve Evans@21:1/5 to Neil Bothwick on Tue Oct 5 00:00:03 2021
    On Mon, 4 Oct 2021 19:09:22 +0100
    Neil Bothwick <neil@digimed.co.uk> wrote:

    On Mon, 4 Oct 2021 10:33:58 +0200, Arve Barsnes wrote:

    I picked up this tip some years ago to avoid depcleaning kernel
    sources.

    % cat /etc/portage/sets.conf
    [kernels]
    class = portage.sets.dbapi.OwnerSet
    world-candidate = False
    files = /usr/src

    and emerge -n @kernels

    I also have this in the file to allow multiple GCC versions.

    [gcc]
    class = portage.sets.dbapi.OwnerSet
    world-candidate = False
    files = /usr/x86_64-pc-linux-gnu/gcc-bin



    I use an alias for depclean to achieve the same result:

    alias depclean='emerge -va --depclean --exclude gentoo-sources --exclude gcc --exclude mythweb --exclude php --exclude owncloud'

    Steve
    --
    ____________________________________________________________________
    Steve Evans E-mail: mailto:stevee@gorbag.com
    Registered Linux user #217906: http://counter.li.org
    Public Encryption Key: http://www.gorbag.com/public-key.html ____________________________________________________________________

    5.10.61-gentoo Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz GNU/Linux

    22:46:01 up 14 days, 12:25, 5 users, load average: 1.25, 0.68, 0.65

    "I remember when I was a kid I used to come home from Sunday School and
    my mother would get drunk and try to make pancakes."
    -- George Carlin

    -----BEGIN PGP SIGNATURE-----

    iF0EARECAB0WIQQmj3Uu305gbg8cO2t7nkPSTV7/PgUCYVt3BwAKCRB7nkPSTV7/ PryzAJ9hGIFvKO+LHsG0f6XkIzxo9RXujgCfc5qOSkTVPZ5WE8AZX/3Yz9YQFbU=
    =sMI2
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Arve Barsnes on Mon Oct 4 23:40:02 2021
    On Mon, 4 Oct 2021 21:31:35 +0200, Arve Barsnes wrote:

    On Mon, 4 Oct 2021 10:33:58 +0200, Arve Barsnes wrote:
    I picked up this tip some years ago to avoid depcleaning kernel
    sources.

    % cat /etc/portage/sets.conf
    [kernels]
    class = portage.sets.dbapi.OwnerSet
    world-candidate = False
    files = /usr/src

    and emerge -n @kernels

    Interesting way to do it. I want them depcleaned though, as soon as I
    confirm that the new kernel works as expected. I use a custom
    patch-set, so I never have any updates unless I add them myself, so
    I'm not sure if using a set would give me anything.

    Fair enough. I use standard gentoo-sources but always like to keep at
    least one previous version available "just in case". I unmerge old
    versions manually, I have to delete kernel sources manually anyway as
    emerge only removes the files it installed, leaving all the files created
    when compiling the kernel.


    --
    Neil Bothwick

    Power corrupts - absolute power is even more fun.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmFbdBUACgkQ92eFu0QS MJgBNA/+OvAKM/uEMTsPP6TDFC0wNRgvvQ9Jy1eZtI5VuB0Un809j7ltEiVc+/n3 rF0o6GeKeXHrI5y4nOhZBaUzZ1t1nQ/Noe1gGYnh1q2qiFLvM+eyBj/2sugCeYKq KKyJg6WKyIDqSM8v1g4zdO7CdmmNMobLqNB3W02sPD8XsGyy1iZ22YYGKffve6k6 I9OInxV0fAWkxfgNgPrKO60+jHij7/efnndgqdpq/UhTjwdrz3noune/CRtnzvKl alrvJ6a9o7LHvgziBH3nXyZpwLvhnuxTlHEI78uiF14xnPx46cHUUeUyyYVnJ6NH LnTcA58VR+nCK86yV4R+D8loXg/fsQ3/4tD6hZAEwWy86heCEEmraOonr+S0KnSb voBrrzJMzTAoknyUzB8/1YsF+zIfhQj4tYe7BYR/Bh8agQudAN7528BPp2VyLVvs wHO7coN92BcNY1wtBqbYw7BXPqGxAmRP9Xgp9rU3ewaYiEZZvfc339n2YQp2Tz8O ucOtJZ7ob7PqwbTpDKBAKHMzmvH8JW3aVgzFpF3k+COgTpKwSLlSp0tp42MxGL4n 5nmt+z/j63s+MumVhyAPePbUofpoUAPMrV9SkWQhEsyljyQggdMueIuVKfFSLJ7k u/RNbEegoKJUcZu30vYUFXRzz/Yzm+DUEkBCYfBhCwuy457yHb4=
    =MvVz
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Neil Bothwick on Tue Oct 5 01:10:01 2021
    Neil Bothwick wrote:
    On Mon, 4 Oct 2021 21:31:35 +0200, Arve Barsnes wrote:

    On Mon, 4 Oct 2021 10:33:58 +0200, Arve Barsnes wrote:
    I picked up this tip some years ago to avoid depcleaning kernel
    sources.

    % cat /etc/portage/sets.conf
    [kernels]
    class = portage.sets.dbapi.OwnerSet
    world-candidate = False
    files = /usr/src

    and emerge -n @kernels
    Interesting way to do it. I want them depcleaned though, as soon as I
    confirm that the new kernel works as expected. I use a custom
    patch-set, so I never have any updates unless I add them myself, so
    I'm not sure if using a set would give me anything.
    Fair enough. I use standard gentoo-sources but always like to keep at
    least one previous version available "just in case". I unmerge old
    versions manually, I have to delete kernel sources manually anyway as
    emerge only removes the files it installed, leaving all the files created when compiling the kernel.



    I "borrowed" your method a good while back and do it the same way.  Even
    if I use emerge to remove it, it always leaves cruft behind so I just do
    it manually then tell emerge to remove it from its info. 

    I sometimes end up with 3 to 4 kernels.  Before the init thingys came
    along, I didn't worry about removing kernels.  I just left them since
    space wasn't a issue.  With the init thingys tho, it doubles or so the
    space needed for each kernel.  So, when I get a couple new stable ones,
    I delete old ones to keep a little breathing room. 

    Your way is nifty.  No more editing package files every time I want to
    upgrade or something. 

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Neil Bothwick on Tue Oct 5 01:40:01 2021
    Neil Bothwick wrote:
    On Mon, 4 Oct 2021 18:02:55 -0500, Dale wrote:

    Fair enough. I use standard gentoo-sources but always like to keep at
    least one previous version available "just in case". I unmerge old
    versions manually, I have to delete kernel sources manually anyway as
    emerge only removes the files it installed, leaving all the files
    created when compiling the kernel.


    I "borrowed" your method a good while back and do it the same way.  Even
    if I use emerge to remove it, it always leaves cruft behind so I just do
    it manually then tell emerge to remove it from its info. 
    When I checked it in the past

    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




    That's what I found out too.  That's why I delete manually first then
    tell emerge to.  Plus, you have to delete manually anyway so may as well
    save time.  ;-)

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Dale on Tue Oct 5 01:20:01 2021
    On Mon, 4 Oct 2021 18:02:55 -0500, Dale wrote:

    Fair enough. I use standard gentoo-sources but always like to keep at
    least one previous version available "just in case". I unmerge old
    versions manually, I have to delete kernel sources manually anyway as emerge only removes the files it installed, leaving all the files
    created when compiling the kernel.



    I "borrowed" your method a good while back and do it the same way.  Even
    if I use emerge to remove it, it always leaves cruft behind so I just do
    it manually then tell emerge to remove it from its info. 

    When I checked it in the past

    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


    --
    Neil Bothwick

    If at first you don't succeed, redefine success.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmFbii4ACgkQ92eFu0QS MJi8nA/+IUPucscZCr8PcfO1vn7cQshhjVvIis7rw5LOqSfnXVgFrQnR/P+C0DrG v5US8cjCoQXOxMmz5M1lHBQp16Tpr1M7V7n3CK02a3Q4kki5tXhKCejjqbBaJ34i 5y6qymbXraaWvWuO0SYdgSWWvPoM4YW3bND1/OIXJytXdLFY7HrzxCc2ZLQwCfEq 7g8nBslvr+sHwbFZVuHhYCswP/6RK6WdGzSSHkg7JXemSdZCf0Vm2Tur+Kh7MjI+ jQMRyydRYcnfboPqPuB6K9fWh7zTkJ+kZY9lOZP3sf4VDY65o7eFGnvpAYyHhWtW jr1c/2d7JFXFsmEBD+kdxyfefPWYywvyEr2R/yAQGKM4ZFTE6I48+FJNAzsPxTe7 dKY5SzVTL4dQPBgXNGW3KbUH2Iw7ECopyKRnng6XSJYyKVTTZ5Q+xbqOCLpeUsPN J0P+a9YxkGBkZ1AW1dm6kYbJWtT/a5lr5+m7j+iQLJCEU8GC1bF16QS4g44OQ2M7 K/VTxm8loGPOk7Wmi8F7UI/NXzTMLzhov89W+oIFlF1ef+ifXpQpJwsSruNPM5ym tbJJY9/Fsa5y5mF2Im+izAOj2ZgjjP/qcVfs2C0ZpMfb9g/LOuyOiUxJo5mmVsYT Lt0ljl11CEwSbFl+z24523qErckYCFrnQ63viEOpNZBDDxDcMcQ=
    =BrY5
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Tue Oct 5 01:50:01 2021
    On Tuesday, 5 October 2021 00:11:42 BST Neil Bothwick wrote:

    When I checked it in the past

    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

    Yes, it would be. The first way, portage just scans the list of files and tries to delete what isn't there; the second way it actually has to delete real files.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From coalml@tuta.io@21:1/5 to All on Tue Oct 5 04:20:01 2021
    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?

    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div><br></div><div><br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>On Mon, 4 Oct 2021 18:02:55 -0500, Dale wrote:</div><div>rm -fr /usr/src/linux-version<br></div><div>
    emerge -C gentoo-sources-version<br></div><div><br></div><div>was significantly faster than<br></div><div><br></div><div>emerge -C gentoo-sources-version<br></div><div>rm -fr /usr/src/linux-version<br></div></blockquote><div dir="auto">So what about
    other packages? Do you guys find it faster to <br></div><div dir="auto">rm -rf $(equary f PACKAGE) &amp;&amp; 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?<br>
    </div> </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Peter Humphrey on Tue Oct 5 06:50:01 2021
    On 05/10/2021 00:44, Peter Humphrey wrote:
    On Tuesday, 5 October 2021 00:11:42 BST Neil Bothwick wrote:

    When I checked it in the past

    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

    Yes, it would be. The first way, portage just scans the list of files and tries
    to delete what isn't there; the second way it actually has to delete real files.

    I doubt that's the problem. After all, rm has to delete the files too.

    I guess portage scans the files and looks up whether it can delete them
    or not. If you've deleted them already, that step no longer happens ...

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Wols Lists on Tue Oct 5 09:50:02 2021
    On Tue, 5 Oct 2021 05:43:27 +0100, Wols Lists wrote:

    Yes, it would be. The first way, portage just scans the list of files
    and tries to delete what isn't there; the second way it actually has
    to delete real files.

    I doubt that's the problem. After all, rm has to delete the files too.

    I guess portage scans the files and looks up whether it can delete them
    or not. If you've deleted them already, that step no longer happens ...

    That's what I thought, it has to check whether each file has been
    modified before deleting it, then it deletes that one file. rm just
    chucks the whole lot in the bin.


    --
    Neil Bothwick

    Half of being smart is knowing what you're dumb at.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmFb/z0ACgkQ92eFu0QS MJgjxw/5ARWV0VMID1/Ygr60HL2U34CEEw8QxYjcCkYJCWS4Xv80rdCAuDmMy4ks wjVH43R5odHDBU4zbdk0gs+AXIrC7Ccz253ulY1drKKsPD5WvdJW/0ryojHK2DMR nUMRfPq8frPLf2O+UHzBGyz+TopfLMtsKTEJFdzOkyqG9bzNIoH2eBgpKhHb3ewV Zf7fL1Yqa+lm6vlsFJreg2WlGWM+2zZNjqRAW/jFFfX5JTEynGD2ckPjPf+ZItsm w+tlWepzfs2ZzvgoIMKJTB4u2tAEUMhuP212K2G1NV0VvBZJEC2JWNGu0PQePi2I qOi11gecbpJ9G4vW7bheCSoDt8oI5u1sL2H7fRvH2sMCVlEFJMA6/jQsFtjXXlkU 3rstAC+I40Ojnrif/3mZ7rFcK48G7XW9TMwI6Ekd7VX7eCVNDWpDgGKF6FpTXoYj O5ddnjynF4nJnkuXTXRwtyYCNiCPWOdGfYiBedk/2jEl1qNnJj9A8U7I0xbRovVU tmo4NWK3WqZcwPaOR2Rwc49A8YGEPJgJDIL5jbx4mWCx7OfiGIhl+h0VsJzMdZRJ L7kT07gqEpExRTvXcnOdkHNdjzR9K80TdJTrlvc7Nasz6oOXU3SaR0O6gFqjd+Zp zgFHIHflbqru7Yfs1yudOFtEqR3YOKODL6RzCsKl8r2OR/zkgbc=
    =136r
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to coalml@tuta.io on Tue Oct 5 09:50:03 2021
    On Tue, 5 Oct 2021 04:17:32 +0200 (CEST), coalml@tuta.io wrote:

    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?

    Very few, if any, other packages install all their files in one
    directory. Nor do they install the sheer number of files

    % qlist \=sys-kernel/gentoo-sources-5.10.61 | wc -l
    70655

    But the real benefit is that you have to run rm -fr anyway to remove the
    object files etc. you are running the same commands either way, it is
    just the order that makes a difference.

    For any other package, I just let portage do its job.


    --
    Neil Bothwick

    Electrocution, n.:
    Burning at the stake with all the modern improvements.

    --Sig_/SXA1E5Ifh8ivbcDYKZC.2=Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmFcAE4ACgkQ92eFu0QS MJiG3g//eEYtHDv+3UFgbhDnNMJ2ZGCP36m1ov+icQjceVXOAfYoGmLytIibDAQG IuC5RvZlVW9vBhLr4SKn/Y2e/SUYfLl2FA+Q5NQbQaHBZr4zyHKoln8YhHU0lvL/ J+OuSiQMPxkhfOyY6D43MD9BTFRZdmOQg4b51e0wBeGpRBAzrL9lSaHbQphChh1L iBxBPRRur3rbTTATRP0P8WnpSlo0m72Jr2ncpoLW+2eeCudsw+ZzX4ilFo2Q/xiI Z717UGcJlnCoUq7/u8RKeAouC//FXF4YHJGh93VphPmo4KAIHy2/3Ei3ubbD32QO PTNgRoeCBbvhp6lJ6ZDj8tnuhSWubm6avtZlj4UlwzbWOgIhrOeBf+kK/g9GdedL D/7GDyuZHrtmQ6yPSYJr2hD8wGvJhhcD5rW3Zg9nOt4VH3Ek/PldQvpCk1QQHSCw JpK1Nkky5yNTqNbAdpI9njd2YYUZ8SAV2cetcqu9s4W9bzfBfbLxwaNo2hGx/0nZ DT88OmjKkrE0WwFN6lmJPOH9j+Y16gnPROIbF/PGyukMFOmEG4p94rmAP9XB2/t4 6nmqDbEw4fhMcfiIcywUIUs5u/gS0qPEk7pfqTqnOTXtozgBSlsOMUG1tcDn/ZAO mBqkUv412xpnoGBa26qQflU30oIUS1/Nrd31Ytl52XA2N