On martedì 29 luglio 2025 12:18:06 Ora legale dell’Europa centrale Philip Webb
wrote:
> 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.
If I'm not mistaken, your problem comes from the fact you're emerging shadow
with the su USE flag while having util-linux installed with the same USE flag.
Since that flag enables building the "su" program, it be set for both packages.
I think what you should disable the "su" flag for either shadow or util-linux.
On my system, I have it on for util-linux and not for shadow.
I hope this helps
Stefano