A hard Block "B" indicates a conflict
between what packages/versions you have installed or specified
and what portage seeks to install/update.
This requires manual intervention by the user to be resolved,
typically be editing any user additions in /etc/portage/.
A soft block "b" is resolvable by portage alone.
Either way, portage will install what you've told it you want on your system and generally will do so quite reliably.
Today, I encountered a demand for a USE flag '!gnutls' -- NB the '!' :An exclamation mark "!" before an item denotes a negation.
what does that mean ? 'USE="gnutls"' makes no difference
& there's no explanation of '!' via 'man emerge'.
You'd normally see this when emerge informs you
it cannot emerge a package with the USE flags you have currently specified.
250727 Michael wrote:
A hard Block "B" indicates a conflict
between what packages/versions you have installed or specified
and what portage seeks to install/update.
This requires manual intervention by the user to be resolved,
typically be editing any user additions in /etc/portage/.
A soft block "b" is resolvable by portage alone.
Either way, portage will install what you've told it you want on your system >> and generally will do so quite reliably.
Currently, 'shadow' has an 'U'pdate. Here's what I get when I try :
root:516 ~> emerge -pv shadow
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.78 s (backtrack: 0/20).
[ebuild U ] sys-apps/shadow-4.14.8:0/4::gentoo [4.13-r4:0/4::gentoo] USE="acl -audit (-bcrypt%) -cracklib nls pam (-selinux) -skey (split-usr) su* (-systemd) -verify-sig xattr" 1765 KiB
[blocks B ] sys-apps/util-linux[su(-)] ("sys-apps/util-linux[su(-)]" is soft blocking sys-apps/shadow-4.14.8)
[blocks B ] >=sys-apps/shadow-4.7-r2[su] (">=sys-apps/shadow-4.7-r2[su]" is soft blocking sys-apps/util-linux-2.41.1)
Total: 1 package (1 upgrade), Size of downloads: 1765 KiB[...]
Conflict: 2 blocks (2 unsatisfied)
-- end of Emerge output --
I looked at the Handbook entry cited, but it doesn't help.
No wonder, when you check the end :
"This page was last edited on 13 December 2014, at 19:42" !!
Can anyone explain what I'm supposed to make of the output above ?
How can I successfully update 'shadow', a vital system pkg ?
In case anyone doesn't know, I've been relying on Gentoo since 2003.
Most of the time, it does a very good job, but it needs some improvements.
Today, I encountered a demand for a USE flag '!gnutls' -- NB the '!' :An exclamation mark "!" before an item denotes a negation.
what does that mean ? 'USE="gnutls"' makes no difference
& there's no explanation of '!' via 'man emerge'.
You'd normally see this when emerge informs you
it cannot emerge a package with the USE flags you have currently specified.
Thanks, 'USE="-gnutls" emerge curl' appears to work.
However, where in Gentoo docs are we told that '!' = '-' ?
250727 Michael wrote:[snip ...]
A hard Block "B" indicates a conflict
between what packages/versions you have installed or specified
and what portage seeks to install/update.
This requires manual intervention by the user to be resolved,
typically be editing any user additions in /etc/portage/.
A soft block "b" is resolvable by portage alone.
Either way, portage will install what you've told it you want on your system and generally will do so quite reliably.
Currently, 'shadow' has an 'U'pdate. Here's what I get when I try :
root:516 ~> emerge -pv shadow
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.78 s (backtrack: 0/20).
[ebuild U ] sys-apps/shadow-4.14.8:0/4::gentoo [4.13-r4:0/4::gentoo] USE="acl -audit (-bcrypt%) -cracklib nls pam (-selinux) -skey (split-usr)
su* (-systemd) -verify-sig xattr" 1765 KiB [blocks B ] sys-apps/util-linux[su(-)] ("sys-apps/util-linux[su(-)]" is soft blocking sys-apps/shadow-4.14.8) [blocks B ] >=sys-apps/shadow-4.7-r2[su] (">=sys-apps/shadow-4.7-r2[su]" is soft blocking
sys-apps/util-linux-2.41.1)
Total: 1 package (1 upgrade), Size of downloads: 1765 KiB
Conflict: 2 blocks (2 unsatisfied)
An exclamation mark "!" before an item denotes a negation.
You'd normally see this when emerge informs you
it cannot emerge a package with the USE flags you have currently
specified.
Thanks, 'USE="-gnutls" emerge curl' appears to work.
However, where in Gentoo docs are we told that '!' = '-' ?
250727 Michael wrote:
A hard Block "B" indicates a conflict
between what packages/versions you have installed or specified
and what portage seeks to install/update.
This requires manual intervention by the user to be resolved,
typically be editing any user additions in /etc/portage/.
A soft block "b" is resolvable by portage alone.
Either way, portage will install what you've told it you want on your system and generally will do so quite reliably.
Currently, 'shadow' has an 'U'pdate. Here's what I get when I try :
root:516 ~> emerge -pv shadow
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.78 s (backtrack: 0/20).
[ebuild U ] sys-apps/shadow-4.14.8:0/4::gentoo [4.13-r4:0/4::gentoo] USE="acl -audit (-bcrypt%) -cracklib nls pam (-selinux) -skey (split-usr)
su* (-systemd) -verify-sig xattr" 1765 KiB [blocks B ] sys-apps/util-linux[su(-)] ("sys-apps/util-linux[su(-)]" is soft blocking sys-apps/shadow-4.14.8) [blocks B ] >=sys-apps/shadow-4.7-r2[su] (">=sys-apps/shadow-4.7-r2[su]" is soft blocking
sys-apps/util-linux-2.41.1)
Total: 1 package (1 upgrade), Size of downloads: 1765 KiB
Conflict: 2 blocks (2 unsatisfied)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(sys-apps/util-linux-2.41.1-2:0/0::gentoo, installed) pulled in by
sys-apps/util-linux:= required by (dev-lang/python-3.13.5:3.13/3.13::gentoo, installed) USE="-bluetooth
-build -debug ensurepip -examples gdbm (-jit) -libedit ncurses -pgo
readline sqlite ssl -test tk -valgrind -verify-sig" ABI_X86="(64)" LLVM_SLOT="18"
>=sys-apps/util-linux-2.30 required by
>(sys-libs/libblockdev-3.3.1:0/3::gentoo, installed) USE="cryptsetup
>-device-mapper -escrow -gtk-doc -introspection -lvm nvme -python
>-smart -test tools" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_11
>-python3_12 python3_13"
sys-apps/util-linux required by (sys-block/parted-3.6:0/0::gentoo, installed) USE="debug -device-mapper nls readline -verify-sig"
ABI_X86="(64)" sys-apps/util-linux required by (sys-boot/syslinux-6.04_pre1-r5:0/0::gentoo, installed) USE="bios
-secureboot uefi" ABI_X86="-32 (64)"
>=sys-apps/util-linux-2.30 required by
>(sys-fs/udisks-2.10.1-r3:2/2::gentoo, installed) USE="acl daemon
>-debug elogind introspection -lvm nls (-selinux) (-systemd)"
>ABI_X86="(64)" =sys-apps/util-linux-2.31-r1 required by
>(sys-fs/cryptsetup-2.7.5:0/12::gentoo, installed) USE="argon2 -fips
>-gcrypt -kernel -nettle nls openssl -pwquality -ssh -static
>-static-libs -test udev -urandom" ABI_X86="(64)"
>=sys-apps/util-linux-2.24.1-r3[abi_x86_64(-)] required by
>(x11-libs/libSM-1.2.4-1:0/0::gentoo, installed) USE="-doc userland_GNU
>uuid" ABI_X86="-32 (64) (-x32)"
sys-apps/util-linux:0/0= required by (dev-lang/python-3.12.11:3.12/3.12::gentoo, installed) USE="-bluetooth
-build -debug ensurepip -examples gdbm -libedit ncurses -pgo readline
sqlite ssl -test tk -valgrind -verify-sig" ABI_X86="(64)" sys-apps/util-linux[caps] required by (app-portage/pfl-3.5.3:0/0::gentoo, installed) USE="network-cron" ABI_X86="(64)" PYTHON_TARGETS="-python3_11 -python3_12 python3_13" sys-apps/util-linux required by (app-text/build-docbook-catalog-2.4-1:0/0::gentoo, installed) USE="" ABI_X86="(64)" sys-apps/util-linux required by (kde-frameworks/solid-6.13.0:6/6.13::gentoo, installed) USE="-debug -doc
-ios -test" ABI_X86="(64)" sys-apps/util-linux required by (app-text/xmlto-0.0.28-r10-2:0/0::gentoo, installed) USE="-latex text userland_GNU" ABI_X86="(64)" sys-apps/util-linux:0/0= required by (dev-lang/python-3.13.5:3.13/3.13::gentoo, installed) USE="-bluetooth
-build -debug ensurepip -examples gdbm (-jit) -libedit ncurses -pgo
readline sqlite ssl -test tk -valgrind -verify-sig" ABI_X86="(64)" LLVM_SLOT="18" sys-apps/util-linux required by (sys-auth/elogind-255.17:0/0::gentoo, installed) USE="acl -audit -cgroup-hybrid -debug -doc pam (policykit) (-selinux) -test" ABI_X86="(64)" sys-apps/util-linux required by (sys-apps/gptfdisk-1.0.9-r3:0/0::gentoo, installed) USE="ncurses -static" ABI_X86="(64)" sys-apps/util-linux
required by (sys-apps/portage-3.0.68:0/0::gentoo, installed) USE="-apidoc -build -doc -gentoo-dev (ipc) native-extensions rsync-verify (-selinux)
-test xattr" ABI_X86="(64)" PYTHON_TARGETS="(-pypy3_11) -python3_11 -python3_12 python3_13"
>=sys-apps/util-linux-2.23[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?
>,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi
>_s390_64(-)?] (>=sys-apps/util-linux-2.23[abi_x86_64(-)]) required by
>(dev-libs/glib-2.82.5:2/2::gentoo, installed) USE="dbus -debug -doc
>elf introspection (mime) (-selinux) -static-libs -sysprof -systemtap
>-test -utils xattr" ABI_X86="-32 (64) (-x32)"
>=sys-apps/util-linux-2.30:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32
>(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?
>,abi_s390_64(-)?] (>=sys-apps/util-linux-2.30:0=[abi_x86_64(-)])
>required by (sys-apps/systemd-utils-255.18:0/0::gentoo, installed)
>USE="acl -boot -kernel-install kmod -secureboot (-selinux) (split-usr)
>-sysusers -test tmpfiles udev -ukify" ABI_X86="-32 (64) (-x32)"
>PYTHON_SINGLE_TARGET="-python3_11 python3_12 -python3_13"
sys-apps/util-linux required by @system
sys-apps/util-linux:= required by (dev-lang/python-3.12.11:3.12/3.12::gentoo, installed) USE="-bluetooth
-build -debug ensurepip -examples gdbm -libedit ncurses -pgo readline
sqlite ssl -test tk -valgrind -verify-sig" ABI_X86="(64)" sys-apps/util-linux[abi_x86_64(-)] required by (net-misc/networkmanager-1.48.10-r1:0/0::gentoo, installed) USE="-audit -bluetooth concheck -connection-sharing -debug -dhclient dhcpcd elogind gnutls gtk-doc introspection -iptables -iwd -libedit modemmanager -nftables -nss -ofono -ovs (policykit) ppp -psl -resolvconf (-selinux) -syslog (-systemd) -teamd -test tools -vala wext wifi" ABI_X86="-32 (64) (-x32)"
>=sys-apps/util-linux-2.33.2 required by
>(sys-block/gparted-1.6.0-r2:0/0::gentoo, installed) USE="kde
>(policykit) -test wayland" ABI_X86="(64)"
sys-apps/util-linux[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_ n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (sys-apps/util-linux[abi_x86_64(-)]) required by (media-libs/fontconfig-2.16.2-r1:1.0/1.0::gentoo, installed) USE="-doc nls -test" ABI_X86="-32 (64) (-x32)" sys-apps/util-linux required by (sys-fs/e2fsprogs-1.47.2-r10-1:0/0::gentoo, installed) USE="-archive -cron -fuse nls -static-libs -test tools" ABI_X86="-32 (64) (-x32)"
>=sys-apps/util-linux-2.30:0/0=[abi_x86_64(-)] required by
>(sys-apps/systemd-utils-255.18:0/0::gentoo, installed) USE="acl -boot
>-kernel-install kmod -secureboot (-selinux) (split-usr) -sysusers
>-test tmpfiles udev -ukify" ABI_X86="-32 (64) (-x32)"
>PYTHON_SINGLE_TARGET="-python3_11 python3_12 -python3_13"
>=sys-apps/util-linux-2.19 required by
>(dev-libs/rasqal-0.9.33-r1:0/0::gentoo, installed) USE="crypt -gmp
>mhash pcre -static-libs -test xml" ABI_X86="(64)"
(sys-apps/shadow-4.14.8:0/4::gentoo, ebuild scheduled for merge) pulled in by sys-apps/shadow required by (net-misc/openssh-10.0_p1:0/0::gentoo, installed) USE="-audit (-debug) -kerberos -ldns -libedit -livecd pam pie -security-key (-selinux) ssl -static -test -verify-sig (-xmss)" ABI_X86="(64)" shadow
sys-apps/shadow required by @system
For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
-- end of Emerge output --
I looked at the Handbook entry cited, but it doesn't help.
No wonder, when you check the end :
"This page was last edited on 13 December 2014, at 19:42" !!
Can anyone explain what I'm supposed to make of the output above ?
How can I successfully update 'shadow', a vital system pkg ?
In case anyone doesn't know, I've been relying on Gentoo since 2003.
Most of the time, it does a very good job, but it needs some improvements.
On 2025-07-29, Philip Webb wrote:
Currently, 'shadow' has an 'U'pdate. Here's what I get when I try :From these lines, it's somewhat clear that the problem is
root:516 ~> emerge -pv shadow
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.78 s (backtrack: 0/20).
[ebuild U ] sys-apps/shadow-4.14.8:0/4::gentoo [4.13-r4:0/4::gentoo] USE="acl -audit (-bcrypt%) -cracklib nls pam (-selinux) -skey (split-usr) su* (-systemd) -verify-sig xattr" 1765 KiB
[blocks B ] sys-apps/util-linux[su(-)] ("sys-apps/util-linux[su(-)]" is soft blocking sys-apps/shadow-4.14.8)
[blocks B ] >=sys-apps/shadow-4.7-r2[su] (">=sys-apps/shadow-4.7-r2[su]" is soft blocking sys-apps/util-linux-2.41.1)
that only one of these two packages can have the "su" USE flag set.
This because both can provide the "su" utility.
If you did not change any USE flags, I guess a quick first step after this would be to try to update util-linux as well,
just in case that's all it takes.
In case it was you who manually enabled the "su" flag for shadow,
you need to ensure that util-linux has it disabled
& then update both at the same time.
I looked at the Handbook entry cited, but it doesn't help.That, by itself, is not an indication that it is not suitable.
No wonder, when you check the end :
"This page was last edited on 13 December 2014, at 19:42" !!
However, where in Gentoo docs are we told that '!' = '-' ?I'd guess in the online manual page for the ebuild syntax : 'man 5 ebuild'.
Yes, that's the explanation for the problem.
It comes back that I encountered it before some years ago
& chose to enable 'su' for 'util-linux'.
I've now added lines in 'package.use' to set the flag appropriately
& have successfully updated both pkgs.
However, I continue to believe that Portage could do a better job
in reporting the nature of the problem.
250729 Nuno Silva wrote:
On 2025-07-29, Philip Webb wrote:
Currently, 'shadow' has an 'U'pdate. Here's what I get when I try :
root:516 ~> emerge -pv shadow
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.78 s (backtrack: 0/20).
[ebuild U ] sys-apps/shadow-4.14.8:0/4::gentoo
[4.13-r4:0/4::gentoo] USE="acl -audit (-bcrypt%) -cracklib nls pam
(-selinux) -skey (split-usr) su* (-systemd) -verify-sig xattr" 1765
KiB [blocks B ] sys-apps/util-linux[su(-)]
("sys-apps/util-linux[su(-)]" is soft blocking sys-apps/shadow-4.14.8) >> [blocks B ] >=sys-apps/shadow-4.7-r2[su]
(">=sys-apps/shadow-4.7-r2[su]" is soft blocking
sys-apps/util-linux-2.41.1)>
From these lines, it's somewhat clear that the problem is
that only one of these two packages can have the "su" USE flag set.
This because both can provide the "su" utility.
If you did not change any USE flags, I guess a quick first step after this would be to try to update util-linux as well,
just in case that's all it takes.
In case it was you who manually enabled the "su" flag for shadow,
you need to ensure that util-linux has it disabled
& then update both at the same time.
Yes, that's the explanation for the problem.
It comes back that I encountered it before some years ago
& chose to enable 'su' for 'util-linux'.
I've now added lines in 'package.use' to set the flag appropriately
& have successfully updated both pkgs.
250730 Eli Schwartz wrote:
On 7/30/25 4:50 AM, Philip Webb wrote:
Yes, that's the explanation for the problem.
It comes back that I encountered it before some years ago
& chose to enable 'su' for 'util-linux'.
I've now added lines in 'package.use' to set the flag appropriately
& have successfully updated both pkgs.
However, I continue to believe that Portage could do a better job
in reporting the nature of the problem.
I agree! :) I believe this is a known issue,
which I reported at https://bugs.gentoo.org/916462
Portage's error message wording isn't always the best,
it would be very nice if it could be improved.
Finally, some support for common sense !
On 7/30/25 4:50 AM, Philip Webb wrote:
Yes, that's the explanation for the problem.I agree! :) I believe this is a known issue,
It comes back that I encountered it before some years ago
& chose to enable 'su' for 'util-linux'.
I've now added lines in 'package.use' to set the flag appropriately
& have successfully updated both pkgs.
However, I continue to believe that Portage could do a better job
in reporting the nature of the problem.
which I reported at https://bugs.gentoo.org/916462
Portage's error message wording isn't always the best,
it would be very nice if it could be improved.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 02:58:05 |
Calls: | 10,386 |
Calls today: | 1 |
Files: | 14,057 |
Messages: | 6,416,587 |