View previous topic :: View next topic |
Author |
Message |
LemonadeLlama Tux's lil' helper
Joined: 26 May 2021 Posts: 105 Location: New Zealand
|
Posted: Fri Nov 26, 2021 9:47 am Post subject: Understanding dependency conflicts |
|
|
So, I'm having issues updating my nvidia-drivers. I'm using a multilib system.
Code: |
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-apps/hwids-20210613-r2::gentoo [20210613-r1::gentoo] USE="net pci udev usb -systemd" 0 KiB
[ebuild U ] dev-libs/gmp-6.2.1-r2:0/10.4::gentoo [6.2.1-r1:0/10.4::gentoo] USE="asm cxx -doc -pic -static-libs" ABI_X86="32 (64) (-x32)" 3 KiB
[ebuild NS ] sys-kernel/gentoo-sources-5.15.5:5.15.5::gentoo [5.15.4:5.15.4::gentoo] USE="-build -experimental -symlink" 386 KiB
[ebuild U ] media-libs/libexif-0.6.24::gentoo [0.6.23::gentoo] USE="nls -doc (-static-libs%)" ABI_X86="(64) -32 (-x32)" 1,946 KiB
[ebuild U ] dev-util/meson-0.60.2-r1::gentoo [0.60.1::gentoo] USE="(-test)" PYTHON_TARGETS="python3_9 -python3_8 -python3_10" 1,952 KiB
[ebuild U ] dev-python/charset_normalizer-2.0.8::gentoo [2.0.7::gentoo] USE="-test" PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10" 78 KiB
[ebuild U ] x11-libs/libdrm-2.4.108::gentoo [2.4.107::gentoo] USE="-libkms -valgrind" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="-amdgpu (-exynos) (-freedreno) -intel -nouveau (-omap) -radeon (-tegra) (-vc4) (-vivante) -vmware" 423 KiB
[ebuild U ] dev-libs/libevdev-1.12.0::gentoo [1.11.0::gentoo] USE="-doc -test" ABI_X86="(64) -32 (-x32)" 434 KiB
[ebuild U ] dev-lang/ruby-2.7.5:2.7::gentoo [2.7.4-r1:2.7::gentoo] USE="examples gdbm ipv6 rdoc ssl -berkdb -debug -doc -jemalloc -jit -rubytests -socks5 -static-libs -systemtap -tk -xemacs" 11,791 KiB
[ebuild U ] dev-lang/ruby-2.6.9:2.6::gentoo [2.6.8:2.6::gentoo] USE="examples gdbm ipv6 rdoc ssl -berkdb -debug -doc -jemalloc -jit -rubytests -socks5 -static-libs -systemtap -tk -xemacs" 11,319 KiB
[ebuild U ] dev-lang/ruby-3.0.3:3.0::gentoo [3.0.2-r1:3.0::gentoo] USE="examples gdbm ipv6 rdoc ssl -berkdb -debug -doc -jemalloc -jit -rubytests -socks5 -static-libs -systemtap -tk -xemacs" 14,641 KiB
[ebuild U ] dev-ruby/rubygems-3.2.22::gentoo [3.2.14::gentoo] USE="-server -test" RUBY_TARGETS="ruby26 ruby27 ruby30" 1,208 KiB
[ebuild U ] dev-vcs/git-2.34.1::gentoo [2.34.0::gentoo] USE="blksha1 curl gpg iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gnome-keyring -highlight -mediawiki -mediawiki-experimental -perforce (-ppcsha1) -subversion -test -tk -xinetd" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 6,955 KiB
Total: 13 packages (12 upgrades, 1 in new slot), Size of downloads: 51,130 KiB
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
x11-drivers/nvidia-drivers:0
(x11-drivers/nvidia-drivers-495.44-r2:0/495::gentoo, ebuild scheduled for merge) USE="X driver static-libs tools -dist-kernel -wayland" ABI_X86="(64) -32 (-x32)" conflicts with
>=x11-drivers/nvidia-drivers-470.57.02[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/nv-codec-headers-11.1.5.0:0/0::gentoo, installed) USE="" ABI_X86="32 (64) (-x32)"
x11-drivers/nvidia-drivers[abi_x86_32,multilib(+)] required by (games-util/steam-games-meta-0-r20210323:0/0::steam-overlay, installed) USE="steamruntime -mono -steamgames_bioshock_infinite -steamgames_defenders_quest -steamgames_dirt_rally -steamgames_dont_starve -steamgames_dwarfs -steamgames_hammerwatch -steamgames_ironclad_tactics -steamgames_journey_down -steamgames_narcissu -steamgames_painkiller -steamgames_portal -steamgames_shadow_mordor -steamgames_shatter -steamgames_source_engine -steamgames_te120 -steamgames_tf2 -steamgames_trine2 -steamgames_voidexpanse -steamgames_witcher2" ABI_X86="(64)" VIDEO_CARDS="nvidia"
^^^^^^^^^^
x11-drivers/nvidia-drivers[abi_x86_32,multilib(+)] required by (games-util/steam-client-meta-0-r20210804:0/0::steam-overlay, installed) USE="pulseaudio steamfonts steamruntime -steamvr -trayicon" ABI_X86="(64)" VIDEO_CARDS="nvidia -intel"
^^^^^^^^^^
Would you like to merge these packages? [Yes/No] No
Quitting.
|
I can see that the issue is the abi_x86_32 use flag. My concern is that I don't know how to fix this. Should I just add ABI_X86="64 32" to my make.conf file and rebuild everything? Or is there a way to fix just the nvidia-drivers package? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31431 Location: here
|
Posted: Fri Nov 26, 2021 10:01 am Post subject: |
|
|
If you enable a use flag in make.conf this is applied to all packages installed, it's better to use /etc/portage/package.use for set the use flags per package. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
LemonadeLlama Tux's lil' helper
Joined: 26 May 2021 Posts: 105 Location: New Zealand
|
Posted: Fri Nov 26, 2021 10:05 am Post subject: |
|
|
fedeliallalinea wrote: | If you enable a use flag in make.conf this is applied to all packages installed, it's better to use /etc/portage/package.use for set the use flags per package. |
Got it. How do I tell from this output what flag I'm meant to add or remove, and from where in the package.use directory? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31431 Location: here
|
Posted: Fri Nov 26, 2021 10:36 am Post subject: |
|
|
Code: | x11-drivers/nvidia-drivers:0
(x11-drivers/nvidia-drivers-495.44-r2:0/495::gentoo, ebuild scheduled for merge) USE="X driver static-libs tools -dist-kernel -wayland" ABI_X86="(64) -32 (-x32)" conflicts with
>=x11-drivers/nvidia-drivers-470.57.02[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/nv-codec-headers-11.1.5.0:0/0::gentoo, installed) USE="" ABI_X86="32 (64) (-x32)"
x11-drivers/nvidia-drivers[abi_x86_32,multilib(+)] required by (games-util/steam-games-meta-0-r20210323:0/0::steam-overlay, installed) USE="steamruntime -mono -steamgames_bioshock_infinite -steamgames_defenders_quest -steamgames_dirt_rally -steamgames_dont_starve -steamgames_dwarfs -steamgames_hammerwatch -steamgames_ironclad_tactics -steamgames_journey_down -steamgames_narcissu -steamgames_painkiller -steamgames_portal -steamgames_shadow_mordor -steamgames_shatter -steamgames_source_engine -steamgames_te120 -steamgames_tf2 -steamgames_trine2 -steamgames_voidexpanse -steamgames_witcher2" ABI_X86="(64)" VIDEO_CARDS="nvidia"
^^^^^^^^^^
x11-drivers/nvidia-drivers[abi_x86_32,multilib(+)] required by (games-util/steam-client-meta-0-r20210804:0/0::steam-overlay, installed) USE="pulseaudio steamfonts steamruntime -steamvr -trayicon" ABI_X86="(64)" VIDEO_CARDS="nvidia -intel"
^^^^^^^^^^ |
Follow the ^^^^, portage message tell you that games-util/steam-client-meta required by x11-drivers/nvidia-drivers[abi_x86_32] so echo "x11-drivers/nvidia-drivers abi_x86_32" >> /etc/portage/package.use. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
LemonadeLlama Tux's lil' helper
Joined: 26 May 2021 Posts: 105 Location: New Zealand
|
Posted: Fri Nov 26, 2021 10:58 am Post subject: |
|
|
I did that, and I'm emerging the packages now.
I have another question about the output:
Code: |
sudo emerge --ask --verbose --newuse --deep --with-bdeps=y --update @world
Password:
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-apps/hwids-20210613-r2::gentoo [20210613-r1::gentoo] USE="net pci udev usb -systemd" 0 KiB
[ebuild U ] dev-libs/gmp-6.2.1-r2:0/10.4::gentoo [6.2.1-r1:0/10.4::gentoo] USE="asm cxx -doc -pic -static-libs" ABI_X86="32 (64) (-x32)" 3 KiB
[ebuild NS ] sys-kernel/gentoo-sources-5.15.5:5.15.5::gentoo [5.15.4:5.15.4::gentoo] USE="-build -experimental -symlink" 386 KiB
[ebuild U ] media-libs/libexif-0.6.24::gentoo [0.6.23::gentoo] USE="nls -doc (-static-libs%)" ABI_X86="(64) -32 (-x32)" 1,946 KiB
[ebuild U ] dev-util/meson-0.60.2-r1::gentoo [0.60.1::gentoo] USE="(-test)" PYTHON_TARGETS="python3_9 -python3_8 -python3_10" 1,952 KiB
[ebuild U ] dev-python/charset_normalizer-2.0.8::gentoo [2.0.7::gentoo] USE="-test" PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10" 78 KiB
[ebuild U ] x11-libs/libdrm-2.4.108::gentoo [2.4.107::gentoo] USE="-libkms -valgrind" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="-amdgpu (-exynos) (-freedreno) -intel -nouveau (-omap) -radeon (-tegra) (-vc4) (-vivante) -vmware" 423 KiB
[ebuild U ] dev-libs/libevdev-1.12.0::gentoo [1.11.0::gentoo] USE="-doc -test" ABI_X86="(64) -32 (-x32)" 434 KiB
[ebuild U ] dev-lang/ruby-2.7.5:2.7::gentoo [2.7.4-r1:2.7::gentoo] USE="examples gdbm ipv6 rdoc ssl -berkdb -debug -doc -jemalloc -jit -rubytests -socks5 -static-libs -systemtap -tk -xemacs" 11,791 KiB
[ebuild U ] dev-lang/ruby-2.6.9:2.6::gentoo [2.6.8:2.6::gentoo] USE="examples gdbm ipv6 rdoc ssl -berkdb -debug -doc -jemalloc -jit -rubytests -socks5 -static-libs -systemtap -tk -xemacs" 11,319 KiB
[ebuild U ] dev-lang/ruby-3.0.3:3.0::gentoo [3.0.2-r1:3.0::gentoo] USE="examples gdbm ipv6 rdoc ssl -berkdb -debug -doc -jemalloc -jit -rubytests -socks5 -static-libs -systemtap -tk -xemacs" 14,641 KiB
[ebuild U ] dev-ruby/rubygems-3.2.22::gentoo [3.2.14::gentoo] USE="-server -test" RUBY_TARGETS="ruby26 ruby27 ruby30" 1,208 KiB
[ebuild U ] dev-vcs/git-2.34.1::gentoo [2.34.0::gentoo] USE="blksha1 curl gpg iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gnome-keyring -highlight -mediawiki -mediawiki-experimental -perforce (-ppcsha1) -subversion -test -tk -xinetd" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 6,955 KiB
Total: 13 packages (12 upgrades, 1 in new slot), Size of downloads: 51,130 KiB
Would you like to merge these packages? [Yes/No] Yes
|
The packages that appeared in my error messages were nvidia-drivers, steam-client-meta, steam-games-meta, and nv-coded-headers. How come NONE of those packages are being rebuilt? I thought those were the ones with dependency conflicts. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3943
|
Posted: Fri Nov 26, 2021 11:04 am Post subject: |
|
|
fedeliallalinea wrote: |
Follow the ^^^^
|
Oh you mean go up 2 or three lines?
Thanks a lot for your precious clarity.
But how on earth are we supposed to know this?
Portage messages indeed are at times very cryptic.
Maybe the community needs a tutorial of all these obscure little indications.
Something like
How to Decode Portage Semiology. _________________
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31431 Location: here
|
Posted: Fri Nov 26, 2021 11:19 am Post subject: |
|
|
fedeliallalinea wrote: | Follow the ^^^^, portage message tell you that games-util/steam-client-meta required by x11-drivers/nvidia-drivers[abi_x86_32] so echo "x11-drivers/nvidia-drivers abi_x86_32" >> /etc/portage/package.use. |
Sorry I misspelled it, it should be
x11-drivers/nvidia-drivers[abi_x86_32] required by games-util/steam-client-meta (and steam-games-meta and nv-coded-headers ) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23024
|
Posted: Fri Nov 26, 2021 6:19 pm Post subject: |
|
|
alamahant wrote: | fedeliallalinea wrote: | Follow the ^^^^ | Oh you mean go up 2 or three lines?
Thanks a lot for your precious clarity.
But how on earth are we supposed to know this?
Portage messages indeed are at times very cryptic.
Maybe the community needs a tutorial of all these obscure little indications.
Something like
How to Decode Portage Semiology. | First, there is no need to be snarky here. Second, no, you don't go up any lines. You just need a wider terminal. The ^ occur in the same column as the content that Portage is trying to draw you too. In this case, the terminal wasn't wide enough, so line wrapping resulted, which made it confusing to read. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3943
|
Posted: Fri Nov 26, 2021 6:27 pm Post subject: |
|
|
Quote: |
First, there is no need to be snarky here
|
Not at all.
I was very respectful.
Which part of my post sounded off?
There was no hint of irony or whatever intended or expressed.
I sincerely thanked fedeliallalinea for the insight.
I just expressed my sincere desire for a nice comprehensive Portage semiotics tutorial.
You misunderstood me Hu. _________________
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23024
|
Posted: Fri Nov 26, 2021 7:48 pm Post subject: |
|
|
This part sounded snarky to me: alamahant wrote: | Oh you mean go up 2 or three lines?
Thanks a lot for your precious clarity. | For good or ill, "Thanks a lot for X" is often read as sarcastic. The use of "precious clarity" seemed to emphasize the sarcastic nature. I am sorry for my unwarranted criticism. |
|
Back to top |
|
|
|