View previous topic :: View next topic |
Author |
Message |
tckosvic Tux's lil' helper
Joined: 18 Apr 2023 Posts: 128
|
Posted: Sun Apr 07, 2024 6:33 pm Post subject: upgrade to profile 23 -- recompiling whole system, multiday |
|
|
I worked through the news item on upgradng profile from 17.1 to 23.
Looked like all went well.
Step 14 said to re-emerge lib-tool
Step 16 -- rebuild world. All packages were stated not as new but rebuilds. I said yes to re-emerge all based upon need to do that for step 14 process. emerge starting re-emerging 1500 packages. I know this is a multiday process as some of the packages have over 30,000 modules to compile. I am running 6 cpus with sufficient memory on i7 cpu.
Was this total re-emerge really necessary?
If not necessary can I stop it and how?
If I stop it will system be ok and be running on profile 23?
thanks, tom kosvic |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1709 Location: Germany
|
Posted: Sun Apr 07, 2024 6:41 pm Post subject: |
|
|
You have to do it to avoid any further problems you might not know about and are complicated to be solved.
So yes, run it and keep in running. I suggest a house keeping cleanup of your installed packages, since 1500 sounds a lot. But AFTER the upgrade, since you are running it already. _________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire |
|
Back to top |
|
|
tckosvic Tux's lil' helper
Joined: 18 Apr 2023 Posts: 128
|
Posted: Sun Apr 07, 2024 6:49 pm Post subject: |
|
|
@Banana, thanks for the advice. I'll let it fly.
I think some words should be added to Step 16 in news re: upgrade that says that a total re-emerge is necessary.
Some people might not do it after seeing that all the packages are rebuilds and would get into the potential problems you alluded to.
thanks, tom kosvic |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54572 Location: 56N 3W
|
Posted: Sun Apr 07, 2024 9:30 pm Post subject: |
|
|
tckosvic,
There are some changes to gcc, linking and default USE flags.
Even though the packages are rebuilds, because the versions have not changed, the installed binaries will be changed. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
saturnalia0 Apprentice
Joined: 13 Oct 2016 Posts: 158
|
Posted: Sun Apr 07, 2024 9:54 pm Post subject: |
|
|
To me Gentoo and a slim system go hand in hand. I have less than half the number of packages and everything was done in 6h in a 6 year old CPU. I know some may disagree, but if you want/need thousands of packages, maybe use the new binaries instead? |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3005 Location: Edge of marsh USA
|
Posted: Mon Apr 08, 2024 4:10 am Post subject: |
|
|
I have 1414 on my primary desktop. Hardware shown below. --emptytree took a bit over 12 hours. On a Phenom x3 with 8 GB of RAM it took about 24 hours. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
tckosvic Tux's lil' helper
Joined: 18 Apr 2023 Posts: 128
|
Posted: Tue Apr 09, 2024 3:52 am Post subject: |
|
|
Final system rebuild for 1225 packages finally finished. Took 33.6 hours on i7-5820k. jopts=3. This is a 60G vm and emerge would not let me use more cpus as I didn't have enough swap space. I did use source for webbrowser. I have many scientific packages that seem to have many modules. Probably added significantly to the process.
Now I should be on 23.0 profile.
Why was it necessary to rebuild whole system with what looked like was the same source code as already compiled?
My host is openSUSE leap 15.5 that has 7770 packages on it. Glad I didn't need to compile that.
Now a reboot and I should be done. Anything to do after the reboot? Is there a lot of residue to get rid of?
thanks, tom kosvic |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3005 Location: Edge of marsh USA
|
Posted: Tue Apr 09, 2024 4:14 am Post subject: |
|
|
There are already many threads here explaining the need to --emptytree. If you are compiling the kernel from source, also recompile and install your kernel. Then reboot. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
e8root Tux's lil' helper
Joined: 09 Feb 2024 Posts: 94
|
Posted: Tue Apr 09, 2024 5:41 am Post subject: |
|
|
Quote: | Why was it necessary to rebuild whole system with what looked like was the same source code as already compiled? |
Simple answer: yes, definitely!
Longer answer: should you know how Gentoo profiles work and went to check changes between 17.1 and 23.0 and did careful and informed investigation and careful risk analysis based on your deep and wide knowledge how these changes can affect your system then you would only need to rebuild subset of packages without risking any breaking issues. But in this case you would just do that and not ask if you really need to rebuild all packages, now would you? _________________ Unix Wars - Episode V: AT&T Strikes Back |
|
Back to top |
|
|
tckosvic Tux's lil' helper
Joined: 18 Apr 2023 Posts: 128
|
Posted: Tue Apr 09, 2024 2:21 pm Post subject: |
|
|
I would suggest that the "news" item on upgrading profile to 23.0 include some of the comments, picks, and suggestions I am getting. I followed what was presented there. I also saw somewhere that the profile upgrade was necessary to do or something wold not work in the next month or so. That's the only reason I did it.
tom kosvic |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54572 Location: 56N 3W
|
Posted: Tue Apr 09, 2024 2:45 pm Post subject: |
|
|
tckosvic,
The /17.x/ profiles will be around for another year, anyway. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|