View previous topic :: View next topic |
Author |
Message |
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Mon Mar 25, 2024 2:14 am Post subject: [solved] try to upgrade from profile 17.1 gnome to 23.0 |
|
|
after emerge --sync
eselect read news
it says i need to upgrade profile 17.1 to 23.0
then i emerge world -Du
then the error follows
Code: |
g64 ~ # emerge world -Du
Calculating dependencies... done!
Dependency resolution took 42.53 s (backtrack: 0/20).
>>> Verifying ebuild manifests
>>> Running pre-merge checks for dev-lang/rust-bin-1.75.0
>>> Emerging (1 of 21) sys-apps/tcp-wrappers-7.6.31-r1::gentoo
* tcp_wrappers_7.6.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
* tcp-wrappers_7.6.q-31.debian.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* tcp-wrappers-7.6.31-patches.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-apps/tcp-wrappers-7.6.31-r1::gentoo failed (setup phase):
* ERROR: 23.0 merged-usr profile, but disk is split-usr
*
* Call stack:
* ebuild.sh, line 606: Called __source_all_bashrcs
* ebuild.sh, line 426: Called __try_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* ebuild.sh, line 487: Called __qa_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* ebuild.sh, line 123: Called source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* profile.bashrc, line 44: Called die
* The specific snippet of code:
* die "ERROR: 23.0 merged-usr profile, but disk is split-usr"
*
* If you need support, post the output of `emerge --info '=sys-apps/tcp-wrappers-7.6.31-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/tcp-wrappers-7.6.31-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31-r1/temp/die.env'.
* Working directory: '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31-r1/empty'
* S: '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31-r1/work/tcp-wrappers-7.6.31'
>>> Failed to emerge sys-apps/tcp-wrappers-7.6.31-r1, Log file:
>>> '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31-r1/temp/build.log'
* Messages for package sys-apps/tcp-wrappers-7.6.31-r1:
*
* 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-apps/tcp-wrappers-7.6.31-r1::gentoo failed (setup phase):
* ERROR: 23.0 merged-usr profile, but disk is split-usr
*
* Call stack:
* ebuild.sh, line 606: Called __source_all_bashrcs
* ebuild.sh, line 426: Called __try_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* ebuild.sh, line 487: Called __qa_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* ebuild.sh, line 123: Called source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* profile.bashrc, line 44: Called die
* The specific snippet of code:
* die "ERROR: 23.0 merged-usr profile, but disk is split-usr"
*
* If you need support, post the output of `emerge --info '=sys-apps/tcp-wrappers-7.6.31-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/tcp-wrappers-7.6.31-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31-r1/temp/die.env'.
* Working directory: '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31-r1/empty'
* S: '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31-r1/work/tcp-wrappers-7.6.31'
|
what to do next?
_________________ hackers - make sth real
academics - read sth said to be real
Last edited by honeymak on Mon Mar 25, 2024 3:21 am; edited 3 times in total |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Mon Mar 25, 2024 2:22 am Post subject: Re: try to upgrade from profile 17.0 gnome to 23.0 |
|
|
honeymak wrote: | after emerge --sync
eselect read news
it says i need to upgrade profile 17.0 to 23.0
Code: |
* 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.
|
|
What are your:
- Old profile, and
- New profile you set to?
|
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Mon Mar 25, 2024 2:24 am Post subject: |
|
|
old profile
Code: |
[6] default/linux/amd64/17.1/desktop/gnome (exp)
|
new profile
Code: |
[25] default/linux/amd64/23.0/desktop/gnome (stable) *
|
by using eselect profile set 25
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Mon Mar 25, 2024 2:33 am Post subject: |
|
|
honeymak wrote: | old profile
Code: |
[6] default/linux/amd64/17.1/desktop/gnome (exp)
|
new profile
Code: |
[25] default/linux/amd64/23.0/desktop/gnome (stable) *
|
|
Wrong, read the news item point 6 more carefully.
If old profile has no "merge-usr" in the name, new profile needs to have "split-usr" added in the name. |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Mon Mar 25, 2024 2:37 am Post subject: |
|
|
sharp eyes, cool
that means i go to this profile
Code: |
[47] default/linux/amd64/23.0/split-usr/desktop/gnome (stable) *
|
it works _________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Mon Mar 25, 2024 3:22 am Post subject: |
|
|
but wondering if merged-usr has to be the final destination?
do i need to just re-install gentoo to accomplish that?
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 437
|
Posted: Mon Mar 25, 2024 3:56 am Post subject: |
|
|
No need to re-install.
split-usr is fine for openrc.
I avoided the merged-usr when it came out. My installs are openrc, well, Gentoo, anyway, and Alpine.
There is a description that 17 regular --> 23 split-usr, and 17 merged-usr --> 23 regular. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21639
|
Posted: Mon Mar 25, 2024 2:39 pm Post subject: |
|
|
Recent releases of systemd make merged-usr mandatory. OpenRC supports split-usr, and if I recall correctly, at least one developer has stated that there are no plans to make OpenRC require merged-usr. That can obviously change if circumstances change such that OpenRC cannot readily support split-usr, but there is always the risk that some future change will force a presently unforeseen change. If openrc does someday require merged-usr, I expect that the migration path will be well announced and well documented. It will not just suddenly break one day with no warning. |
|
Back to top |
|
|
|