Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Switching to Profile 23, question before I migrate
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
Pluribootent
n00b
n00b


Joined: 20 Jul 2008
Posts: 67
Location: Graz, Austria

PostPosted: Wed Apr 17, 2024 5:13 pm    Post subject: Switching to Profile 23, question before I migrate Reply with quote

I have a probably very stupid question about the migration to the new profile.

1. I havenot used my machine for 4 months, so I am confronted with several updates. Is it correct to first update my whole system before migrating?

2. In the instruction it says:
Quote:
2. If you are still using one of the long-deprecated amd64 17.0 profiles
(other than x32 or musl), then first complete the migration to the
corresponding 17.1 profile. Instructions can be found at [3].
Is there any way to find out which profile I am running at the moment. Because
Code:
eselect profile list
shows me several profiles, but none of them are marked with a *

Sorry for my question and thank you very much for your answers.

Cheers.
Back to top
View user's profile Send private message
Pluribootent
n00b
n00b


Joined: 20 Jul 2008
Posts: 67
Location: Graz, Austria

PostPosted: Wed Apr 17, 2024 5:14 pm    Post subject: Reply with quote

Code:
# eselect profile list

Code:
Available profile symlink targets:
  [1]   default/linux/amd64/17.1 (stable)
  [2]   default/linux/amd64/17.1/selinux (stable)
  [3]   default/linux/amd64/17.1/hardened (stable)
  [4]   default/linux/amd64/17.1/hardened/selinux (stable)
  [5]   default/linux/amd64/17.1/desktop (stable)
  [6]   default/linux/amd64/17.1/desktop/gnome (stable)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (stable)
  [8]   default/linux/amd64/17.1/desktop/plasma (stable)
  [9]   default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (stable)
  [10]  default/linux/amd64/17.1/desktop/systemd/merged-usr (stable)
  [11]  default/linux/amd64/17.1/developer (exp)
  [12]  default/linux/amd64/17.1/no-multilib (stable)
  [13]  default/linux/amd64/17.1/no-multilib/hardened (stable)
  [14]  default/linux/amd64/17.1/no-multilib/hardened/selinux (stable)
  [15]  default/linux/amd64/17.1/no-multilib/systemd/merged-usr (dev)
  [16]  default/linux/amd64/17.1/no-multilib/systemd/selinux/merged-usr (exp)
  [17]  default/linux/amd64/17.1/systemd/merged-usr (stable)
  [18]  default/linux/amd64/17.1/systemd/selinux/merged-usr (exp)
  [19]  default/linux/amd64/17.1/clang (exp)
  [20]  default/linux/amd64/17.1/systemd/clang/merged-usr (exp)
  [21]  default/linux/amd64/23.0 (stable)
  [22]  default/linux/amd64/23.0/systemd (stable)
  [23]  default/linux/amd64/23.0/desktop (stable)
  [24]  default/linux/amd64/23.0/desktop/systemd (stable)
  [25]  default/linux/amd64/23.0/desktop/gnome (stable)
  [26]  default/linux/amd64/23.0/desktop/gnome/systemd (stable)
  [27]  default/linux/amd64/23.0/desktop/plasma (stable)
  [28]  default/linux/amd64/23.0/desktop/plasma/systemd (stable)
  [29]  default/linux/amd64/23.0/no-multilib (stable)
  [30]  default/linux/amd64/23.0/no-multilib/systemd (stable)
  [31]  default/linux/amd64/23.0/no-multilib/hardened (stable)
  [32]  default/linux/amd64/23.0/no-multilib/hardened/systemd (stable)
  [33]  default/linux/amd64/23.0/no-multilib/hardened/selinux (stable)
  [34]  default/linux/amd64/23.0/no-multilib/hardened/selinux/systemd (stable)
  [35]  default/linux/amd64/23.0/no-multilib/prefix (exp)
  [36]  default/linux/amd64/23.0/no-multilib/prefix/kernel-2.6.32+ (exp)
  [37]  default/linux/amd64/23.0/no-multilib/prefix/kernel-2.6.16+ (exp)
  [38]  default/linux/amd64/23.0/no-multilib/prefix/kernel-3.2+ (exp)
  [39]  default/linux/amd64/23.0/llvm (stable)
  [40]  default/linux/amd64/23.0/llvm/systemd (stable)
  [41]  default/linux/amd64/23.0/hardened (stable)
  [42]  default/linux/amd64/23.0/hardened/systemd (stable)
  [43]  default/linux/amd64/23.0/hardened/selinux (stable)
  [44]  default/linux/amd64/23.0/hardened/selinux/systemd (stable)
  [45]  default/linux/amd64/23.0/split-usr (stable)
  [46]  default/linux/amd64/23.0/split-usr/desktop (stable)
  [47]  default/linux/amd64/23.0/split-usr/desktop/gnome (stable)
  [48]  default/linux/amd64/23.0/split-usr/desktop/plasma (stable)
  [49]  default/linux/amd64/23.0/split-usr/no-multilib (stable)
  [50]  default/linux/amd64/23.0/split-usr/no-multilib/selinux (stable)
  [51]  default/linux/amd64/23.0/split-usr/no-multilib/hardened (stable)
  [52]  default/linux/amd64/23.0/split-usr/no-multilib/hardened/selinux (stable)
  [53]  default/linux/amd64/23.0/split-usr/no-multilib/prefix (exp)
  [54]  default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.32+ (exp)
  [55]  default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.16+ (exp)
  [56]  default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-3.2+ (exp)
  [57]  default/linux/amd64/23.0/split-usr/llvm (stable)
  [58]  default/linux/amd64/23.0/split-usr/hardened (stable)
  [59]  default/linux/amd64/23.0/split-usr/hardened/selinux (stable)
  [60]  default/linux/amd64/17.0/x32 (dev)
  [61]  default/linux/amd64/17.0/x32/systemd/merged-usr (exp)
  [62]  default/linux/amd64/23.0/x32 (dev)
  [63]  default/linux/amd64/23.0/x32/systemd (exp)
  [64]  default/linux/amd64/23.0/split-usr/x32 (exp)
  [65]  default/linux/amd64/17.0/musl (dev)
  [66]  default/linux/amd64/17.0/musl/clang (exp)
  [67]  default/linux/amd64/17.0/musl/hardened (exp)
  [68]  default/linux/amd64/17.0/musl/hardened/selinux (exp)
  [69]  default/linux/amd64/23.0/musl (dev)
  [70]  default/linux/amd64/23.0/musl/llvm (exp)
  [71]  default/linux/amd64/23.0/musl/hardened (exp)
  [72]  default/linux/amd64/23.0/musl/hardened/selinux (exp)
  [73]  default/linux/amd64/23.0/split-usr/musl (dev)
  [74]  default/linux/amd64/23.0/split-usr/musl/llvm (exp)
  [75]  default/linux/amd64/23.0/split-usr/musl/hardened (exp)
  [76]  default/linux/amd64/23.0/split-usr/musl/hardened/selinux (exp)
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2390

PostPosted: Wed Apr 17, 2024 5:22 pm    Post subject: Re: Switching to Profile 23, question before I migrate Reply with quote

Pluribootent wrote:
I have a probably very stupid question about the migration to the new profile.

1. I havenot used my machine for 4 months, so I am confronted with several updates. Is it correct to first update my whole system before migrating?


Best to do that, yes. It might not be necessary but the answer is not simple, so better be on the safer side.

Pluribootent wrote:
2. Is there any way to find out which profile I am running at the moment. Because
Code:
eselect profile list
shows me several profiles, but none of them are marked with a *


Code:
emerge --info


Best Regards,
Georgi
Back to top
View user's profile Send private message
Pluribootent
n00b
n00b


Joined: 20 Jul 2008
Posts: 67
Location: Graz, Austria

PostPosted: Wed Apr 17, 2024 5:32 pm    Post subject: Reply with quote

Code:
# emerge --info

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr

To upgrade do the following steps:

As warned about previously in a news item, systemd-255 has dropped
support for split-usr systems. All Gentoo systems running systemd will
need to be migrated to merged-usr.

Migrating to merged-usr will move all data from /bin, /sbin, and /lib
into the /usr/bin and /usr/lib directories. The directories in / are
replaced with symlinks.

To facilitate this, a new set of sub-profiles has been created, and a
script is available to perform the actual migration.

To migrate a system to merged-usr, follow this procedure:

1. Ensure your system backups are up to date. Please also update
   your system fully and depclean before proceeding.

2. Install sys-apps/merge-usr.

3. Run "merge-usr --dryrun" as root to check for conflicts. These will
   appear with the word ERROR at the start of the line.

4. Resolve any conflicts. This may involve deleting duplicate files. If
   in doubt, seek support in a Gentoo support channel.

5. Run the merge-usr script from a root shell. Avoid running it via sudo
   directly to avoid locking yourself out if an unexpected error occurs.

6. Switch to a merged-usr profile.

7. Run emerge with the --newuse or --changed-use option to rebuild
   any packages that have a "split-usr" USE flag.


Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-12, glibc-2.38-r11, 6.1.67-gentoo x86_64)
=================================================================
System uname: Linux-6.1.67-gentoo-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.38
KiB Mem:    32776196 total,  27142368 free
KiB Swap:   83886076 total,  83886076 free
Timestamp of repository gentoo: Wed, 17 Apr 2024 16:00:00 +0000
Head commit of repository gentoo: 657f5977ccee2ac45d626b6825b3f4ecadd3a8f8
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p7) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.7-r1::gentoo
sys-devel/binutils:        2.40-r9::gentoo, 2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo, 13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r11::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=znver3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=znver3 -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver3 -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ https://packages.hs-regensburg.de/gentoo-distfiles/ http://packages.hs-regensburg.de/gentoo-distfiles/ rsync://packages.hs-regensburg.de/gentoo-distfiles/ https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://ftp.fau.de/gentoo http://ftp.fau.de/gentoo ftp://ftp.fau.de/gentoo rsync://ftp.fau.de/gentoo http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ https://mirror.wheel.sk/gentoo http://mirror.wheel.sk/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de en"
MAKEOPTS="-j17"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 base bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell google googledrive gpm gstreamer gtk gui harfbuzz iconv icu introspection ipv6 jpeg keyring lcms libnotify libtirpc llvm-libunwind mad minimal mng modemmanager mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio readline sdl seccomp server sound spell split-usr ssl startup-notification suid svg sysprof systemd test-rust tiff tracker truetype udev udisks unicode upower usb vorbis vulkan wayland wifi wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Thank you. Got it.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2390

PostPosted: Wed Apr 17, 2024 5:48 pm    Post subject: Reply with quote

So your profile is a 17.1 systemd split-usr profile. You should read carefully the news item regarding what you should do first because systemd is going to drop split-usr support if it didn't already.

I guess you need to first migrate to merged-usr profile as there's no 23 split-usr systemd profile as systemd is going to drop or it already dropped split-usr support.

Best regards,
Georgi
Back to top
View user's profile Send private message
Pluribootent
n00b
n00b


Joined: 20 Jul 2008
Posts: 67
Location: Graz, Austria

PostPosted: Wed Apr 17, 2024 6:30 pm    Post subject: Reply with quote

Thank you very much. Now I know what to do.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1901

PostPosted: Wed Apr 17, 2024 7:07 pm    Post subject: Reply with quote

Pluribootent wrote:
Code:
# emerge --info

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr

To upgrade do the following steps:

As warned about previously in a news item, systemd-255 has dropped
support for split-usr systems. All Gentoo systems running systemd will
need to be migrated to merged-usr.

Migrating to merged-usr will move all data from /bin, /sbin, and /lib
into the /usr/bin and /usr/lib directories. The directories in / are
replaced with symlinks.

To facilitate this, a new set of sub-profiles has been created, and a
script is available to perform the actual migration.

To migrate a system to merged-usr, follow this procedure:

1. Ensure your system backups are up to date. Please also update
   your system fully and depclean before proceeding.

2. Install sys-apps/merge-usr.

3. Run "merge-usr --dryrun" as root to check for conflicts. These will
   appear with the word ERROR at the start of the line.

