Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
profile migration confusion (17.1 to 23.0)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
EvanFoss
n00b
n00b


Joined: 12 Oct 2019
Posts: 13

PostPosted: Sat Aug 10, 2024 4:17 am    Post subject: profile migration confusion (17.1 to 23.0) Reply with quote

Hi, I am having some trouble.

So did I do step 0 wrong? Is this the wrong profile for me to move to? Keep in mind this shouldn't IMHO be so complicated as this thing is a headless box I use to store files so no fancy packages or complex install. It runs samba and ssh servers on some drives with zfs,

0. I am trying to migrate from
[12] default/linux/amd64/17.1/no-multilib (exp) *
to
[29] default/linux/amd64/23.0/no-multilib (stable)
1. I did an update world *before* trying to migrate.
2. I set the CHOST as requested.
3. I have no binary packages installed but I ran those steps anyway just to be sure.
4. However the next step (the first actual build) fails. emerge --ask --oneshot sys-devel/binutils

>>> Emerging (1 of 1) sys-devel/binutils-2.42-r1::gentoo
* binutils-2.42.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* binutils-2.42-patches-3.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
*
* Your profile is of type merged-usr, but your directories
* on-disk are of type split-usr.
* Please switch back to your last valid profile setting and
* read the documentation about merged-usr and profile changes.
*
* ERROR: sys-devel/binutils-2.42-r1::gentoo failed (setup phase):
* ERROR: 23.0 merged-usr profile, but disk is split-usr

PS: I don't mean to be rude but in recent years I have been having more trouble migrating desktop installs of gentoo forward. Keep in mind I have been using gentoo since 2006. I always figured it was me just missing a step or something only to get lost in some non-recoverable dependency heck often python library dependent. This situation however is making me strongly suspect that it's not just me. When I say "non-recoverable" I mean the number of hours spent in recovery exceeds what I know the total reinstall time to be.
Back to top
View user's profile Send private message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 650
Location: Ásgarðr

PostPosted: Sat Aug 10, 2024 4:28 am    Post subject: Re: profile migration confusion (17.1 to 23.0) Reply with quote

EvanFoss wrote:
I am trying to migrate from
[12] default/linux/amd64/17.1/no-multilib (exp) *
to
[29] default/linux/amd64/23.0/no-multilib (stable)


This is not the correct profile.
Select:
Code:
[49]  default/linux/amd64/23.0/split-usr/no-multilib (stable)


From the news item:
Code:
If you are currently using openrc, migrate to 23.0 first, keeping your disk
layout. If you want to move from split-usr to merged-usr, do that afterwards.


I assume here you're using openrc, otherwise if using systemd:
Code:
If you are currently using systemd in a split-usr configuration, then first
complete the migration to the corresponding merged-usr profile of the
same profile version. Details on how to do this can be found in the news item [4].
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5104
Location: Bavaria

PostPosted: Sat Aug 10, 2024 11:17 am    Post subject: Reply with quote

Please read: https://forums.gentoo.org/viewtopic-p-8833553.html#8833553
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 649

PostPosted: Sat Aug 10, 2024 11:21 am    Post subject: Reply with quote

Here is a profiles table (linked in the news item).
_________________
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Back to top
View user's profile Send private message
EvanFoss
n00b
n00b


Joined: 12 Oct 2019
Posts: 13

PostPosted: Thu Sep 12, 2024 2:44 am    Post subject: Reply with quote

I just wanted to thank you all for helping me resolve this problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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