View previous topic :: View next topic |
Author |
Message |
EvanFoss n00b
Joined: 12 Oct 2019 Posts: 13
|
Posted: Sat Aug 10, 2024 4:17 am Post subject: profile migration confusion (17.1 to 23.0) |
|
|
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 |
|
|
sdauth l33t
Joined: 19 Sep 2018 Posts: 644 Location: Ásgarðr
|
Posted: Sat Aug 10, 2024 4:28 am Post subject: Re: profile migration confusion (17.1 to 23.0) |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5088 Location: Bavaria
|
|
Back to top |
|
|
halcon l33t
Joined: 15 Dec 2019 Posts: 649
|
Posted: Sat Aug 10, 2024 11:21 am Post subject: |
|
|
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 |
|
|
EvanFoss n00b
Joined: 12 Oct 2019 Posts: 13
|
Posted: Thu Sep 12, 2024 2:44 am Post subject: |
|
|
I just wanted to thank you all for helping me resolve this problem. |
|
Back to top |
|
|
|