4. Resolve any conflicts. This may involve deleting duplicate files. If
   in doubt, seek support in a Gentoo support channel.

5. Run the merge-usr script from a root shell. Avoid running it via sudo
   directly to avoid locking yourself out if an unexpected error occurs.

6. Switch to a merged-usr profile.

7. Run emerge with the --newuse or --changed-use option to rebuild
   any packages that have a "split-usr" USE flag.

It is of utmost important to follow this deprecation notice first for a systemd profile (STAYING ON 17.1 for the time being) and then go to 23.0 after.
Back to top
View user's profile Send private message
Pluribootent
n00b
n00b


Joined: 20 Jul 2008
Posts: 67
Location: Graz, Austria

PostPosted: Mon Aug 19, 2024 6:41 pm    Post subject: Reply with quote

I am sorry to having to bring this up again, but time has passed and I have not had time to do this yet.

As I understand it all, I will have to switch in several steps:

Step no one: I have to first switch to merged-usr. I have not touched my pc within the last 4 months. So do I have to update it before switching to merged-usr, or is it ok to switch without updating any packages. Or will the updates break the my machine, because systemd has already dropped the support?

Step no two: Switch to profile 23.

I am running kernel 6.6.21, should I update the kernel first off all? Or ist the kernel not affecting all of this?

I really apologize for my questions. Thank you.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2390

PostPosted: Mon Aug 19, 2024 6:56 pm    Post subject: Reply with quote

Pluribootent wrote:
So do I have to update it before switching to merged-usr. I have not touched my pc within the last 4 months. So do I have to update it before switching to merged-usr, or is it ok to switch without updating any packages.


Do not sync. If you do, you'll get yourself in position you have to do too much work at once, which might not be feasible. If you already did, somebody should assist you in winding the repository back. If you have pending updates from your last sync, that might be necessary, but wait for other people to confirm.

Another option is to stash somewhere your user data, world, /etc/portage et.c and start a new installation using the binhost, directly selecting 23 profile. I did something similar when switching computers. In the process of installation you'll figure out what is needed from the old installation. If you decide to do so, use something like rsync or other tool that can preserve the creation dates et.c. metadata of your user files. Sometimes it's very handy and sometimes you're just lost if you can't find that information for a particular file.

Also it might be a good idea to start a new thread explaining in the first post at what stage your system currently is, including your current emerge --info.

To attract the attention of a few experts in that who often help people like you here, you can title it "Updating an old system with 17.1/split-usr profile" or something similar. Do not make it too long. Link it here as well, so people who come here can be redirected there.

Best Regards,
Georgi


Last edited by logrusx on Mon Aug 19, 2024 7:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5064
Location: Bavaria

PostPosted: Mon Aug 19, 2024 7:09 pm    Post subject: Reply with quote

Pluribootent wrote:
I am running kernel 6.6.21, should I update the kernel first off all? Or ist the kernel not affecting all of this?

No ... there is no need to update the kernel ... but you might do it together with the world-update AFTER ->

Yes, you must do the change to merged-usr FIRST.

https://wiki.gentoo.org/wiki/Merge-usr says:
Quote:
Finally, complete a world upgrade with --newuse or --changed-use:
root #emerge -uDN @world

This means: You should do the world-update AFTER the switch.

After this you can easily switch from 17.1 to 23.0 systemd-profile

Pluribootent wrote:
I really apologize for my questions. Thank you.

No need to apologize ... please dont worry.

Have fun with Gentoo ! :D
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2390

PostPosted: Mon Aug 19, 2024 7:14 pm    Post subject: Reply with quote

pietinger wrote:

https://wiki.gentoo.org/wiki/Merge-usr says:
Quote:
Finally, complete a world upgrade with --newuse or --changed-use:
root #emerge -uDN @world

This means: You should do the world-update AFTER the switch.


Mind you, that's your interpretation. It doesn't mean that at all, unless you have arguments you have forgotten to share. The news item says if should be run to rebuild any packages that have split-usr use flag:

Quote:
7. Run emerge with the --newuse or --changed-use option to rebuild
any packages that have a "split-usr" USE flag.


So you can't make such a conclusion just because this item comes last. Nowhere is there such a statement, not in the Wiki page, not in the news item.

