Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

[SOLVE] HELP! merge-usr failure

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Feb 14, 2022 11:08 am
Location: Somewhere Over There!
Contact:
Contact Ja.KooLit
Website

[SOLVE] HELP! merge-usr failure

  • Quote

Post by Ja.KooLit » Thu Feb 16, 2023 9:32 am

So I was going through news items and I came accross with the merge-usr

Luckily, this is only a back-up installation

Anyway, I have done what wiki have stated

https://wiki.gentoo.org/wiki/Merge-usr

What I have done

added split-usr in /etc/portage/profile/use.mask
added
UNINSTALL_IGNORE="split-usr" in make.conf

switch to su

and ran emerge -avDuN @world

after some package

>>> Failed to emerge app-arch/xz-utils-5.4.1

Code: Select all

Gen2-Plasma /home/ja # emerge -uDN @world

These are the packages that would be merged, in order:

Calculating dependencies            ... done!
Dependency resolution took 9.53 s.

[ebuild   R    ] sys-apps/baselayout-2.13-r1::gentoo  USE="-build (-split-usr*)" 0 KiB
[ebuild   R    ] dev-libs/lzo-2.10:2::gentoo  USE="-examples (-split-usr*) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] net-libs/libnftnl-1.2.4:0/11::gentoo  USE="-examples (-split-usr*) -static-libs -test -verify-sig" 0 KiB
[ebuild   R    ] app-arch/xz-utils-5.4.1::gentoo  USE="extra-filters nls (-split-usr*) -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 2,470 KiB
[ebuild   R    ] net-libs/libtirpc-1.3.3:0/3::gentoo  USE="-kerberos (-split-usr*) -static-libs" ABI_X86="(64) -32 (-x32)" 559 KiB
[ebuild   R    ] app-arch/bzip2-1.0.8-r4:0/1::gentoo  USE="(-split-usr*) -static -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 792 KiB
[ebuild   R    ] app-alternatives/bzip2-1::gentoo  USE="reference -lbzip2 -pbzip2 (-split-usr*)" 0 KiB
[ebuild   R    ] app-alternatives/gzip-0::gentoo  USE="reference -pigz (-split-usr*)" 0 KiB
[ebuild   R    ] app-alternatives/cpio-0::gentoo  USE="gnu -libarchive (-split-usr*)" 0 KiB
[ebuild   R    ] app-alternatives/awk-4::gentoo  USE="gawk -busybox -mawk -nawk (-split-usr*)" 0 KiB
[ebuild   R    ] sys-libs/zlib-1.2.13-r1:0/1::gentoo  USE="minizip (-split-usr*) -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/attr-2.5.1-r2::gentoo  USE="nls -debug (-split-usr*) -static-libs" ABI_X86="(64) -32 (-x32)" 311 KiB
[ebuild   R    ] sys-libs/libxcrypt-4.4.33:0/1::gentoo  USE="(compat) (system) -headers-only (-split-usr*) -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] app-arch/zstd-1.5.4-r2:0/1::gentoo  USE="lzma zlib -lz4 (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/acl-2.3.1-r1::gentoo  USE="nls (-split-usr*) -static-libs" ABI_X86="(64) -32 (-x32)" 348 KiB
[ebuild   R    ] sys-apps/coreutils-9.1-r2::gentoo  USE="acl nls openssl xattr -caps -gmp -hostname -kill -multicall (-selinux) (-split-usr*) -static -test -vanilla -verify-sig" 5,585 KiB
[ebuild   R    ] sys-libs/ncurses-6.4:0/6::gentoo  USE="cxx gpm stack-realign (tinfo) -ada -debug -doc -minimal -profile (-split-usr*) -static-libs -test -trace -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-libs/pam-1.5.2-r3::gentoo  USE="filecaps -audit -berkdb -debug -nis (-selinux) (-split-usr*)" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-libs/libcap-2.67::gentoo  USE="pam (-split-usr*) -static-libs -tools" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-libs/readline-8.2_p1:0/8::gentoo  USE="(unicode) (-split-usr*) -static-libs -utils -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-libs/gpm-1.20.7-r5::gentoo  USE="(-selinux) (-split-usr*)" ABI_X86="(64) -32 (-x32)" 812 KiB
[ebuild   R    ] dev-libs/libpcre2-10.42-r1:0/3::gentoo  USE="bzip2 jit pcre16 readline unicode zlib -libedit -pcre32 (-split-usr*) -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/util-linux-2.38.1-r2::gentoo  USE="cramfs hardlink logger ncurses nls pam readline su suid systemd udev (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic -python (-rtas) (-selinux) -slang (-split-usr*) -static-libs -test -tty-helpers -verify-sig" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_10 -python3_9 -python3_11" 0 KiB
[ebuild   R    ] sys-apps/systemd-252.5:0/2::gentoo  USE="acl apparmor dns-over-tls gcrypt kmod lz4 openssl pam pcre (policykit) resolvconf seccomp sysv-utils zstd -audit -cgroup-hybrid -cryptsetup -curl -elfutils -fido2 -gnuefi -gnutls -homed -http -idn -importd -iptables -lzma -pkcs11 -pwquality -qrcode (-selinux) (-split-usr*) -test -tpm -vanilla -xkb" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-fs/e2fsprogs-1.47.0::gentoo  USE="fuse nls tools -cron (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-process/audit-3.0.9-r1::gentoo  USE="-gssapi -ldap -python (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_10 -python3_9 -python3_11" 0 KiB
[ebuild   R    ] dev-libs/libpcre-8.45-r1:3::gentoo  USE="bzip2 cxx jit readline (unicode) zlib -libedit -pcre16 -pcre32 (-split-usr*) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-libs/libusb-1.0.26:1::gentoo  USE="udev -debug -doc -examples (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" 606 KiB
[ebuild   R    ] sys-apps/iproute2-6.1.0-r1::gentoo  USE="-atm -berkdb -bpf -caps -elf -iptables -libbsd -minimal -nfs (-selinux) (-split-usr*)" 0 KiB
[ebuild   R    ] sys-process/procps-3.3.17-r1:0/8::gentoo  USE="kill ncurses nls systemd (unicode) (-elogind) -modern-top (-selinux) (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" 985 KiB
[ebuild   R    ] sys-apps/shadow-4.13-r1:0/4::gentoo  USE="acl nls pam xattr -audit -bcrypt -cracklib (-selinux) -skey (-split-usr*) -su -verify-sig" 1,722 KiB
[ebuild   R    ] net-firewall/iptables-1.8.9:0/1.8.3::gentoo  USE="nftables -conntrack -netlink -pcap (-split-usr*) -static-libs" 0 KiB
[ebuild   R    ] app-alternatives/tar-0::gentoo  USE="gnu -libarchive (-split-usr*)" 0 KiB

Total: 33 packages (33 reinstalls), Size of downloads: 14,186 KiB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-libs/libxcrypt-4.4.33
>>> Running pre-merge checks for sys-libs/gpm-1.20.7-r5
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     6.1.12-gentoo-Ja-SyS
 * Checking for suitable kernel configuration options ...                                                     [ ok ]
>>> Running pre-merge checks for sys-apps/util-linux-2.38.1-r2
>>> Running pre-merge checks for sys-apps/systemd-252.5
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     6.1.12-gentoo-Ja-SyS
 * Checking for suitable kernel configuration options ...                                                     [ ok ]
>>> Emerging (1 of 33) sys-apps/baselayout-2.13-r1::gentoo
>>> Emerging (2 of 33) dev-libs/lzo-2.10::gentoo
>>> Emerging (3 of 33) net-libs/libnftnl-1.2.4::gentoo
>>> Emerging (4 of 33) app-arch/bzip2-1.0.8-r4::gentoo
>>> Emerging (5 of 33) app-alternatives/gzip-0::gentoo
>>> Installing (3 of 33) net-libs/libnftnl-1.2.4::gentoo
>>> Installing (1 of 33) sys-apps/baselayout-2.13-r1::gentoo
>>> Installing (5 of 33) app-alternatives/gzip-0::gentoo
>>> Installing (4 of 33) app-arch/bzip2-1.0.8-r4::gentoo
>>> Installing (2 of 33) dev-libs/lzo-2.10::gentoo
>>> Emerging (6 of 33) app-arch/xz-utils-5.4.1::gentoo
>>> Failed to emerge app-arch/xz-utils-5.4.1
>>> Jobs: 5 of 33 complete, 1 failed                Load avg: 4.11, 2.36, 1.17

 * Messages for package sys-apps/baselayout-2.13-r1:
 * Log file: /var/log/portage/sys-apps:baselayout-2.13-r1:20230216-091012.log

 * After updating /etc/profile, please run
 * env-update && . /etc/profile
 * Please run env-update then log out and back in to
 * update your path.

 * Messages for package app-arch/xz-utils-5.4.1:


 * GNU info directory index is up-to-date.

 * IMPORTANT: config file '/etc/hosts' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.
Gen2-Plasma /home/ja #

re-ran emerge -avDuN @world again

same thing.

I did env-update && . /etc/profile
log out and log in.

I cannot log in as root with command su

I can however switch to sudo su

after sudo su re-ran emerge avDUN @world

then here is the error

Code: Select all

Gen2-Plasma /home/ja # emerge -avDuN @world

These are the packages that would be merged, in order:

Calculating dependencies  ... done!
Dependency resolution took 9.61 s.

[ebuild   R    ] app-arch/xz-utils-5.4.1::gentoo  USE="extra-filters nls (-split-usr*) -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] net-libs/libtirpc-1.3.3:0/3::gentoo  USE="-kerberos (-split-usr*) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] app-alternatives/bzip2-1::gentoo  USE="reference -lbzip2 -pbzip2 (-split-usr*)" 0 KiB
[ebuild   R    ] app-alternatives/cpio-0::gentoo  USE="gnu -libarchive (-split-usr*)" 0 KiB
[ebuild   R    ] app-alternatives/awk-4::gentoo  USE="gawk -busybox -mawk -nawk (-split-usr*)" 0 KiB
[ebuild   R    ] sys-libs/zlib-1.2.13-r1:0/1::gentoo  USE="minizip (-split-usr*) -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/attr-2.5.1-r2::gentoo  USE="nls -debug (-split-usr*) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-libs/libxcrypt-4.4.33:0/1::gentoo  USE="(compat) (system) -headers-only (-split-usr*) -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] app-arch/zstd-1.5.4-r2:0/1::gentoo  USE="lzma zlib -lz4 (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/acl-2.3.1-r1::gentoo  USE="nls (-split-usr*) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/coreutils-9.1-r2::gentoo  USE="acl nls openssl xattr -caps -gmp -hostname -kill -multicall (-selinux) (-split-usr*) -static -test -vanilla -verify-sig" 0 KiB
[ebuild   R    ] sys-libs/ncurses-6.4:0/6::gentoo  USE="cxx gpm stack-realign (tinfo) -ada -debug -doc -minimal -profile (-split-usr*) -static-libs -test -trace -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-libs/pam-1.5.2-r3::gentoo  USE="filecaps -audit -berkdb -debug -nis (-selinux) (-split-usr*)" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-libs/libcap-2.67::gentoo  USE="pam (-split-usr*) -static-libs -tools" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-libs/readline-8.2_p1:0/8::gentoo  USE="(unicode) (-split-usr*) -static-libs -utils -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-libs/gpm-1.20.7-r5::gentoo  USE="(-selinux) (-split-usr*)" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-libs/libpcre2-10.42-r1:0/3::gentoo  USE="bzip2 jit pcre16 readline unicode zlib -libedit -pcre32 (-split-usr*) -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/util-linux-2.38.1-r2::gentoo  USE="cramfs hardlink logger ncurses nls pam readline su suid systemd udev (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic -python (-rtas) (-selinux) -slang (-split-usr*) -static-libs -test -tty-helpers -verify-sig" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_10 -python3_9 -python3_11" 0 KiB
[ebuild   R    ] sys-apps/systemd-252.5:0/2::gentoo  USE="acl apparmor dns-over-tls gcrypt kmod lz4 openssl pam pcre (policykit) resolvconf seccomp sysv-utils zstd -audit -cgroup-hybrid -cryptsetup -curl -elfutils -fido2 -gnuefi -gnutls -homed -http -idn -importd -iptables -lzma -pkcs11 -pwquality -qrcode (-selinux) (-split-usr*) -test -tpm -vanilla -xkb" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-fs/e2fsprogs-1.47.0::gentoo  USE="fuse nls tools -cron (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-process/audit-3.0.9-r1::gentoo  USE="-gssapi -ldap -python (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_10 -python3_9 -python3_11" 0 KiB
[ebuild   R    ] dev-libs/libpcre-8.45-r1:3::gentoo  USE="bzip2 cxx jit readline (unicode) zlib -libedit -pcre16 -pcre32 (-split-usr*) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-libs/libusb-1.0.26:1::gentoo  USE="udev -debug -doc -examples (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/iproute2-6.1.0-r1::gentoo  USE="-atm -berkdb -bpf -caps -elf -iptables -libbsd -minimal -nfs (-selinux) (-split-usr*)" 0 KiB
[ebuild   R    ] sys-process/procps-3.3.17-r1:0/8::gentoo  USE="kill ncurses nls systemd (unicode) (-elogind) -modern-top (-selinux) (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/shadow-4.13-r1:0/4::gentoo  USE="acl nls pam xattr -audit -bcrypt -cracklib (-selinux) -skey (-split-usr*) -su -verify-sig" 0 KiB
[ebuild   R    ] net-firewall/iptables-1.8.9:0/1.8.3::gentoo  USE="nftables -conntrack -netlink -pcap (-split-usr*) -static-libs" 0 KiB
[ebuild   R    ] app-alternatives/tar-0::gentoo  USE="gnu -libarchive (-split-usr*)" 0 KiB

Total: 28 packages (28 reinstalls), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-libs/libxcrypt-4.4.33
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
>>> Failed to emerge sys-libs/libxcrypt-4.4.33, Log file:
>>>  '/var/log/portage/sys-libs:libxcrypt-4.4.33:20230216-091235.log'
>>> Running pre-merge checks for sys-libs/gpm-1.20.7-r5
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
>>> Failed to emerge sys-libs/gpm-1.20.7-r5, Log file:
>>>  '/var/log/portage/sys-libs:gpm-1.20.7-r5:20230216-091235.log'
>>> Running pre-merge checks for sys-apps/util-linux-2.38.1-r2
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
>>> Failed to emerge sys-apps/util-linux-2.38.1-r2, Log file:
>>>  '/var/log/portage/sys-apps:util-linux-2.38.1-r2:20230216-091235.log'
>>> Running pre-merge checks for sys-apps/systemd-252.5
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
/usr/bin/env: ‘bash’: No such file or directory
>>> Failed to emerge sys-apps/systemd-252.5, Log file:
>>>  '/var/log/portage/sys-apps:systemd-252.5:20230216-091235.log'

 * Messages for package sys-libs/libxcrypt-4.4.33:
 * Log file: /var/log/portage/sys-libs:libxcrypt-4.4.33:20230216-091235.log

 * The ebuild phase 'pretend' has exited unexpectedly. This type of
 * behavior is known to be triggered by things such as failed variable
 * assignments (bug #190128) or bad substitution errors (bug #200313).
 * Normally, before exiting, bash should have displayed an error message
 * above. If bash did not produce an error message above, it's possible
 * that the ebuild has called `exit` when it should have called `die`
 * instead. This behavior may also be triggered by a corrupt bash binary or
 * a hardware problem such as memory or cpu malfunction. If the problem is
 * not reproducible or it appears to occur randomly, then it is likely to
 * be triggered by a hardware problem. If you suspect a hardware problem
 * then you should try some basic hardware diagnostics such as memtest.
 * Please do not report this as a bug unless it is consistently
 * reproducible and you are sure that your bash binary and hardware are
 * functioning properly.

 * Messages for package sys-libs/gpm-1.20.7-r5:
 * Log file: /var/log/portage/sys-libs:gpm-1.20.7-r5:20230216-091235.log

 * The ebuild phase 'pretend' has exited unexpectedly. This type of
 * behavior is known to be triggered by things such as failed variable
 * assignments (bug #190128) or bad substitution errors (bug #200313).
 * Normally, before exiting, bash should have displayed an error message
 * above. If bash did not produce an error message above, it's possible
 * that the ebuild has called `exit` when it should have called `die`
 * instead. This behavior may also be triggered by a corrupt bash binary or
 * a hardware problem such as memory or cpu malfunction. If the problem is
 * not reproducible or it appears to occur randomly, then it is likely to
 * be triggered by a hardware problem. If you suspect a hardware problem
 * then you should try some basic hardware diagnostics such as memtest.
 * Please do not report this as a bug unless it is consistently
 * reproducible and you are sure that your bash binary and hardware are
 * functioning properly.

 * Messages for package sys-apps/util-linux-2.38.1-r2:
 * Log file: /var/log/portage/sys-apps:util-linux-2.38.1-r2:20230216-091235.log

 * The ebuild phase 'pretend' has exited unexpectedly. This type of
 * behavior is known to be triggered by things such as failed variable
 * assignments (bug #190128) or bad substitution errors (bug #200313).
 * Normally, before exiting, bash should have displayed an error message
 * above. If bash did not produce an error message above, it's possible
 * that the ebuild has called `exit` when it should have called `die`
 * instead. This behavior may also be triggered by a corrupt bash binary or
 * a hardware problem such as memory or cpu malfunction. If the problem is
 * not reproducible or it appears to occur randomly, then it is likely to
 * be triggered by a hardware problem. If you suspect a hardware problem
 * then you should try some basic hardware diagnostics such as memtest.
 * Please do not report this as a bug unless it is consistently
 * reproducible and you are sure that your bash binary and hardware are
 * functioning properly.

 * Messages for package sys-apps/systemd-252.5:
 * Log file: /var/log/portage/sys-apps:systemd-252.5:20230216-091235.log

 * The ebuild phase 'pretend' has exited unexpectedly. This type of
 * behavior is known to be triggered by things such as failed variable
 * assignments (bug #190128) or bad substitution errors (bug #200313).
 * Normally, before exiting, bash should have displayed an error message
 * above. If bash did not produce an error message above, it's possible
 * that the ebuild has called `exit` when it should have called `die`
 * instead. This behavior may also be triggered by a corrupt bash binary or
 * a hardware problem such as memory or cpu malfunction. If the problem is
 * not reproducible or it appears to occur randomly, then it is likely to
 * be triggered by a hardware problem. If you suspect a hardware problem
 * then you should try some basic hardware diagnostics such as memtest.
 * Please do not report this as a bug unless it is consistently
 * reproducible and you are sure that your bash binary and hardware are
 * functioning properly.
 *
 * The following 4 packages have failed to build, install, or execute
 * postinst:
 *
 *  (sys-libs/libxcrypt-4.4.33:0/1::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/sys-libs:libxcrypt-4.4.33:20230216-091235.log'
 *  (sys-libs/gpm-1.20.7-r5:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/sys-libs:gpm-1.20.7-r5:20230216-091235.log'
 *  (sys-apps/util-linux-2.38.1-r2:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/sys-apps:util-linux-2.38.1-r2:20230216-091235.log'
 *  (sys-apps/systemd-252.5:0/2::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/sys-apps:systemd-252.5:20230216-091235.log'
 *
Gen2-Plasma /home/ja #
and now... seems I cant install anything......what can I do?

TIA

heres the merge-usr --dryrun

Code: Select all

ja@Gen2-Plasma ~ $ merge-usr --dryrun
INFO: Migrating files from '/bin' to '/usr/bin'
INFO: Skipping symlink '/bin/awk'; '/usr/bin/awk' already exists
INFO: No problems found for '/bin'
INFO: Migrating files from '/sbin' to '/usr/bin'
INFO: No problems found for '/sbin'
INFO: Migrating files from '/usr/sbin' to '/usr/bin'
INFO: No problems found for '/usr/sbin'
INFO: Migrating files from '/lib' to '/usr/lib'
INFO: No problems found for '/lib'
INFO: Migrating files from '/lib64' to '/usr/lib64'
INFO: No problems found for '/lib64'
ja@Gen2-Plasma ~ $ 
Last edited by Ja.KooLit on Thu Feb 16, 2023 11:03 am, edited 1 time in total.
Top
ulenrich
Veteran
Veteran
Posts: 1483
Joined: Sun Oct 10, 2010 9:26 pm

  • Quote

Post by ulenrich » Thu Feb 16, 2023 10:12 am

So you missed to set a merged-usr profile, what is hinted for the advanced user may consider
Note that advanced users do not strictly need to use the merged-usr profiles and can instead mask split-usr in /etc/portage/profile/use.mask and set the same UNINSTALL_IGNORE value from the profiles in /etc/portage/make.conf.
despite you noting "Gentoo Newbie" below every of your posts? You don't have shortage of courage, considering me myself not fully an advanced user of Gentoo after a decade.

Perhaps you directly can login as root in a non-graphical terminal and try further on.
Top
Ja.KooLit
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Feb 14, 2022 11:08 am
Location: Somewhere Over There!
Contact:
Contact Ja.KooLit
Website

  • Quote

Post by Ja.KooLit » Thu Feb 16, 2023 10:59 am

ulenrich wrote:So you missed to set a merged-usr profile, what is hinted for the advanced user may consider
Note that advanced users do not strictly need to use the merged-usr profiles and can instead mask split-usr in /etc/portage/profile/use.mask and set the same UNINSTALL_IGNORE value from the profiles in /etc/portage/make.conf.
despite you noting "Gentoo Newbie" below every of your posts? You don't have shortage of courage, considering me myself not fully an advanced user of Gentoo after a decade.

Perhaps you directly can login as root in a non-graphical terminal and try further on.
Thanks... sorry about the Gentoo Newbie. It was part of my signature that I placed when I created my account

anyway, I re-read instructions again from wiki.. and I believe I know where the issue is... I forgot this part
The script may then be run without options as root to perform the actual migration.
silly me.....

I will redo again once I am in my system

thanks
Top
Ja.KooLit
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Feb 14, 2022 11:08 am
Location: Somewhere Over There!
Contact:
Contact Ja.KooLit
Website

  • Quote

Post by Ja.KooLit » Thu Feb 16, 2023 11:07 am

As I thought the most important part of the wiki that I have missed is to run the actual command

Code: Select all

root #merge-usr
after the

user $merge-usr --dryrun

now its fine.. :)
Top
ulenrich
Veteran
Veteran
Posts: 1483
Joined: Sun Oct 10, 2010 9:26 pm

  • Quote

Post by ulenrich » Thu Feb 16, 2023 4:29 pm

So, for a slightly complex wiki recipe, don't assume without reread that you have done it correctly.
Top
Leo3418
n00b
n00b
User avatar
Posts: 6
Joined: Wed Feb 01, 2023 5:16 pm
Contact:
Contact Leo3418
Website

Re: [SOLVE] HELP! merge-usr failure

  • Quote

Post by Leo3418 » Thu Feb 16, 2023 5:46 pm

While I'm glad to hear that your problem has been solved, I think it's worth mentioning that it's weird to have
Ja.KooLit wrote:added
UNINSTALL_IGNORE="split-usr" in make.conf
UNINSTALL_IGNORE is for a list of paths that Portage should not delete when it is uninstalling a package. Adding 'split-usr' to UNINSTALL_IGNORE is not supposed to have any usefulness because few packages actually install any file called 'split-usr'. Though adding 'split-usr' to UNINSTALL_IGNORE should not have any negative impact either (unless in very rare, very special edge cases). Edit: Ignore the sentence in tiny font (sorry, I don't know how to add a strikethrough in a forum message :( ). Actually, setting UNINSTALL_IGNORE="split-usr" is not correct at all because it overrides the default UNINSTALL_IGNORE value, which may break things. You should remove it from your make.conf.

For more details on UNINSTALL_IGNORE, please read the make.conf(5) manual page.

I guess you did this after reading the following text on the merge-usr wiki page:
Note that advanced users do not strictly need to use the merged-usr profiles and can instead mask split-usr in /etc/portage/profile/use.mask and set the same UNINSTALL_IGNORE value from the profiles in /etc/portage/make.conf.
Here, "the same UNINSTALL_IGNORE value from the profiles" does not refer to 'split-usr'. Instead, it refers to the UNINSTALL_IGNORE value that all merged-usr profiles have in common, which is not 'split-usr'; the actual, correct value being referred to is declared in https://gitweb.gentoo.org/repo/gentoo.g ... e.defaults.

P.S. I have updated the wiki page to avoid any potential confusion from other users in the future.
Top
Ja.KooLit
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Feb 14, 2022 11:08 am
Location: Somewhere Over There!
Contact:
Contact Ja.KooLit
Website

  • Quote

Post by Ja.KooLit » Fri Feb 17, 2023 9:56 am

ulenrich wrote:So, for a slightly complex wiki recipe, don't assume without reread that you have done it correctly.
whats with the attitude? My previous you were bothered about calling myself newbie in every post I made? without even thinking that it was part of the "signature"

nvr mind... its not like you help at all anyway
Top
Ja.KooLit
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Feb 14, 2022 11:08 am
Location: Somewhere Over There!
Contact:
Contact Ja.KooLit
Website

Re: [SOLVE] HELP! merge-usr failure

  • Quote

Post by Ja.KooLit » Fri Feb 17, 2023 10:00 am

Leo3418 wrote:While I'm glad to hear that your problem has been solved, I think it's worth mentioning that it's weird to have
Ja.KooLit wrote:added
UNINSTALL_IGNORE="split-usr" in make.conf
UNINSTALL_IGNORE is for a list of paths that Portage should not delete when it is uninstalling a package. Adding 'split-usr' to UNINSTALL_IGNORE is not supposed to have any usefulness because few packages actually install any file called 'split-usr'. Though adding 'split-usr' to UNINSTALL_IGNORE should not have any negative impact either (unless in very rare, very special edge cases). Edit: Ignore the sentence in tiny font (sorry, I don't know how to add a strikethrough in a forum message :( ). Actually, setting UNINSTALL_IGNORE="split-usr" is not correct at all because it overrides the default UNINSTALL_IGNORE value, which may break things. You should remove it from your make.conf.

For more details on UNINSTALL_IGNORE, please read the make.conf(5) manual page.

I guess you did this after reading the following text on the merge-usr wiki page:
Note that advanced users do not strictly need to use the merged-usr profiles and can instead mask split-usr in /etc/portage/profile/use.mask and set the same UNINSTALL_IGNORE value from the profiles in /etc/portage/make.conf.
Here, "the same UNINSTALL_IGNORE value from the profiles" does not refer to 'split-usr'. Instead, it refers to the UNINSTALL_IGNORE value that all merged-usr profiles have in common, which is not 'split-usr'; the actual, correct value being referred to is declared in https://gitweb.gentoo.org/repo/gentoo.g ... e.defaults.

P.S. I have updated the wiki page to avoid any potential confusion from other users in the future.
yep you were absolutely right! And I am actually glad that I did mistake in an image I made from my system.

But hey, mistakes are part of growing...And Im glad that Ive experienced that so I gotta be more careful going through wiki :)

I believe one of the reason is the user $ merged-usr --dryrun was highlighted but not the # merged-usr. It was only stated in text
Top
grknight
Retired Dev
Retired Dev
Posts: 2568
Joined: Fri Feb 20, 2015 9:36 pm

Re: [SOLVE] HELP! merge-usr failure

  • Quote

Post by grknight » Fri Feb 17, 2023 2:00 pm

Ja.KooLit wrote:I believe one of the reason is the user $ merged-usr --dryrun was highlighted but not the # merged-usr. It was only stated in text
I've made a further change to clarify this.
Please note that wiki pages are meant to be read in between the commands for reasonings and when to and not to run a command.
The text bits are just as important.
Top
Ja.KooLit
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Feb 14, 2022 11:08 am
Location: Somewhere Over There!
Contact:
Contact Ja.KooLit
Website

Re: [SOLVE] HELP! merge-usr failure

  • Quote

Post by Ja.KooLit » Sat Feb 18, 2023 5:19 am

grknight wrote:
Ja.KooLit wrote:I believe one of the reason is the user $ merged-usr --dryrun was highlighted but not the # merged-usr. It was only stated in text
I've made a further change to clarify this.
Please note that wiki pages are meant to be read in between the commands for reasonings and when to and not to run a command.
The text bits are just as important.
thanks alot. Got to be honest that I have not gone through and not paid attention much to in between text. I have learned that now.

Saw the page, and it is more clear now specially the command to carry out before changing profile and actual upgrade.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic