• Re: [gentoo-user] Is it OK to get rid of app-alternatives/* ?

    From Michael Cook@21:1/5 to Walter Dnes on Wed Feb 15 03:00:02 2023
    On 2/14/23 20:47, Walter Dnes wrote:
    A whole bunch of busy-work for emerge, and nothing in the news item indicates it's really necessary for the average user. Howsabout...

    * manually zapping with "rm -rf /var/db/repos/gentoo/app-alternatives"
    * and then include "app-alternatives" in the file pointed to by
    PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=<whatever>"

    Am I missing something obvious that would cause problems?

    You're missing a lot of manual busy work you would have to do
    maintaining a package.provided since packages depend on stuff in that
    category.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Rosenbaum@21:1/5 to waltdnes@waltdnes.org on Wed Feb 15 03:00:02 2023
    Dave

    On Tue, Feb 14, 2023, 20:47 Walter Dnes <waltdnes@waltdnes.org> wrote:

    A whole bunch of busy-work for emerge, and nothing in the news item indicates it's really necessary for the average user. Howsabout...

    * manually zapping with "rm -rf /var/db/repos/gentoo/app-alternatives"
    * and then include "app-alternatives" in the file pointed to by
    PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=<whatever>"

    Am I missing something obvious that would cause problems?

    --
    I've seen things, you people wouldn't believe; Gopher, Netscape with
    frames, the first Browser Wars. Searching for pages with AltaVista,
    pop-up windows self-replicating, trying to uninstall RealPlayer. All
    those moments, will be lost in time like tears in rain... time to die.



    <div dir="auto"><br><br><div data-smartmail="gmail_signature">Dave</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 14, 2023, 20:47 Walter Dnes &lt;<a href="mailto:waltdnes@waltdnes.org">waltdnes@waltdnes.org</a>&gt;
    wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  A whole bunch of busy-work for emerge, and nothing in the news item<br>
    indicates it&#39;s really necessary for the average user.  Howsabout...<br>

    * manually zapping with &quot;rm -rf /var/db/repos/gentoo/app-alternatives&quot;<br>
    * and then include &quot;app-alternatives&quot; in the file pointed to by<br>   PORTAGE_RSYNC_EXTRA_OPTS=&quot;--exclude-from=&lt;whatever&gt;&quot;<br>

      Am I missing something obvious that would cause problems?<br>

    -- <br>
    I&#39;ve seen things, you people wouldn&#39;t believe; Gopher, Netscape with<br>
    frames, the first Browser Wars.  Searching for pages with AltaVista,<br> pop-up windows self-replicating, trying to uninstall RealPlayer.  All<br> those moments, will be lost in time like tears in rain... time to die.<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Walter Dnes@21:1/5 to All on Wed Feb 15 02:50:01 2023
    A whole bunch of busy-work for emerge, and nothing in the news item
    indicates it's really necessary for the average user. Howsabout...

    * manually zapping with "rm -rf /var/db/repos/gentoo/app-alternatives"
    * and then include "app-alternatives" in the file pointed to by
    PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=<whatever>"

    Am I missing something obvious that would cause problems?

    --
    I've seen things, you people wouldn't believe; Gopher, Netscape with
    frames, the first Browser Wars. Searching for pages with AltaVista,
    pop-up windows self-replicating, trying to uninstall RealPlayer. All
    those moments, will be lost in time like tears in rain... time to die.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Walter Dnes@21:1/5 to Michael Cook on Wed Feb 15 08:50:02 2023
    On Tue, Feb 14, 2023 at 08:57:48PM -0500, Michael Cook wrote
    On 2/14/23 20:47, Walter Dnes wrote:

    Am I missing something obvious that would cause problems?

    You're missing a lot of manual busy work you would have to do
    maintaining a package.provided since packages depend on stuff in
    that category.

    After thoroughly reading the docs at... https://www.gentoo.org/support/news-items/2022-12-27-alternatives-introduction.html
    it looks like the hand of him-who-must-not-be-named. Rather than
    provide special support for the 1% extreme edge cases, the remaining 99%
    of regular users will be dragged through the change. More bloat; and
    eselect is on the road to eventual deprecation. With that in mind, I
    don't really have any choice but to go along. I'll have to change my
    sig to include something about a fully functional linux on a 16
    *MEGA*byte machine running X (Yes, I actually was doing that back in
    2000)... sigh.

    --
    I've seen things, you people wouldn't believe; Gopher, Netscape with
    frames, the first Browser Wars. Searching for pages with AltaVista,
    pop-up windows self-replicating, trying to uninstall RealPlayer. All
    those moments, will be lost in time like tears in rain... time to die.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Walter Dnes on Wed Feb 15 09:20:01 2023
    On Wed, 15 Feb 2023 02:44:47 -0500, Walter Dnes wrote:

    After thoroughly reading the docs at... https://www.gentoo.org/support/news-items/2022-12-27-alternatives-introduction.html
    it looks like the hand of him-who-must-not-be-named. Rather than
    provide special support for the 1% extreme edge cases, the remaining 99%
    of regular users will be dragged through the change. More bloat; and
    eselect is on the road to eventual deprecation.

    "Systems will be more robust and desired system configuration
    can be achieved using the package manager rather than manual steps
    outside of it."

    Sounds quite reasonable to me. As does being able to control everything
    from within Portage, with USE flags, rather than messing around with
    eselect.

    If, as you say, it will eventually replace eselect, there is no more
    bloat, just different bloat. It's still just a bunch of symlinks, but
    managed differently.


    --
    Neil Bothwick

    Inland Revenue: We've got what it takes to take what you've got!

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

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmPsk8IACgkQ92eFu0QS MJjdQA/+OQd5V61iPsRVtw8zHGm3+/tmofbqak+VG/uSaVh5ciAILAS3NMwq30FT KYfbU6BVDwtfzyco9wWLNuuk7MqvO6luxQcHwiayooWEBy6T/KOCnL11QVJkrIle a3irDBVux5VEAjSGmkBkm3KT4b8oHb5gMpfZQTCqKTAmXXk9D3+BJA9sobmuPz2+ 9BEfKMww5ZJK9W5/ownqNP3Iz1Sv6idcpd719/yoyUb12hudaIQwnVvIB1cVaaiE JLBhsWshhGxoLiDStK9U6WIsCQMcdnrKnH0LaDrEySJZHWNo50kPDKAXs5/DgQTN 1VuxRWXT0r2N3h0hNNCdoB9SGZjPU0tFXv/ErUtuSIWqg9ITqRG0gQ0Cjka7n9+p QK0UTYPV6YQTrzm7+de3tNixv8l/9kfXemYgYUJYABfChhOQdYS48DKp2Kr3HrlT KTptvs4qH19zUMp8RMKS+31tHCSuJmwPcdyBYN6sOqUuvzSCSmcOSUMnBuLRS6RI 3D7bPqAVxQ9H5JSoXGCgZvrshBMJmISm+bKT2nZL8LUqQ4Uzk6OOOiLLbSNotGJ2 gTUp+CRz63iS//R+3nGLMWVUj4Z2gN96SiQCUMm1stpaErvg8joNRUSQ6V+cb1NE CTUtpT9Q+eALrPHpTy214cEh7oe2qhdo46zz0+0QGoa8OvtErJw=
    =bWhh
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arsen =?utf-8?Q?Arsenovi=C4=87?=@21:1/5 to Walter Dnes on Wed Feb 15 10:00:01 2023
    Hi,

    "Walter Dnes" <waltdnes@waltdnes.org> writes:

    A whole bunch of busy-work for emerge, and nothing in the news item indicates it's really necessary for the average user. Howsabout...

    It's definitely necessary. Those packages provide links for vital parts
    of the filesystem, like /bin/sh.

    Why do you want to remove them? If there's something we failed to
    consider when implementing app-alternatives, please let us know and
    we'll try to rectify the issue.

    * manually zapping with "rm -rf /var/db/repos/gentoo/app-alternatives"
    * and then include "app-alternatives" in the file pointed to by
    PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=<whatever>"

    Am I missing something obvious that would cause problems?

    Have a great day.
    --
    Arsen Arsenović

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

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

    iOcEARYKAI8WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCY+ydvV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxEcYXJzZW5AZ2Vu dG9vLm9yZwAKCRBSwpQwHqLEk89TAP9+2RvGFuKwOrcq3dcN7dL1EXQbTZ3C7Q3J gtzbZM/QSwEAvHPUqi/CrFOCeuUzHJ7407MNSH9Cc6mPYW+ih8JDawQ=3LKU
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Orlitzky@21:1/5 to Neil Bothwick on Wed Feb 15 15:20:01 2023
    On 2023-02-15 08:11:46, Neil Bothwick wrote:

    If, as you say, it will eventually replace eselect, there is no more
    bloat, just different bloat. It's still just a bunch of symlinks, but
    managed differently.


    Should be less, since you already have portage installed but not
    necessarily eselect-whatever.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich Freeman@21:1/5 to mjo@gentoo.org on Wed Feb 15 15:50:01 2023
    On Wed, Feb 15, 2023 at 9:10 AM Michael Orlitzky <mjo@gentoo.org> wrote:

    On 2023-02-15 08:11:46, Neil Bothwick wrote:

    If, as you say, it will eventually replace eselect, there is no more
    bloat, just different bloat. It's still just a bunch of symlinks, but managed differently.


    Should be less, since you already have portage installed but not
    necessarily eselect-whatever.


    The symlinks are all associated with packages as well, which means
    that when you uninstall things that will get rid of the symlinks as
    well. This is really just a best practice all-around. I have a
    Gentoo system I've been maintaining for a while and I occasionally
    find orphaned stuff poking around because of special cases of things
    that weren't managed by the package manager, and so when things were
    obsoleted they stuck around.

    The news is needed precisely because the migration involves having the
    package manager install a bunch of stuff over files not owned by any
    package. That triggers a warning, but only because the files were in
    a less than ideal state to start.

    Things like this and the new user/group packages also reduce the
    complexity of dependency management because they just turn everything
    into a package dependency. Less special cases.

    --
    Rich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel Frey@21:1/5 to Michael Orlitzky on Wed Feb 15 17:00:01 2023
    On 2/15/23 06:10, Michael Orlitzky wrote:
    On 2023-02-15 08:11:46, Neil Bothwick wrote:

    If, as you say, it will eventually replace eselect, there is no more
    bloat, just different bloat. It's still just a bunch of symlinks, but
    managed differently.


    Should be less, since you already have portage installed but not
    necessarily eselect-whatever.


    I didn't even know eselect-whatever was even an option until this
    post... It's not something I've ever used.

    It does (at least to me) make sense for the package manager to enforce
    these selections rather than some optional tool though.

    Dan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wol@21:1/5 to Daniel Frey on Wed Feb 15 20:30:02 2023
    On 15/02/2023 15:51, Daniel Frey wrote:
    On 2/15/23 06:10, Michael Orlitzky wrote:
    On 2023-02-15 08:11:46, Neil Bothwick wrote:

    If, as you say, it will eventually replace eselect, there is no more
    bloat, just different bloat. It's still just a bunch of symlinks, but
    managed differently.


    Should be less, since you already have portage installed but not
    necessarily eselect-whatever.


    I didn't even know eselect-whatever was even an option until this
    post... It's not something I've ever used.

    It does (at least to me) make sense for the package manager to enforce
    these selections rather than some optional tool though.

    what are they going to do about "eselect kernel set ..." then?

    It's bad enough depclean deleting the active kernel if you don't watch
    out, without something deciding to install a non-existent kernel and
    deleting the live one :-)

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arsen =?utf-8?Q?Arsenovi=C4=87?=@21:1/5 to Wol on Wed Feb 15 21:00:01 2023
    Hi,

    Wol <antlists@youngman.org.uk> writes:

    On 15/02/2023 15:51, Daniel Frey wrote:
    On 2/15/23 06:10, Michael Orlitzky wrote:
    On 2023-02-15 08:11:46, Neil Bothwick wrote:

    If, as you say, it will eventually replace eselect, there is no more
    bloat, just different bloat. It's still just a bunch of symlinks, but
    managed differently.


    Should be less, since you already have portage installed but not
    necessarily eselect-whatever.

    I didn't even know eselect-whatever was even an option until this
    post... It's not something I've ever used.
    It does (at least to me) make sense for the package manager to enforce these >> selections rather than some optional tool though.

    what are they going to do about "eselect kernel set ..." then?

    It's bad enough depclean deleting the active kernel if you don't watch out, without something deciding to install a non-existent kernel and deleting the live one :-)

    This is part of the motivation behind the dist-kernel project. See: https://wiki.gentoo.org/wiki/Project:Distribution_Kernel

    As an anecdote, I haven't thought about what my kernel and modules are
    doing in a very long time, and I use multiple out of tree modules.

    Happy hacking and have a great day.
    --
    Arsen Arsenović

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

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

    iOcEARYKAI8WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCY+03dl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxEcYXJzZW5AZ2Vu dG9vLm9yZwAKCRBSwpQwHqLEk5T5AP4lCxO9SPuDQ1GJFKFszgX/Pj9SH3vlZwtm uGcYg6lRZwD+JVDlka3Huw+/8RW+PWJy7pdpZ4BCKWIaQt8FtHApjQM=RTIB
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Walter Dnes@21:1/5 to Wol on Thu Feb 16 05:10:01 2023
    On Wed, Feb 15, 2023 at 07:20:37PM +0000, Wol wrote

    what are they going to do about "eselect kernel set ..." then?

    It's bad enough depclean deleting the active kernel if you don't watch
    out, without something deciding to install a non-existent kernel and
    deleting the live one :-)

    I have my own hand-coded script that runs "emerge --pretend --depclean"
    and tweaks/filters the output into another script called "cleanscript".
    I've set it to filter out "gentoo-sources". I then inspect
    "cleanscript" before running it. And, oh yeah, depclean wants to remove
    nano. I had to "emerge -n nano" to protect it.

    --
    I've seen things, you people wouldn't believe; Gopher, Netscape with
    frames, the first Browser Wars. Searching for pages with AltaVista,
    pop-up windows self-replicating, trying to uninstall RealPlayer. All
    those moments, will be lost in time like tears in rain... time to die.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Walter Dnes on Sun Feb 19 11:40:02 2023
    On Wed, 15 Feb 2023 23:09:54 -0500, Walter Dnes wrote:

    It's bad enough depclean deleting the active kernel if you don't
    watch out, without something deciding to install a non-existent
    kernel and deleting the live one :-)

    I have my own hand-coded script that runs "emerge --pretend
    --depclean" and tweaks/filters the output into another script called "cleanscript". I've set it to filter out "gentoo-sources". I then
    inspect "cleanscript" before running it. And, oh yeah, depclean wants
    to remove nano. I had to "emerge -n nano" to protect it.

    You can add kernel sources to a set so they are never depcleaned

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

    Then emerge -n @kernels

    I do the same with gcc so I can keep the previous version

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


    --
    Neil Bothwick

    For security reasons, all text in this mail
    is double-rot13 encrypted.

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

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmPx+lIACgkQ92eFu0QS MJjX9w//StV8PaZijjaNnCst0MvT5O4lyrBYA7obVZ+qvCSWF0oZ85ps6+FQQ7R9 M+i1SthOxqH0y0Z8MCSljK44fLHf9HmEW4i8et/BPjSq2Ai9IhRoh7q/ehSJQoE3 2q6AVQD3p1XgJDDa9jTFeEjxE/w+EK7oMgSxTuDXyLuQLHljhryoJG0uiCO073Fo jJbqo+9E8YuHn+bKSkaXZY7XbgwFIPwB0PoHDLawAZJqMEsDbSPgDPKwXL5Gk9ZL HHfuvQ5KnHtiX2wPUrcf59W7aeh2qYwEwlMb34EpMfwdONJFdOgkjtB28b2NjGmO IBqhdxNRItXIIcnGh/WULvfGx/VU07kVVDkhoI566TNFlMQ6btf77hiNbn3dfs+7 UKgg+N0/MTIzXiZSBmbFgmYsjPO83PqF3n4Uw6EgX+24a9jBcrYbLcUlR35D5XoY ryRlJ/EwSSp0ATe3wKViy1qsrO1tKnY77du/PGb5TkmmiTUVeoDiuilWquWePPma EMNYaU7PrhLelJ52h6rDEOOh8lU5EhV7dghQ7v7VtQaVxfFIIlymCJm/8XRjAcNd vDQ70Muhh2qRHoYa6vaAX3dYyeQci7uIQfYxNbrC1jEM/NKUa3BMJc3cRk17esaI qNh0msVo4yLoIVch3iY86ulwgjpJ5FMKTngdzSdutp1Yvn+Q8oo=
    =crfA
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Rosenbaum@21:1/5 to neil@digimed.co.uk on Fri Mar 3 02:00:01 2023
    Thanks

    Dave

    On Sun, Feb 19, 2023, 05:31 Neil Bothwick <neil@digimed.co.uk> wrote:

    On Wed, 15 Feb 2023 23:09:54 -0500, Walter Dnes wrote:

    It's bad enough depclean deleting the active kernel if you don't
    watch out, without something deciding to install a non-existent
    kernel and deleting the live one :-)

    I have my own hand-coded script that runs "emerge --pretend
    --depclean" and tweaks/filters the output into another script called "cleanscript". I've set it to filter out "gentoo-sources". I then
    inspect "cleanscript" before running it. And, oh yeah, depclean wants
    to remove nano. I had to "emerge -n nano" to protect it.

    You can add kernel sources to a set so they are never depcleaned

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

    Then emerge -n @kernels

    I do the same with gcc so I can keep the previous version

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


    --
    Neil Bothwick

    For security reasons, all text in this mail
    is double-rot13 encrypted.


    <div dir="auto">Thanks<br><br><div data-smartmail="gmail_signature">Dave</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 19, 2023, 05:31 Neil Bothwick &lt;<a href="mailto:neil@digimed.co.uk">neil@digimed.co.uk</a>&gt;
    wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 15 Feb 2023 23:09:54 -0500, Walter Dnes wrote:<br>

    &gt; &gt; It&#39;s bad enough depclean deleting the active kernel if you don&#39;t<br>
    &gt; &gt; watch out, without something deciding to install a non-existent<br> &gt; &gt; kernel and deleting the live one :-)  <br>
    &gt; <br>
    &gt;   I have my own hand-coded script that runs &quot;emerge --pretend<br> &gt; --depclean&quot; and tweaks/filters the output into another script called<br>
    &gt; &quot;cleanscript&quot;. I&#39;ve set it to filter out &quot;gentoo-sources&quot;.  I then<br>
    &gt; inspect &quot;cleanscript&quot; before running it.  And, oh yeah, depclean wants<br>
    &gt; to remove nano.  I had to &quot;emerge -n nano&quot; to protect it.<br>

    You can add kernel sources to a set so they are never depcleaned<br>

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

    Then emerge -n @kernels<br>

    I do the same with gcc so I can keep the previous version<br>

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


    -- <br>
    Neil Bothwick<br>

    For security reasons, all text in this mail<br>
      is double-rot13 encrypted.<br>
    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)