Best Regards,
Georgi
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5064
Location: Bavaria

PostPosted: Mon Aug 19, 2024 7:21 pm    Post subject: Reply with quote

logrusx wrote:
pietinger wrote:

https://wiki.gentoo.org/wiki/Merge-usr says:
Quote:
Finally, complete a world upgrade with --newuse or --changed-use:
root #emerge -uDN @world

This means: You should do the world-update AFTER the switch.


Mind you, that's your interpretation. It doesn't mean that at all, unless you have arguments you have forgotten to share. The news item says if should be run to rebuild any packages that have split-usr use flag:

Quote:
7. Run emerge with the --newuse or --changed-use option to rebuild
any packages that have a "split-usr" USE flag.


So you can't make such a conclusion just because this item comes last. Nowhere is there such a statement, not in the Wiki page, not in the news item.

Best Regards,
Georgi

I see no difference between:
https://www.gentoo.org/support/news-items/2022-12-01-systemd-usrmerge.html
and
https://wiki.gentoo.org/wiki/Merge-usr

Is there a reason why you always have to contradict me, even if you don't know it ?
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2390

PostPosted: Mon Aug 19, 2024 7:27 pm    Post subject: Reply with quote

pietinger wrote:


Is there a reason why you always have to contradict me, even if you don't know it ?


In this instance it's because you're not reading carefully. In other instances it might have been something else or I might have been wrong. I usually admit when I'm wrong, presented with the arguments that prove me wrong.

Quote:
1. Ensure your system backups are up to date. Please also update
your system fully and depclean before proceeding.


However I gave you the benefit of the doubt because you're plenty more experienced than me by saying "unless you have arguments you have forgotten to share". If you have such, share them, otherwise your claim is unfounded and in contradiction with at least the news item.

p.s. I had missed the bold part too, otherwise I would have brought it up right away, I was basing it on my memory only.

Best Regards,
Georgi
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2390

PostPosted: Mon Aug 19, 2024 7:36 pm    Post subject: Reply with quote

Anyways, I suggest taking the new installation route as migration to 23 involves emerge --emptytree. You don't need all that work just to arrive at the point of emerging the whole world, unless you feel adventurous. With the binhost available you're going to do it way faster than we were used to.

Best Regards,
Georgi
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5064
Location: Bavaria

PostPosted: Mon Aug 19, 2024 7:37 pm    Post subject: Reply with quote

At the time this news was written (Posted: 2022-12-01), there were no 23.0 profiles; that means: there was still 17.1-split-usr-systemd ... which we no longer have today; today there is only 17.1-merged-usr-systemd ...

Code:
$ eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/17.1 (stable)
  [2]   default/linux/amd64/17.1/selinux (exp)
  [3]   default/linux/amd64/17.1/hardened (exp)
  [4]   default/linux/amd64/17.1/hardened/selinux (exp)
  [5]   default/linux/amd64/17.1/desktop (exp)
  [6]   default/linux/amd64/17.1/desktop/gnome (exp)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (exp)
  [8]   default/linux/amd64/17.1/desktop/plasma (exp)
  [9]   default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (exp)
  [10]  default/linux/amd64/17.1/desktop/systemd/merged-usr (exp)
  [11]  default/linux/amd64/17.1/developer (exp)
  [12]  default/linux/amd64/17.1/no-multilib (exp)
  [13]  default/linux/amd64/17.1/no-multilib/hardened (exp)
  [14]  default/linux/amd64/17.1/no-multilib/hardened/selinux (exp)
  [15]  default/linux/amd64/17.1/no-multilib/systemd/merged-usr (exp)
  [16]  default/linux/amd64/17.1/no-multilib/systemd/selinux/merged-usr (exp)
  [17]  default/linux/amd64/17.1/systemd/merged-usr (stable)
  [18]  default/linux/amd64/17.1/systemd/selinux/merged-usr (exp)
  [19]  default/linux/amd64/17.1/clang (exp)
  [20]  default/linux/amd64/17.1/systemd/clang/merged-usr (exp)
  [21]  default/linux/amd64/23.0 (stable)
...

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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