Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] try to upgrade from profile 17.1 gnome to 23.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 537

PostPosted: Mon Mar 25, 2024 2:14 am    Post subject: [solved] try to upgrade from profile 17.1 gnome to 23.0 Reply with quote

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?
:oops:
_________________
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
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Mon Mar 25, 2024 2:22 am    Post subject: Re: try to upgrade from profile 17.0 gnome to 23.0 Reply with quote

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


Joined: 30 Dec 2002
Posts: 537

PostPosted: Mon Mar 25, 2024 2:24 am    Post subject: Reply with quote

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

:oops:
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Mon Mar 25, 2024 2:33 am    Post subject: Reply with quote

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


Joined: 30 Dec 2002
Posts: 537

PostPosted: Mon Mar 25, 2024 2:37 am    Post subject: Reply with quote

sharp eyes, cool

that means i go to this profile
Code:

  [47]  default/linux/amd64/23.0/split-usr/desktop/gnome (stable) *



8)
it works
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 537

PostPosted: Mon Mar 25, 2024 3:22 am    Post subject: Reply with quote

but wondering if merged-usr has to be the final destination?

do i need to just re-install gentoo to accomplish that?

:oops:
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
flysideways
Guru
Guru


Joined: 29 Jan 2005
Posts: 437

PostPosted: Mon Mar 25, 2024 3:56 am    Post subject: Reply with quote

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


Joined: 06 Mar 2007
Posts: 21637

PostPosted: Mon Mar 25, 2024 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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