Code: Select all
emerge --ask --emptytree --exclude "sys-devel/gcc sys-devel/binutils sys-libs/glibc dev-build/libtool" @worldCode: Select all
emerge --ask --emptytree --exclude "sys-devel/gcc sys-devel/binutils sys-libs/glibc dev-build/libtool" @worldI did the same today and I had added also/additional to this command:hujuice wrote:For what I understand, following the instructions (https://wiki.gentoo.org/wiki/Project:To ... structions), emerging the @world set can be lightened a bit.Am I correct?Code: Select all
emerge --ask --emptytree --exclude sys-devel/gcc sys-devel/binutils sys-libs/glibc dev-build/libtool @world
Good selection.pietinger wrote:I did the same today and I had added also/additional to this command:
linux-firmware intel-microcode gentoo-sources linux-headers baselayout
because for these no compilation job has to be done (and baselayout leads to many updates of our etc-files).
But you have to quote your exclude list since it contains embedded spaces.hujuice wrote:Code: Select all
emerge --ask --emptytree --exclude sys-devel/gcc sys-devel/binutils sys-libs/glibc dev-build/libtool @world
Yes, I wrote here before doing it.sublogic wrote:you have to quote your exclude list
Ouch.yzg wrote:Estimated update time: 3 days, 4 hours, 14 minutes
The instructions propose:setan wrote:For my ~1500 merges it took under 24 hours.
Why aren't these the official instructions? GCC builds a loong time.
Code: Select all
emerge --ask --emptytree --getbinpkg @world
Use the suggested excludes to avoid not compiling selected packages unnecessarily.yzg wrote:Is there a problem of NOT doing --emptytree emerge and instead -uvDN emerge?
Yes, you can exclude them also ... have a look to this post from @Havin_it: viewtopic-p-8821412.html#8821412tld wrote:Question: Is there any reason to NOT exclude virtual/*? I have to think there's no real compiling there(?).
Thanks! (And thanks to Havin_it). That looks like a great approach. I was actually wondering about those acct-user/group ones too.pietinger wrote:Yes, you can exclude them also ... have a look to this post from @Havin_it: viewtopic-p-8821412.html#8821412tld wrote:Question: Is there any reason to NOT exclude virtual/*? I have to think there's no real compiling there(?).
Code: Select all
https://www.gentoo.org/support/news-items/2024-03-22-new-23-profiles.html
1. Remove CHOST from make.conf
2. Select new profile [46] default/linux/amd64/23.0/split-usr/desktop (stable)
3. There are no binpkgs so proceed as follows:
emerge -1a sys-devel/binutils
emerge -1a --nodeps sys-devel/gcc
emerge -1a sys-libs/glibc
4. Doublecheck CHOST with "emerge --info | grep CHOST"
6. Run "env-update && source /etc/profile"
7. Run "emerge --ask --emptytree @world" as shown below to save electrons:
emerge --ask --emptytree --exclude "$(qlist -IC acct-) dev-build/libtool $(qlist -IC media-fonts/) sys-apps/baselayout sys-devel/binutils sys-devel/gcc sys-firmware/intel-microcode sys-kernel/gentoo-sources sys-kernel/linux-firmware sys-kernel/linux-headers sys-libs/glibc $(qlist -IC -- -bin) $(qlist -IC virtual/)" @world
8. Rebuild and install kernel
9. RebootYou either emerge --resume or start completely over. Or have a list of packages to be rebuilt and pass the remaining ones to portage. Those are the options. There's no option to automatically continue. Portage does not see any reason to rebuild those packages so you can't rely on it detecting the remaining ones.tld wrote:I was wondering in general as to what the options are if something fails etc, in terms of possibly needing to start over completely etc...a bit confused on that.
Tom
Thanks! I think I'm not going to use the --keep-going, and rely on the --resume (and possibly --skipfirst if there's some error I can't otherwise resolve). Thanks again.logrusx wrote:You either emerge --resume or start completely over. Or have a list of packages to be rebuilt and pass the remaining ones to portage.
FWIW, you can replace most of those qlist commands with, e.g., virtual/* and the like in the exclude list.figueroa wrote:Code: Select all
emerge --ask --emptytree --exclude "$(qlist -IC acct-) dev-build/libtool $(qlist -IC media-fonts/) sys-apps/baselayout sys-devel/binutils sys-devel/gcc sys-firmware/intel-microcode sys-kernel/gentoo-sources sys-kernel/linux-firmware sys-kernel/linux-headers sys-libs/glibc $(qlist -IC -- -bin) $(qlist -IC virtual/)" @world
I never recommend "--keep-going" ... because if there is an error it is better to find the reason for it and then correct the error before starting emerge again. If someone is afraid to start "emerge -e" again, then I want point to this brilliant solution from @Massimo B. =>tld wrote:[...] I'm unclear as to whether or not to use the --keep-going, ad what the ramifications are.
I was wondering in general as to what the options are if something fails etc, in terms of possibly needing to start over completely etc...a bit confused on that.