Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
upgrade to profile 23 -- recompiling whole system, multiday
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tckosvic
n00b
n00b


Joined: 18 Apr 2023
Posts: 67

PostPosted: Sun Apr 07, 2024 6:33 pm    Post subject: upgrade to profile 23 -- recompiling whole system, multiday Reply with quote

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
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1393
Location: Germany

PostPosted: Sun Apr 07, 2024 6:41 pm    Post subject: Reply with quote

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.
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
tckosvic
n00b
n00b


Joined: 18 Apr 2023
Posts: 67

PostPosted: Sun Apr 07, 2024 6:49 pm    Post subject: Reply with quote

@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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sun Apr 07, 2024 9:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
saturnalia0
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2016
Posts: 136

PostPosted: Sun Apr 07, 2024 9:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Mon Apr 08, 2024 4:10 am    Post subject: Reply with quote

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
View user's profile Send private message
tckosvic
n00b
n00b


Joined: 18 Apr 2023
Posts: 67

PostPosted: Tue Apr 09, 2024 3:52 am    Post subject: Reply with quote

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
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Tue Apr 09, 2024 4:14 am    Post subject: Reply with quote

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
View user's profile Send private message
e8root
n00b
n00b


Joined: 09 Feb 2024
Posts: 72

PostPosted: Tue Apr 09, 2024 5:41 am    Post subject: Reply with quote

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? :lol:
_________________
Unix Wars - Episode V: AT&T Strikes Back
Back to top
View user's profile Send private message
tckosvic
n00b
n00b


Joined: 18 Apr 2023
Posts: 67

PostPosted: Tue Apr 09, 2024 2:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Tue Apr 09, 2024 2:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum