• Re: [gentoo-user] Reproducible Installation Lists?

    From Dale@21:1/5 to Ramces Tampo-og Red on Sat Feb 26 12:10:01 2022
    Ramces Tampo-og Red wrote:
    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if what I'm thinking is possible or if I'm just being stupid. But either way, I was wondering if it is possible to export a list of all installed software
    in emerge and use that to recreate on another gentoo install.

    I have a bunch of PCs that are all similarly specced and I wanted to create a minimal install "template" for all of them. If not, would it be possible to pipe-in to emerge from stdin an output of all of the package names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd appreciate any guidance in the matter.

    Cheers!



    There is a file that contains all the packages you have installed.  It
    is located here:

    /var/lib/portage/world

    One could copy that file to another system and do a emerge @world to
    install the same list of packages.  Depending on what all you have
    installed, it could confuse emerge and not be doable.  In the past, I
    had a copy of the file and I emerged them a few at a time.  It's worth
    trying by just coping the file tho.  It just might work. 

    Since you mention being new to Gentoo, don't forget the --oneshot or -1
    option when emerging things that should not be in the world file. 
    Libraries are one thing that should rarely if ever be in that file. 
    Once you get your install done and rarely install new packages, you can
    add that to the defaults in make.conf.  When I first started using
    Gentoo, I was bad to forget the -1 option and my world file was a mess. 
    It can lead to all sorts of problems later on.  The only entries in the
    world file should be packages you install and use directly.  It's rare
    that anything else should be there. 

    Happy Gentooing. 

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From spareproject776@21:1/5 to Ramces Tampo-og Red on Sat Feb 26 12:10:01 2022
    emerge -avbk $(tr '\n' ' ' < /var/lib/portage/world)

    If your doing more than one box binhost / binpkg has a far higher return
    for alot more effort upfront provided you can live with -mtune=generic.

    On Sat, Feb 26, 2022 at 06:47:12PM +0800, Ramces Tampo-og Red wrote:

    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if what I'm thinking is possible or if I'm just being stupid. But either way, I was wondering if it is possible to export a list of all installed software
    in emerge and use that to recreate on another gentoo install.

    I have a bunch of PCs that are all similarly specced and I wanted to create a minimal install "template" for all of them. If not, would it be possible to pipe-in to emerge from stdin an output of all of the package names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd appreciate any guidance in the matter.

    Cheers!

    --
    . * +
    + Ang kalayaan ay dili gihatag, ini'y giabot.
    * + {gopher,gemini}://kalayaan.xyz *
    . C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 .



    --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ramces Tampo-og Red@21:1/5 to All on Sat Feb 26 11:50:01 2022
    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if what I'm thinking is possible or if I'm just being stupid. But either way, I was wondering if it is possible to export a list of all installed software
    in emerge and use that to recreate on another gentoo install.

    I have a bunch of PCs that are all similarly specced and I wanted to
    create a minimal install "template" for all of them. If not, would it be possible to pipe-in to emerge from stdin an output of all of the package
    names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd appreciate any guidance in the matter.

    Cheers!

    --
    . * +
    + Ang kalayaan ay dili gihatag, ini'y giabot.
    * + {gopher,gemini}://kalayaan.xyz *
    . C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 .

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

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

    iQJFBAEBCAAvFiEExK5dU0agAd9ukstGktefu6ufPjcFAmIaBTARHHJ0ckBrYWxh eWFhbi54eXoACgkQktefu6ufPjdaqw/+L+IBGYjnBY9NN8dD02JrgY1H1W0Dbgdk urbQkadmWIRpvXL8sY6G6F1lwRxafFsc76JdjqQBiWLCuIeH1nfqLZ2HAqPeGOnn aSRNhEKfHHw8LkrS0rrlao8mkZxhfPQ0PhQ0CsqqTh3jX8wWSWHyGsQUZsf0wcB/ 5rfdk5wjuteZpHsRAupEYj30Z2QFlZWUUG8azT3anG+5Xebpf2EuCqWvoOyOcdfD RO5OZUdEqKKTr8bx2HgmCR6NaL/XQ6znaj2ycYBj5O1JsJT+9GEZ3e1OY/kwN7hj UOl4bsu4tAmiN2A9HZ4hmOQJAjZqfjgSqoV06/IV9ztaauYvs3b6dWc5wdXSTlPK RpRM3cJeCHU8YSjDzdIm5Q2HwgwkFuaAStt6YDiu7R54R1t9oNv9Q4r1Un3iUuRV rEVtq5RdS9RsR2npKpX6sd3Loonb1fqgNGcdqy6yLzZR+CR00nfbLzLrIcmJTuKQ 51dzq/jMdzILDIXryCb+2jg24BJovDyWD5BFt4Ph7gbXu2YYT3N
  • From tastytea@21:1/5 to rdalek1967@gmail.com on Sat Feb 26 12:30:02 2022
    On 2022-02-26 05:07-0600 Dale <rdalek1967@gmail.com> wrote:

    Ramces Tampo-og Red wrote:
    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if
    what I'm thinking is possible or if I'm just being stupid. But
    either way, I was wondering if it is possible to export a list of
    all installed software in emerge and use that to recreate on
    another gentoo install.

    I have a bunch of PCs that are all similarly specced and I
    wanted to create a minimal install "template" for all of them. If
    not, would it be possible to pipe-in to emerge from stdin an output
    of all of the package names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd
    appreciate any guidance in the matter.

    Cheers!



    There is a file that contains all the packages you have installed.  It
    is located here:

    /var/lib/portage/world

    One could copy that file to another system and do a emerge @world to
    install the same list of packages.  Depending on what all you have installed, it could confuse emerge and not be doable.  In the past, I
    had a copy of the file and I emerged them a few at a time.  It's worth trying by just coping the file tho.  It just might work. 

    It is safer to copy the world file to /etc/portage/sets/¹ and then
    emerge the set. This way portage won't think that the packages are
    already installed. So you could copy it to
    /etc/portage/sets/minimal-install and install it with emerge -a @minimal-install.

    Kind regards, tastytea

    ¹ <https://wiki.gentoo.org/wiki//etc/portage/sets>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ramces Tampo-og Red@21:1/5 to spareproject776@gmail.com on Sat Feb 26 13:10:01 2022
    spareproject776 <spareproject776@gmail.com> writes:
    On Sat, Feb 26, 2022 at 06:47:12PM +0800, Ramces Tampo-og Red wrote:

    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if what I'm
    thinking is possible or if I'm just being stupid. But either way, I was
    wondering if it is possible to export a list of all installed software
    in emerge and use that to recreate on another gentoo install.

    I have a bunch of PCs that are all similarly specced and I wanted to
    create a minimal install "template" for all of them. If not, would it be
    possible to pipe-in to emerge from stdin an output of all of the package
    names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd appreciate any
    guidance in the matter.

    Cheers!

    emerge -avbk $(tr '\n' ' ' < /var/lib/portage/world)

    If your doing more than one box binhost / binpkg has a far higher return
    for alot more effort upfront provided you can live with -mtune=generic.



    Thanks! I will check this out.

    --
    . * +
    + Ang kalayaan ay dili gihatag, ini'y giabot.
    * + {gopher,gemini}://kalayaan.xyz *
    . C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 .

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

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

    iQJFBAEBCAAvFiEExK5dU0agAd9ukstGktefu6ufPjcFAmIaGAwRHHJ0ckBrYWxh eWFhbi54eXoACgkQktefu6ufPjfDZw//TjsfpXwLKIqjNMudxGkCsZqCp8u7Nrtv JHrw0FHlVeg+tbmXZIFyb3YLA9TYatR+7im2LLeKNvlzsrNxMvmt+TNvHoR6pqOI rS7Ubr528RNzUQ5CCMGdi6pUrLVUn8Oxpxz6vYrNUE76pVLya4cywVzblU04QJ1Q kq2WgW3Qo9LNqoX+UsPM6ZnBY1kHYhQvCSK+MiKxPrzuTvlcQLbDul/ioCAwPIn6 u6fKAxUP9ODMgu6py0kqHjNgQPPQ/LxiL0g/PXE6iXgAiaVDggqIZlhrtU58vTC3 NSLs08NFjujWCAKHQcocSz3JdSYlQ0ZlI0wzVbxmK1B3KF+tRSlTVenK9OMvgi4I wqUvfSlDwFexjGwUrO2FE54ZfFJTvmFd2SdQzg67o3i/bp5tqWAjUYPc0T8Z7CZp Am+8rgKokETU2iQr4fjgCdbNFEkWoIBsChgm+RY3VpG0UbNFwYWuyL/BZJxHh61q lViD0Buh8TSvufodgH2PlpZuac9XzVdMhmmjTct+rF+YWmGFy/2
  • From Ramces Tampo-og Red@21:1/5 to tastytea on Sat Feb 26 13:20:02 2022
    tastytea <gentoo@tastytea.de> writes:
    On 2022-02-26 05:07-0600 Dale <rdalek1967@gmail.com> wrote:

    Ramces Tampo-og Red wrote:
    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if
    what I'm thinking is possible or if I'm just being stupid. But
    either way, I was wondering if it is possible to export a list of
    all installed software in emerge and use that to recreate on
    another gentoo install.

    I have a bunch of PCs that are all similarly specced and I
    wanted to create a minimal install "template" for all of them. If
    not, would it be possible to pipe-in to emerge from stdin an output
    of all of the package names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd
    appreciate any guidance in the matter.

    Cheers!



    There is a file that contains all the packages you have installed.  It
    is located here:

    /var/lib/portage/world

    One could copy that file to another system and do a emerge @world to
    install the same list of packages.  Depending on what all you have
    installed, it could confuse emerge and not be doable.  In the past, I
    had a copy of the file and I emerged them a few at a time.  It's worth
    trying by just coping the file tho.  It just might work. 

    It is safer to copy the world file to /etc/portage/sets/¹ and then
    emerge the set. This way portage won't think that the packages are
    already installed. So you could copy it to
    /etc/portage/sets/minimal-install and install it with emerge -a @minimal-install.

    Kind regards, tastytea

    ¹ <https://wiki.gentoo.org/wiki//etc/portage/sets>


    That's clever. I'll read up on that, thanks!

    --
    . * +
    + Ang kalayaan ay dili gihatag, ini'y giabot.
    * + {gopher,gemini}://kalayaan.xyz *
    . C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 .

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

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

    iQJFBAEBCAAvFiEExK5dU0agAd9ukstGktefu6ufPjcFAmIaGhcRHHJ0ckBrYWxh eWFhbi54eXoACgkQktefu6ufPjfV/BAAqI8Z8FPwGmBLBBPzSASwEbqUlkgL/XRN ac2YaCY5jnSHgkuYYya0FX66kNXYwN1mniBDrg7hUBeycvJFS2iqDSmBqwQET4hH 6gwa8lYmmq0uObEugU5HvAa4W2/TP9wd/uYppFdlhCqu7EsWama4B2Akhp2iSlp/ PkqnRhNWz2tNKpCXhi2odQnW8GziuFIeIqfuiiIGXRSBIGJaOutdjjDG59l3ud/W Mq2Bp7flSv0Fn8tk5GSOQip2MmYXcjobQbSV9v3JyC9wvzbCAyQZ67p3zHq5+6lD tXhXDGCgQANSn3Tu5OieiOfzc0xGPjm3ALIXVwxbA3H1Kb8PAC1SQD9t9p8e4Fze FoYnAy3N2DEfPbFNXN+GDwOiV290T3ukeKYUHk3mqwV4+CrnbWm6190K3IbgQ4HB fJS/Axk6+nY/38gZqiQxhd0QEkX+ky8yogEQwkr5TRU9gd6Gis4Ck2Br4XEt6qZj 4mzq5gFGPGrdgaOFm2Uk+mkbKKH1TMbL3VCh139M0vOzN9yVtEw
  • From Michael@21:1/5 to All on Sat Feb 26 12:10:49 2022
    On Saturday, 26 February 2022 12:07:40 GMT Ramces Tampo-og Red wrote:
    spareproject776 <spareproject776@gmail.com> writes:
    On Sat, Feb 26, 2022 at 06:47:12PM +0800, Ramces Tampo-og Red wrote:
    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if what I'm >> thinking is possible or if I'm just being stupid. But either way, I was >> wondering if it is possible to export a list of all installed software >> in emerge and use that to recreate on another gentoo install.

    I have a bunch of PCs that are all similarly specced and I wanted to >> create a minimal install "template" for all of them. If not, would it be >> possible to pipe-in to emerge from stdin an output of all of the package >> names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd appreciate any >> guidance in the matter.

    Cheers!

    emerge -avbk $(tr '\n' ' ' < /var/lib/portage/world)

    If your doing more than one box binhost / binpkg has a far higher return for alot more effort upfront provided you can live with -mtune=generic.

    Thanks! I will check this out.

    This is the page which explains how to build binary packages on one host and then install them on other PCs, without having to re-complile/rebuild them
    from source:

    https://wiki.gentoo.org/wiki/Binary_package_guide

    It saves a lot of time, especially if you want to update slower machines. -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmIaGMkACgkQseqq9sKV ZxkxWRAAxSeD6SJ2MQ3M997akmt7kp4Kqw4IobjgLk0Whcrvmik/w4ziSw53VczX kMK9IgSpKvLel9VwfFRZywoQjYgpeoBVkZGZcop+Qe+BkMyKnDSaKqgYolscArdn oqX/gkjNGk0RpLaK3/51fS6ZqeS6ZEjlBCzxBZ5vVKKlk0FAbW05sBsOUHnO/fGR rrRY9W63+t/Pr8Mfbf4OG2h93WHBRJ6bZonErBow4b5YgWWAr/b3btVty6/FNumE MN4DhedyD6IBHLGesGq2APnkV8UQGzZkLfiLom/KjAADIN60CXkI32599bL+IKs2 7Jsfo0VD0GtMLkX3IEtMa1lQRLlmNgM38uFqhCojDC3ucc9F/k107wC9LvUmUJYS nX4L4W8O5qjPIFT9ipGPLdlWfqIOqCfCIxGYyrO22OpO+kGYEyZv623Bkxj+J9ly 0ozTw832PKv+BmGQ/85sUBCT7orHHxGuDoLYRgCt9Rdq3G2Bt/f+VdDZHwfpU8OZ nP04JLuDYsxVM/6H/Cd/2Q7axPsFQM9jOxITWRazANdVQh2LlnQhJLlJlqgxoGnv fzzUe3DM3n4znWMzwdC72w6zvRuajCg+XU2w8Jscp/Mmsf+qVG8kNmLKXBGC0Var k3VAyldbqcNjGkG/HXXOaF53SrTn3f0+zFh3wS/TJdSnwiQTIB8=
    =mC+N
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ramces Tampo-og Red@21:1/5 to Dale on Sat Feb 26 13:20:02 2022
    Dale <rdalek1967@gmail.com> writes:
    Ramces Tampo-og Red wrote:
    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if what I'm
    thinking is possible or if I'm just being stupid. But either way, I was
    wondering if it is possible to export a list of all installed software
    in emerge and use that to recreate on another gentoo install.

    I have a bunch of PCs that are all similarly specced and I wanted to
    create a minimal install "template" for all of them. If not, would it be
    possible to pipe-in to emerge from stdin an output of all of the package
    names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd appreciate any
    guidance in the matter.

    Cheers!


    There is a file that contains all the packages you have installed.  It
    is located here:

    /var/lib/portage/world

    One could copy that file to another system and do a emerge @world to
    install the same list of packages.  Depending on what all you have installed, it could confuse emerge and not be doable.  In the past, I
    had a copy of the file and I emerged them a few at a time.  It's worth trying by just coping the file tho.  It just might work. 


    Thanks, I will look into that.

    Since you mention being new to Gentoo, don't forget the --oneshot or -1 option when emerging things that should not be in the world file. 
    Libraries are one thing that should rarely if ever be in that file. 
    Once you get your install done and rarely install new packages, you can
    add that to the defaults in make.conf.  When I first started using
    Gentoo, I was bad to forget the -1 option and my world file was a mess. 
    It can lead to all sorts of problems later on.  The only entries in the world file should be packages you install and use directly.  It's rare
    that anything else should be there. 


    Wait. Does this mean doing an emerge --ask foo-libs/lib or do you mean
    the stuff that were pulled alongside packages? Since I do think that the packages that I've installed certainly pulled libraries too.

    Happy Gentooing. 

    Dale

    :-)  :-) 


    Cheers, you too!

    --
    . * +
    + Ang kalayaan ay dili gihatag, ini'y giabot.
    * + {gopher,gemini}://kalayaan.xyz *
    . C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Dale on Sat Feb 26 14:10:02 2022
    On 26/02/2022 11:07, Dale wrote:
    Ramces Tampo-og Red wrote:
    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if what I'm
    thinking is possible or if I'm just being stupid. But either way, I was
    wondering if it is possible to export a list of all installed software
    in emerge and use that to recreate on another gentoo install.

    I have a bunch of PCs that are all similarly specced and I wanted to
    create a minimal install "template" for all of them. If not, would it be
    possible to pipe-in to emerge from stdin an output of all of the package
    names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd appreciate any
    guidance in the matter.

    Cheers!


    There is a file that contains all the packages you have installed.  It
    is located here:

    /var/lib/portage/world

    One could copy that file to another system and do a emerge @world to
    install the same list of packages.  Depending on what all you have installed, it could confuse emerge and not be doable.  In the past, I
    had a copy of the file and I emerged them a few at a time.  It's worth trying by just coping the file tho.  It just might work.

    Someone a while ago gave me a tip along the lines of

    emerge < /var/lib/portage/world

    I was building a new system and they said this was a good way of getting
    the new system to have the same packages as the old one. Mind you, I
    think I'd now rather just print off @world and be choosy in what I
    re-emerge.

    Oh - and for quite a while I used the -b -k flags a lot, mostly emerging
    on the slower system actually then installing the binary on the fast
    one. Sounds odd, but the faster, newer system had a habit of crashing
    during an emerge ... Both systems now gone to the Computer Centre in the
    Sky :-)

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ramces Tampo-og Red@21:1/5 to Michael on Sat Feb 26 14:30:01 2022
    Michael <confabulate@kintzios.com> writes:

    On Saturday, 26 February 2022 12:07:40 GMT Ramces Tampo-og Red wrote:
    spareproject776 <spareproject776@gmail.com> writes:
    On Sat, Feb 26, 2022 at 06:47:12PM +0800, Ramces Tampo-og Red wrote:
    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if what I'm >> >> thinking is possible or if I'm just being stupid. But either way, I was >> >> wondering if it is possible to export a list of all installed software >> >> in emerge and use that to recreate on another gentoo install.

    I have a bunch of PCs that are all similarly specced and I wanted to >> >> create a minimal install "template" for all of them. If not, would it be >> >> possible to pipe-in to emerge from stdin an output of all of the package >> >> names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd appreciate any >> >> guidance in the matter.

    Cheers!

    emerge -avbk $(tr '\n' ' ' < /var/lib/portage/world)

    If your doing more than one box binhost / binpkg has a far higher return >> > for alot more effort upfront provided you can live with -mtune=generic.

    Thanks! I will check this out.

    This is the page which explains how to build binary packages on one host and then install them on other PCs, without having to re-complile/rebuild them from source:

    https://wiki.gentoo.org/wiki/Binary_package_guide

    It saves a lot of time, especially if you want to update slower machines.

    Thanks! I've been thinking of doing something like this too or probably
    distcc. But yeah, I'll check this out.

    --
    . * +
    + Ang kalayaan ay dili gihatag, ini'y giabot.
    * + {gopher,gemini}://kalayaan.xyz *
    . C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 .

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

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

    iQJFBAEBCAAvFiEExK5dU0agAd9ukstGktefu6ufPjcFAmIaKQ0RHHJ0ckBrYWxh eWFhbi54eXoACgkQktefu6ufPjduWA/+OgJDeCqFlXnxJE/jiU8GOFyVjSU7ddpE 8lmVIKd9Ct3uNHYzMAxSW5bUiSEbaI1Z/E8278eujcdPNEWZZBskdawWYF+M5xS8 bP8YWzDYDKxC0/MBT1NAku7QThWaWAmdAMHvzO3nZQZuu2cxqyDbA9+9+ILWG1yu Nvr5bAs1NM7ycTKlH+kw33gPnCQAjUac+4mMf0cYAxrdehk7sOrSQc/QanXYxOGE 7KxwzSzFqwCKKQB/wHz9vIdq2aDoh1Iw9yRz7r1pj/gR7IRcqF0RJt2Of5GxfwOg wUBNiu0qHjeoZLiWTydW3g/zonm/kiiPW4XyfwOS41ctr7m8/o5s3N6W+4dxC4HZ fxtGYZTJejQ++watVMOQr10Sf3ufjw+oAqBkzqpIr7CLTPJAU96wzTUTkcLAz2vA 4VS0MCb7HHrMNnoAsmTJdj95enc2KDxG6Hw5iwHLupNj+x3IUywO6YvlNruH6CBh w6Fs+LneC2p3tqmBPVGkyJXXapg07rNNA1S2wzFJX/gKp94H88r
  • From Wols Lists@21:1/5 to Ramces Tampo-og Red on Sat Feb 26 15:20:01 2022
    On 26/02/2022 13:20, Ramces Tampo-og Red wrote:
    This is the page which explains how to build binary packages on one host and >> then install them on other PCs, without having to re-complile/rebuild them >> from source:

    https://wiki.gentoo.org/wiki/Binary_package_guide

    It saves a lot of time, especially if you want to update slower machines.
    Thanks! I've been thinking of doing something like this too or probably distcc. But yeah, I'll check this out.

    Ummm ...

    I notice it requires portage 3.0.31.

    My system (updated last week) is on 3.0.30. So it's VERY new, I presume ...

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tastytea@21:1/5 to antlists@youngman.org.uk on Sat Feb 26 15:50:01 2022
    On 2022-02-26 14:12+0000 Wols Lists <antlists@youngman.org.uk> wrote:

    On 26/02/2022 13:20, Ramces Tampo-og Red wrote:
    This is the page which explains how to build binary packages on
    one host and then install them on other PCs, without having to
    re-complile/rebuild them from source:

    https://wiki.gentoo.org/wiki/Binary_package_guide

    It saves a lot of time, especially if you want to update slower
    machines.
    Thanks! I've been thinking of doing something like this too or
    probably distcc. But yeah, I'll check this out.

    Ummm ...

    I notice it requires portage 3.0.31.

    My system (updated last week) is on 3.0.30. So it's VERY new, I
    presume ...

    3.0.31 is only required for the new format (GPKG). Binary packages are supported since at least 2011 (the first version of the linked article
    is from 2011-10-12).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ramces Tampo-og Red@21:1/5 to Wols Lists on Sat Feb 26 15:30:01 2022
    Wols Lists <antlists@youngman.org.uk> writes:
    On 26/02/2022 11:07, Dale wrote:
    Ramces Tampo-og Red wrote:
    Hello list,

    I'm a sort-of newbie gentoo user and I just wanted to ask if what I'm >>> thinking is possible or if I'm just being stupid. But either way, I was >>> wondering if it is possible to export a list of all installed software >>> in emerge and use that to recreate on another gentoo install.

    I have a bunch of PCs that are all similarly specced and I wanted to >>> create a minimal install "template" for all of them. If not, would it be >>> possible to pipe-in to emerge from stdin an output of all of the package >>> names that I wanted it to emerge?

    I'm really sorry if this might be a stupid question. I'd appreciate any >>> guidance in the matter.

    Cheers!


    There is a file that contains all the packages you have installed.  It
    is located here:

    /var/lib/portage/world

    One could copy that file to another system and do a emerge @world to
    install the same list of packages.  Depending on what all you have
    installed, it could confuse emerge and not be doable.  In the past, I
    had a copy of the file and I emerged them a few at a time.  It's worth
    trying by just coping the file tho.  It just might work.

    Someone a while ago gave me a tip along the lines of

    emerge < /var/lib/portage/world

    I was building a new system and they said this was a good way of getting
    the new system to have the same packages as the old one. Mind you, I
    think I'd now rather just print off @world and be choosy in what I re-emerge.


    After reading the responses in the thread, this appears to be one way to
    do it. Though I think adding it to a set could be a cleaner way? I
    haven't tried all of the suggestions yet.

    Oh - and for quite a while I used the -b -k flags a lot, mostly emerging
    on the slower system actually then installing the binary on the fast
    one. Sounds odd, but the faster, newer system had a habit of crashing
    during an emerge ... Both systems now gone to the Computer Centre in the
    Sky :-)


    That is certainly odd. You would assume that the faster system would be
    the one compiling stuff for the slower one. I've been thinking of buying
    a couple of old desktops for the sole purpose of being distcc slaves but
    I don't know how much that would improve the compile times.

    Cheers,
    Wol


    Cheers!

    --
    . * +
    + Ang kalayaan ay dili gihatag, ini'y giabot.
    * + {gopher,gemini}://kalayaan.xyz *
    . C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 .

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

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

    iQJFBAEBCAAvFiEExK5dU0agAd9ukstGktefu6ufPjcFAmIaNuMRHHJ0ckBrYWxh eWFhbi54eXoACgkQktefu6ufPjdpLxAAioy/utJ6mseJetshQQxxBwD9N9lwXLKg Wq8e0A7zbzlT100b4KdwOT0d5zXtVZ1TkEfiUgDs5FJIZYNWHZMocNmYvliE+38c iAwDjQv/X50FUjNT/+Lqd00TvTZOzC2Y/rSN/cGasaQmJ3dLZy4pgJo9JbgaPGYe 1dHlPZugSkhFuuLyZ6oYGmvjT29FkhBawslk3IZHEzjylH0LMMhniaA7M37Gtwzr 2JVfJV6tq+9+Dgf4jWBIXyCitsCJuhtiX0MAPnoTTqQuB4HO2PH5/AwyLtA8L5CY D7huBHp3L5FNuCRzxehHpYsl/KGuu67Nc3oQxOprN8FQS5Dcb9Fmq/H78SZgGnIb t1Ygzs7Mu3Zvrya8tMo10ULVSGeGxCcAQfRc7GeSNu7O4xlL4OCOuRsv2Kovoprh iPdXyq1Ng4v2Vaa1ncSx/dnUqRCFOUNUrKBznbY4larWwvju67eut7SDnrK9I4m0 Y15RARzvocM33xCaXIEWucMRmTSM41jyqBiuMfX5Ojt+2pEiOtJ
  • From Peter Humphrey@21:1/5 to All on Sat Feb 26 17:50:01 2022
    On Saturday, 26 February 2022 14:19:15 GMT Ramces Tampo-og Red wrote:

    8

    After reading the responses in the thread, this appears to be one way to
    do it. Though I think adding it to a set could be a cleaner way? I
    haven't tried all of the suggestions yet.

    In passing, I thought I'd mention that I keep most of my packages in sets: core, base, xorg, plasma, apps and utils. My world file only gets used for temporary or experimental things: it has one entry at the moment.

    I did that because of the frequency of reinstalling the system during the
    worst of plasma's instability.

    Oh - and for quite a while I used the -b -k flags a lot, mostly emerging
    on the slower system actually then installing the binary on the fast
    one. Sounds odd, but the faster, newer system had a habit of crashing during an emerge ... Both systems now gone to the Computer Centre in the Sky :-)

    That is certainly odd. You would assume that the faster system would be
    the one compiling stuff for the slower one. I've been thinking of buying
    a couple of old desktops for the sole purpose of being distcc slaves but
    I don't know how much that would improve the compile times.

    Counter-intuitive, to say the least, and certainly not the way I do it.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Sat Feb 26 17:40:01 2022
    On Saturday, 26 February 2022 12:10:49 GMT Michael wrote:

    This is the page which explains how to build binary packages on one host and then install them on other PCs, without having to re-complile/rebuild them from source:

    https://wiki.gentoo.org/wiki/Binary_package_guide

    It saves a lot of time, especially if you want to update slower machines.

    I've been using this method, or something very like it, for 10 years or more. My workstation does all the compiling of packages, with the client box's portage directory exported to it over NFS. Then the client has only to unzip the package and install the files. Well, of course it has to run all its dependency calculations first, but provided that I keep the systems in step that's all it has to do.

    Feel free to ask about any wrinkles you'd like help with.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Ramces Tampo-og Red on Sat Feb 26 18:40:01 2022
    Ramces Tampo-og Red wrote:
    Dale <rdalek1967@gmail.com> writes:

    Since you mention being new to Gentoo, don't forget the --oneshot or -1
    option when emerging things that should not be in the world file. 
    Libraries are one thing that should rarely if ever be in that file. 
    Once you get your install done and rarely install new packages, you can
    add that to the defaults in make.conf.  When I first started using
    Gentoo, I was bad to forget the -1 option and my world file was a mess. 
    It can lead to all sorts of problems later on.  The only entries in the
    world file should be packages you install and use directly.  It's rare
    that anything else should be there. 

    Wait. Does this mean doing an emerge --ask foo-libs/lib or do you mean
    the stuff that were pulled alongside packages? Since I do think that the packages that I've installed certainly pulled libraries too.

    Happy Gentooing. 

    Dale

    :-)  :-) 

    Cheers, you too!



    Let's say you run the command emerge firefox because you plan to use it
    as a web browser.  It is very likely that it will pull in other packages
    that it needs to work.  But, emerge only records firefox in the world
    file as that is what you asked for.  When firefox updates later, emerge
    will find the update and if needed, pull in updates to packages it
    depends on that are required.  It may have several, it may not but none
    of those should be in world.  Only things you emerge should go in the
    world file.

    The way the world file gets things in it that shouldn't be there is when
    you run into a issue updating.  Let's say you sync and emerge can't find
    a clear path to update.  What most of us do is update in smaller parts
    one or two packages at a time.  Sometimes you may have to unmerge a
    package and emerge something else to help emerge along.  As you are
    doing that, you should use -1 for packages that you didn't install
    yourself such as Firefox.  One package that comes to mind is harfbuzz.  There's another that goes with that but I forget the name.  If you run
    into that, those are packages other things depend on and they shouldn't
    be in the world file.  So, while getting around that, use the -1
    option.  In short, things like Firefox, libreoffice, digikam, okular and
    such are what belongs in world providing your aren't using a meta
    package that pulls them in.  Things those packages depend on should be
    managed by emerge itself during normal updates. 

    Some one else may can explain that better.  Sometimes a different view
    makes things clearer. 

    I just wish I knew some of that when I first started.  I started running
    into update problems and someone pointed out I should check my world
    file.  It was full of stuff that shouldn't be there and some even had
    versions which prevented updates.  It took me a while but I got it
    cleaned up and things worked fine.  That's when I added -1 to
    make.conf.  I've had a clean world file ever since. 

    Tasytea has a good idea on using sets if you prefer that way.  I rarely
    use sets but a lot of people love them.  It does have benefits but it
    just isn't for me. 

    Hope that helps.

    Dale

    :-)  :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ramces Tampo-og Red@21:1/5 to Dale on Sat Feb 26 23:20:01 2022
    Dale <rdalek1967@gmail.com> writes:
    Ramces Tampo-og Red wrote:
    Dale <rdalek1967@gmail.com> writes:

    Since you mention being new to Gentoo, don't forget the --oneshot or -1
    option when emerging things that should not be in the world file. 
    Libraries are one thing that should rarely if ever be in that file. 
    Once you get your install done and rarely install new packages, you can
    add that to the defaults in make.conf.  When I first started using
    Gentoo, I was bad to forget the -1 option and my world file was a mess.  >>> It can lead to all sorts of problems later on.  The only entries in the >>> world file should be packages you install and use directly.  It's rare
    that anything else should be there. 

    Wait. Does this mean doing an emerge --ask foo-libs/lib or do you mean
    the stuff that were pulled alongside packages? Since I do think that the
    packages that I've installed certainly pulled libraries too.

    Happy Gentooing. 

    Dale

    :-)  :-) 

    Cheers, you too!



    Let's say you run the command emerge firefox because you plan to use it
    as a web browser.  It is very likely that it will pull in other packages that it needs to work.  But, emerge only records firefox in the world
    file as that is what you asked for.  When firefox updates later, emerge
    will find the update and if needed, pull in updates to packages it
    depends on that are required.  It may have several, it may not but none
    of those should be in world.  Only things you emerge should go in the
    world file.

    The way the world file gets things in it that shouldn't be there is when
    you run into a issue updating.  Let's say you sync and emerge can't find
    a clear path to update.  What most of us do is update in smaller parts
    one or two packages at a time.  Sometimes you may have to unmerge a
    package and emerge something else to help emerge along.  As you are
    doing that, you should use -1 for packages that you didn't install
    yourself such as Firefox.  One package that comes to mind is harfbuzz.  There's another that goes with that but I forget the name.  If you run
    into that, those are packages other things depend on and they shouldn't
    be in the world file.  So, while getting around that, use the -1
    option.  In short, things like Firefox, libreoffice, digikam, okular and such are what belongs in world providing your aren't using a meta
    package that pulls them in.  Things those packages depend on should be managed by emerge itself during normal updates. 

    Some one else may can explain that better.  Sometimes a different view
    makes things clearer. 

    I just wish I knew some of that when I first started.  I started running into update problems and someone pointed out I should check my world
    file.  It was full of stuff that shouldn't be there and some even had versions which prevented updates.  It took me a while but I got it
    cleaned up and things worked fine.  That's when I added -1 to
    make.conf.  I've had a clean world file ever since. 


    I see. I will be wary of my world file from now on. I'm glad that you mentioned this now since I don't have that much packages installed yet
    and I haven't played around with the system enough that there's a chance
    that it might break. Knowing this is really handy since it might not be apparent when things that shouldn't be added in the world file are being
    added to the world file.

    Tasytea has a good idea on using sets if you prefer that way.  I rarely
    use sets but a lot of people love them.  It does have benefits but it
    just isn't for me. 


    I am actually very interested with sets. I haven't read enough about it though. But I think I will try it out, it might be a neater way of dealing with packages.

    Hope that helps.

    Dale

    :-)  :-)


    It certainly did!

    Cheers :-)

    --
    . * +
    + Ang kalayaan ay dili gihatag, ini'y giabot.
    * + {gopher,gemini}://kalayaan.xyz *
    . C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 .

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

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

    iQJFBAEBCAAvFiEExK5dU0agAd9ukstGktefu6ufPjcFAmIapmIRHHJ0ckBrYWxh eWFhbi54eXoACgkQktefu6ufPjdm+A//T5o1xLkxXoOYTEE3bj5MgpYryAKS+b70 9Rdc3CRXBag2zCTYBwQgRpO5qT+ES2TS26M5LaRCuwLGBgnITzc3AcNEfUfw5vEZ +F9kKpnUv79Vgmw3R0MDyPS2aZ3BdkatCrS9m83tHCKWNl1eUQOaW7g/n29/QdcQ lMNhrETI/tQhfa/X/inrxLaayBbXcmWQTx/BPmiut5FhrQTfrJljKxMuh1DXpFlp StUjSbdd7x8BngrZn6Xi5sfgT7O3CjspHsnyA8IYNZgUyDx2+y55tvb8qFFiD/+d GXrWDEwt0IsNlpbxFaWJXiYUrsjaLSUe+7seYz6GokbHav5wXC8iLWwUK4o7ssDN XneLlYzOFlNQelzup8/Mp4i9uqDO56VJvuwfasqI2otmfnq5LTwo1idn3vP6cYrj ddSFUjSABPpiBtrgcZ4f4UUEWhApPViiTNJhjsVR9lWwyU63o2bS/8/9zGQd8TsC RfdG5GldLSgKtoFiMqr2sffSVKRyaSGkjLtG8oDqGuvRNASsqtx
  • From Dale@21:1/5 to Ramces Tampo-og Red on Sat Feb 26 23:40:01 2022
    Ramces Tampo-og Red wrote:
    Dale <rdalek1967@gmail.com> writes:

    Tasytea has a good idea on using sets if you prefer that way.  I rarely
    use sets but a lot of people love them.  It does have benefits but it
    just isn't for me. 

    I am actually very interested with sets. I haven't read enough about it though. But I think I will try it out, it might be a neater way of dealing with packages.

    Hope that helps.

    Dale

    :-)  :-)

    It certainly did!

    Cheers :-)


    If sets were available when I started and I used from the beginning, I
    may like using them more.  I'm just so used to doing it the way I've
    done it for ages that I don't use them.  I did at one point when, I
    think it was KDE anyway, was making some major changes and I updated
    everything but KDE and only updated KDE when I felt there was a more
    stable release.  May have been the KDE3 to KDE4 mess.  If you start
    using it now, you may fall in love with like a lot of others have. 

    On the --oneshot option, I get all my stuff installed and before I do my
    first update, a couple weeks later, I add the option to make.conf.  Then
    if I want to install something that I use, I add --select y so it adds
    to the world file.  As a starting point, this is my emerge defaults from make.conf:

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

    That generally gives me a stable system even tho I run unstable on a lot
    of packages.  You can add or remove as you see fit.  May make a good
    starting point is all.  You may also want to look into the following
    options in make.conf if you haven't already:

    MAKEOPTS
    FEATURES
    PORTAGE_NICENESS
    PORTAGE_IONICE_COMMAND

    All those are good to set but it depends on your system what to set them
    at.  Generally, CPU abilities and memory determine that. 

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ramces Tampo-og Red@21:1/5 to Peter Humphrey on Sat Feb 26 23:50:01 2022
    Peter Humphrey <peter@prh.myzen.co.uk> writes:

    On Saturday, 26 February 2022 14:19:15 GMT Ramces Tampo-og Red wrote:

    8

    After reading the responses in the thread, this appears to be one way to
    do it. Though I think adding it to a set could be a cleaner way? I
    haven't tried all of the suggestions yet.

    In passing, I thought I'd mention that I keep most of my packages in sets: core, base, xorg, plasma, apps and utils. My world file only gets used for temporary or experimental things: it has one entry at the moment.


    This is very interesting. I've read a bit about sets a while ago and I'd
    say I should really try it out.

    I did that because of the frequency of reinstalling the system during the worst of plasma's instability.

    Oh - and for quite a while I used the -b -k flags a lot, mostly emerging >> > on the slower system actually then installing the binary on the fast
    one. Sounds odd, but the faster, newer system had a habit of crashing
    during an emerge ... Both systems now gone to the Computer Centre in the >> > Sky :-)

    That is certainly odd. You would assume that the faster system would be
    the one compiling stuff for the slower one. I've been thinking of buying
    a couple of old desktops for the sole purpose of being distcc slaves but
    I don't know how much that would improve the compile times.

    Counter-intuitive, to say the least, and certainly not the way I do it.


    Yeah, I was just thinking about that since building a powerful, new
    computer around my area is prohibitively expensive. But getting old,
    prebuilt computers is ludicrously cheap. I figured that I can get a few
    of them for $50-75 and just plug them to an ethernet switch to do the
    compiling for me.

    --
    Regards,
    Peter.





    --
    . * +
    + Ang kalayaan ay dili gihatag, ini'y giabot.
    * + {gopher,gemini}://kalayaan.xyz *
    . C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 .

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

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

    iQJFBAEBCAAvFiEExK5dU0agAd9ukstGktefu6ufPjcFAmIarhgRHHJ0ckBrYWxh eWFhbi54eXoACgkQktefu6ufPje/mg//a+kcAvRLCZkzgtv4FuM9vQ/ogrnnN9ya tyk7f669ifUxcylq0DoJkFyvtmMZ2bc0MXtXSwDRiZJBexZBVzn16JuZyoP2M92c LHvvaflCa8t/zrxupwdV6zWYGNDYfBUvMeTshi6TJ1S/iwYhg8Af1m/KF6LpPYTA kJC/SMiRyjfWkRFdYqbtawRXNVJYdG6AFTpO3hQ+x6Mqx3fmiXdo1D1AS9fn2e9Q J2uNwiQrehNoHTmF9ahvSCwfIONd86CtnbnCCLnx6scyyi/eIThFqdNA2t8fWLrb EkyeZBGGIh6LKwu6fCHo0XlRYbgwpPvkF0oswwIHG+vH032EzzFAG6uwEFN3d8AL X6x/F9eaMXSI9cyyfVl2CKnHZ3n05nZmSNJolCzSZx8VkwktEJBJw5mcUEXClnyP cfl3/9f5TzO8vNfTvc7/yD7sbHEwwV232xWAn9yionL9xlRZ7jP6RMTK2ctxWh3z edJhcTKDgpyQr7Hr42kxDWPmq5JlpTDuwDbEMZyaP3ZuBQ6EO2Q
  • From Wol@21:1/5 to Ramces Tampo-og Red on Sun Feb 27 01:40:01 2022
    On 26/02/2022 22:14, Ramces Tampo-og Red wrote:
    I see. I will be wary of my world file from now on. I'm glad that you mentioned this now since I don't have that much packages installed yet
    and I haven't played around with the system enough that there's a chance
    that it might break. Knowing this is really handy since it might not be apparent when things that shouldn't be added in the world file are being added to the world file.

    If you think you might have been guilty of this, just edit your world
    file with vim or whatever, delete everything you don't recognise or you recognise as having been done for troubleshooting, and save it. It won't
    make any difference to your running system. Just be careful not to
    delete by accident stuff you really did want (although you could always re-emerge it).

    Then try an "emerge --depclean --pretend" and see what would be removed.
    Last time I did that, I then manually -C'd each package in turn - not
    least because I need to update my kernel an d depclean buggers that up
    if you're not careful ... always do an emerge, build new kernel,
    depclean quickly, in that order, with no sync in the middle! Otherwise
    you might end up cursing ...

    The other thing is, (and it's probably already been mentioned,) is make
    sure you know how to use package.use and package.accept. Don't add
    things like ~amd to our global settings, just add them freely for
    VERSIONED stuff in those directories. Then as updates come along, all
    your changes get left behind as "no longer necessary".

    I learnt this the hard way, I enabled ~amd for a package that had no
    stable versions, that required a new ~amd version of glibc, that then
    blocked any attempt to update my system! So there was a trail of
    messages on this list as I worked out how to fix the mess :-)

    By putting all this stuff in package.accept and package.use, I can keep
    track, and if the file is old it's probably out of date and ripe for
    deletion. I can just move it out the way, try an update, and if it blows
    up look what's in the file I've moved to see what I need to keep and
    what cruft can be deleted.

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ramces Tampo-og Red@21:1/5 to Wol on Sun Feb 27 03:20:01 2022
    Wol <antlists@youngman.org.uk> writes:
    On 26/02/2022 22:14, Ramces Tampo-og Red wrote:
    I see. I will be wary of my world file from now on. I'm glad that you
    mentioned this now since I don't have that much packages installed yet
    and I haven't played around with the system enough that there's a chance
    that it might break. Knowing this is really handy since it might not be
    apparent when things that shouldn't be added in the world file are being
    added to the world file.

    If you think you might have been guilty of this, just edit your world
    file with vim or whatever, delete everything you don't recognise or you recognise as having been done for troubleshooting, and save it. It won't make any difference to your running system. Just be careful not to
    delete by accident stuff you really did want (although you could always re-emerge it).


    Coming from a binary-based distribution, this stuff is just pure magic
    to me. I feel like I'm just now learning how to actually manage my system. This made me think, would it be possible to trim my world file
    and sort them into sets? I'm digging the possibility of being able to
    only update groups of packages that I want to.

    I've been struggling with updates lately since I've emerged qutebrowser
    and updates to qtwebengine is brutal to my X200. I haven't set-up distcc
    yet and the hard drive in this poor thing isn't enough to cover for a decently sized ccache.

    So I'm wondering whether it would be feasible to just move some of the contents of the world file into sets and just manage the packages that
    way.

    Then try an "emerge --depclean --pretend" and see what would be removed. Last time I did that, I then manually -C'd each package in turn - not
    least because I need to update my kernel an d depclean buggers that up
    if you're not careful ... always do an emerge, build new kernel,
    depclean quickly, in that order, with no sync in the middle! Otherwise
    you might end up cursing ...


    Yeah, I can see why that would be a problem if you did a sync in the middle.

    The other thing is, (and it's probably already been mentioned,) is make
    sure you know how to use package.use and package.accept. Don't add
    things like ~amd to our global settings, just add them freely for
    VERSIONED stuff in those directories. Then as updates come along, all
    your changes get left behind as "no longer necessary".

    I learnt this the hard way, I enabled ~amd for a package that had no
    stable versions, that required a new ~amd version of glibc, that then blocked any attempt to update my system! So there was a trail of
    messages on this list as I worked out how to fix the mess :-)

    By putting all this stuff in package.accept and package.use, I can keep track, and if the file is old it's probably out of date and ripe for deletion. I can just move it out the way, try an update, and if it blows
    up look what's in the file I've moved to see what I need to keep and
    what cruft can be deleted.


    Oh man, I did this once! I added ~amd64 as a global variable and everything updated. I didn't realize the folly of what I did until I saw
    that gcc is being rebuilt. I think I've gone a little bit wiser since
    then (hopefully).

    Cheers,
    Wol


    Thank you for the really helpful tips!

    Cheers!

    --
    . * +
    + Ang kalayaan ay dili gihatag, ini'y giabot.
    * + {gopher,gemini}://kalayaan.xyz *
    . C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 .

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

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

    iQJFBAEBCAAvFiEExK5dU0agAd9ukstGktefu6ufPjcFAmIa34sRHHJ0ckBrYWxh eWFhbi54eXoACgkQktefu6ufPjeZjg/+Ivc5t84FUsB3Ulep0bid2Y1TmTlCAfFz aL8hfTM3vFFA1y3dV2yXi9mQWgVh4J8EN7Lxye4N1FbVcyhzBPqsPYp8ytcwA4VQ NzoEtNiS/PmuLiHk/sszFyRAxMnloQKrFyeVyW13LUwoM3CfB/8izpTjXDflGpP4 dto5BfPvhRF3bG7IAIOZhL/UBnpqiT8dJU0X4+qL/5ByJP2B1Dz/UlBLsBdb16Zc IomLJ9w4uWtwhLUwYRuSBVz1+oR53/Xzg7NmNUO4pjdNleeRKnHVvs3LPCijIRLY 6fp6GDPwaZ1suTrqDWKsJX137GRiZcsfqdip1U8d0E1JHx5708u4buaVf1Op85MK pJdKZIOu6Av21Ryt37nnthXIK3qpYBTNIoX0pfatpXLDPRvED88eh5kEQlgwdlK1 YdHPJENHU0f/x/mGHJipgLpva0au0ZMZwijunM69frdubTMrVuz7x23ZfEQ5wcUu W5JAK5nIMScZ7QBvRv7kCl8Mv9qDg20NZu/QjSrx0z18DK0OyBX
  • From Michael@21:1/5 to All on Sun Feb 27 12:36:46 2022
    On Saturday, 26 February 2022 22:47:52 GMT Ramces Tampo-og Red wrote:

    Yeah, I was just thinking about that since building a powerful, new
    computer around my area is prohibitively expensive. But getting old,
    prebuilt computers is ludicrously cheap. I figured that I can get a few
    of them for $50-75 and just plug them to an ethernet switch to do the compiling for me.

    Distributed compiling may not be as useful as you think. Not all phases of a build can be distributed, pre-processing and linking will still take a lot of time, some packages will not compile over distcc and will fail, any gains in compiling time could be eaten away by network losses, etc. On the other hand
    a 'better' PC with more RAM and a faster CPU with more cores could prove transformative in its performance impact, when used as a building server for binary packages to be installed thereafter on slower systems.

    I have found older PCs with limited resources eventually reach an EOL as far
    as their capability to emerge large packages. I have a very old Core 2 Duo Pentium laptop with 4G RAM, which even with MAKEOPTS="-j1" takes forever to build qtwebengine:

    genlop -t dev-qt/qtwebengine

    Fri Feb 4 20:06:46 2022 >>> dev-qt/qtwebengine-5.15.2_p20211216
    merge time: 1 day, 3 hours, 12 minutes and 7 seconds.

    Chromium got so slow over the years, I stopped emerging it long ago.

    Give distcc a go if you have a spare PC to experiment and want to test % improvements with your setup, but personally I wouldn't invest money on it. Instead I'd save up for a faster machine. YMMV.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmIbcF4ACgkQseqq9sKV ZxkYxw/8CoO5QG8Rx5T8RQTUwvuN3J7ixHra2CseBy+l72JYR9wOztZ9mQ8AYgkK YNxlHORDaTCgd5DjRfmlw6+hOSly1mj9HkOj/n6bqd1YmOG8qzdXSqpDzL/Tm199 o/lQ76fHC78QNDDKTf4db+XvyzfGmwhQ32toVBMmohPbBwjahCV1fMuH0EDcNm3N 7cY4u3m4XybXOLm8cpF57p53IXpL7lVnEqCDhYDCBq2xZAlVdu8i+k8nlT4aaTeW uxTMX4JppRvF2jvQSga5MxNCrLYmavtyWVzxDes4i/xk8/bJw4PFSPpv64OHRDLo dhK5WupqVfRTv4HAciYNuOneSKhIrm2ch/038euvpaWM7pOEob9Mqk2zwRgi55rr FQHhL/qSfG3Ag9Xw2ALdaVnnprwpYgM/HisbMyStT8FSK49BOS6TN3xNx+K9Dnrz 7RCib9fBNwKUzJuuI4hZOC1l3QH0etlIe5ITzoqZHHer0al+h/slFMc/oI5Ju/Vw 1gVLKVV4bHBSlyhb32K4l4jxyj5OKpsL6FH/l2RoCY9sWSELu9p9GVm9p1Zha3Sc nGTdVK/U52fGQYB1AFJCbD1ly/5j+dyCVTnMffyibwB778FRC3AnjkfGB7tqKSey jmo65e8ILhEnx5fS9YYIf9aZQYo9pxwpp6I+mZDtfm3TZQgZ0vo=
    =1Jo/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ramces Tampo-og Red@21:1/5 to Michael on Sun Feb 27 14:30:02 2022
    Michael <confabulate@kintzios.com> writes:

    On Saturday, 26 February 2022 22:47:52 GMT Ramces Tampo-og Red wrote:

    Yeah, I was just thinking about that since building a powerful, new
    computer around my area is prohibitively expensive. But getting old,
    prebuilt computers is ludicrously cheap. I figured that I can get a few
    of them for $50-75 and just plug them to an ethernet switch to do the
    compiling for me.

    Distributed compiling may not be as useful as you think. Not all phases of a
    build can be distributed, pre-processing and linking will still take a lot of
    time, some packages will not compile over distcc and will fail, any gains in compiling time could be eaten away by network losses, etc. On the other hand
    a 'better' PC with more RAM and a faster CPU with more cores could prove transformative in its performance impact, when used as a building server for binary packages to be installed thereafter on slower systems.

    I have found older PCs with limited resources eventually reach an EOL as far as their capability to emerge large packages. I have a very old Core 2 Duo Pentium laptop with 4G RAM, which even with MAKEOPTS="-j1" takes forever to build qtwebengine:

    genlop -t dev-qt/qtwebengine

    Fri Feb 4 20:06:46 2022 >>> dev-qt/qtwebengine-5.15.2_p20211216
    merge time: 1 day, 3 hours, 12 minutes and 7 seconds.

    Chromium got so slow over the years, I stopped emerging it long ago.

    Give distcc a go if you have a spare PC to experiment and want to test % improvements with your setup, but personally I wouldn't invest money on it. Instead I'd save up for a faster machine. YMMV.

    That sucks. I'll try it out but I guess there's no way out on building a
    proper rig that can handle the compile jobs.

    Though to be honest, I've been compiling all of my stuff in both my X200
    and T400 laptops and both are Core 2 Duo machines. The only real issue
    that I've had with those is with compiling Qtwebengine which took around
    12-14 hours. Other than that the compile times are negligible enough
    that I don't really notice it that much.

    Either way, thanks for the heads up.

    Cheers!

    --
    |----Give them an inch and they will take a mile.----| |----------------------------------------------------| |---------{gopher,gemini}://kalayaan.xyz-------------|
    |-C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37-|

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

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

    iQJFBAEBCAAvFiEExK5dU0agAd9ukstGktefu6ufPjcFAmIbeucRHHJ0ckBrYWxh eWFhbi54eXoACgkQktefu6ufPjci+A//YL0OyUQ18gCb4GtXB+Ny0HRz4tEOdubf qNWKGX7smIq7Z3uY/wueu8YrVxsbyA1F3bYWLdQ+Q6k9xSF0fraP89TP3dGZ5CbB X1shlfIYi9AnL8BMlJBxNFgNYU9XSg1BQfbreO5kkinFElD+MhoQcppegtM23GfI g87zCIWsej51NghDbxVxSBAavnPPXEhC06djhZBxypMq/GhTlXy69jNhoViBgpu6 oPb4XMHK0Zq2NMRbK2L86kUFzkeVJ09LhPOMfdJ1fsbvKvlE5yE6v56bT30iydRu KlOWhTgA5eHj6jqP7I9SGg3cj9QGsbA10qHHAYIPbsl6KFODbYn/HI0xAuEY45xQ nPoDhv5o8ZJ7N+R+mmUYMJZfrkVvPfCi5D/u4oGGxOPHQWTj4dsHZcMb4LWJZR1F w7WONg98pLDlnKXneuTUoAtEWgIZI+poNvLtN2QSTmES6k5rlsqk++Zqi/8Fn23i H7s122lawTkIOa7oByOAc3CbEpPjv1jy1zOtRl7MWYZeDoXrtxmaju/dk4kVpu1d z8RmgiRIxji4st8Zk9g1oaXtond4d
  • From Peter Humphrey@21:1/5 to All on Mon Feb 28 11:50:01 2022
    On Saturday, 26 February 2022 16:41:55 GMT Peter Humphrey wrote:
    On Saturday, 26 February 2022 14:19:15 GMT Ramces Tampo-og Red wrote:

    8

    After reading the responses in the thread, this appears to be one way to
    do it. Though I think adding it to a set could be a cleaner way? I
    haven't tried all of the suggestions yet.

    In passing, I thought I'd mention that I keep most of my packages in sets: core, base, xorg, plasma, apps and utils. My world file only gets used for temporary or experimental things: it has one entry at the moment.

    It's proved useful in an existing system too this weekend. One box hadn't been updated for 9 months, and my usual update routine stumbled over lots of
    blocks. So:
    emerge -u @core (without D, notice),
    emerge -u @system,
    recompile the kernel,
    emerge -u @world.
    And now emerge -uaDvN @world is running with 190 packages to update.

    Saved a reinstallation.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Peter Humphrey on Mon Feb 28 14:40:01 2022
    On Sat, 26 Feb 2022 16:41:55 +0000, Peter Humphrey wrote:

    After reading the responses in the thread, this appears to be one way
    to do it. Though I think adding it to a set could be a cleaner way? I haven't tried all of the suggestions yet.

    In passing, I thought I'd mention that I keep most of my packages in
    sets: core, base, xorg, plasma, apps and utils. My world file only gets
    used for temporary or experimental things: it has one entry at the
    moment.

    I use a set for temporary installs, saves polluting the word file. From
    time to time I check the set and either remove packages or move them to
    world or another set.


    --
    Neil Bothwick

    Shell to DOS... Shell to DOS... DOS, do you copy? Shell to DOS...

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

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmIc0GwACgkQ92eFu0QS MJgtEhAAkAHf5bGZCoZD5QIF+02tp7Rn1j839dngt5oT/5cjhnk9EhN7f27IaKPs J157CvlNyeBvBsUGM3pd5nxFswrGVf7z9OhTIRM/dDtBL7fvRi7JaKib8nTXvnfu EkdVzeqkLykR1TzUMW8GPNhY5kujzy7stz0nZebjJSEnVR2v76jcvHk7hPk0wDEP L6iNtGcsrHp59ArtjaveBhUx/C03558KrqM/Q15EYYi2BBWLVcco50/NM4vBN1BY w8sPhRTx4/N+dxOsS2SDayhEHf/HSeBv5yrTD0n6vfkS7Qpddzz/yTZxDiYGRgQb T2Ge2J5/RwFHZqCA9UnoTosiNdJNyBP4aIjdcPbqM8w2Cl/a0UNwFrLyjkEJ4y7+ Ie/wdHRGsY6IBZ/xeyOh9g/QyrnI29ccftMnxN5U/ZJ3zbsxKaefL6bN9AJv5186 30W0KEM9vLsn9T3tfUK6D7IdhTPOeT+4SBwWcL/Oa6hV2AO4mbwjxOFCQFEJZCQm n5tvKJRtNVNPZ3iwNGOkZWCxLq9/PZtLppubsu8+uzk0h3TWzPAFVaDEQDrUwIFp CD9Yf5lt2HTQ3hzd3HzxDD+jnzCZQWqzf3BnDIjspcdvMMiJyhRM8rx03Q6cpRb7 yGP06i9t2LjKO+rznZLQOkpawkdHZ2+hUKxUqcK2+rEhUKryu9c=
    =4Alv
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Mon Feb 28 15:30:01 2022
    On Monday, 28 February 2022 13:38:52 GMT Neil Bothwick wrote:
    On Sat, 26 Feb 2022 16:41:55 +0000, Peter Humphrey wrote:
    After reading the responses in the thread, this appears to be one way
    to do it. Though I think adding it to a set could be a cleaner way? I haven't tried all of the suggestions yet.

    In passing, I thought I'd mention that I keep most of my packages in
    sets: core, base, xorg, plasma, apps and utils. My world file only gets used for temporary or experimental things: it has one entry at the
    moment.

    I use a set for temporary installs, saves polluting the word file. From
    time to time I check the set and either remove packages or move them to
    world or another set.

    So this operation is commutable, as well as arithmetic etc. That is to say:
    A=B is the same as B=A.

    Well, sort of...

    --
    Regards,
    Peter.

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