View previous topic :: View next topic |
Author |
Message |
linuxfluesterer Tux's lil' helper
Joined: 06 Jan 2016 Posts: 130 Location: Germany
|
Posted: Thu Jul 19, 2018 10:16 am Post subject: [SOLVED] Dependency problems with emerge world. |
|
|
Hallo friends.
Before upgrading my Plasma-5.12.6 to version 5.13.x, I wanted to update my system with and Code: | emerge -avuDN world |
eix-sync works fine, while emerge -avuDN world produces messages, which I know from before, first time, when I wanted to install Plasma-Meta-5.12.6.
Here's the messages:
Code: | These are the packages that would be merged, in order:
Calculating dependencies
* IMPORTANT: 17 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
. .... done!
[ebuild N ] virtual/perl-podlators-4.70.0-r1::gentoo 0 KiB
[ebuild U ] dev-perl/libintl-perl-1.280.0::gentoo [1.240.0-r2::gentoo] 460 KiB
[ebuild U ] dev-perl/Module-Build-0.422.400::gentoo [0.421.600::gentoo] USE="{-test}" 298 KiB
[ebuild U ] dev-ruby/rubygems-2.7.6-r1::gentoo [2.7.6::gentoo] USE="-server {-test}" RUBY_TARGETS="ruby23 (-ruby24) (-ruby25)" 0 KiB
[ebuild N ] app-i18n/man-pages-de-1.15::gentoo 1.494 KiB
[ebuild R ] sys-apps/man-pages-4.15::gentoo USE="nls" L10N="de* -da -fr -it -ja -nl -pl -ru -zh-CN" 1.590 KiB
[ebuild U ] dev-qt/qtcore-5.9.6:5/5.9::gentoo [5.9.4-r2:5/5.9::gentoo] USE="icu systemd -debug {-test}" 44.072 KiB
[ebuild U ] net-misc/curl-7.61.0::gentoo [7.60.0::gentoo] USE="ipv6 ldap ssl -adns -brotli -http2 -idn -kerberos -metalink -rtmp -samba -ssh -static-libs {-test} -threads" ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -axtls -gnutls -libressl -mbedtls -nss (-winssl)" 2.881 KiB
[ebuild R ] www-client/w3m-0.5.3_p20180125::gentoo USE="X gpm nls ssl unicode -fbcon -gdk-pixbuf -imlib -libressl -lynxkeymap -nntp -xface" L10N="de* -ja" 0 KiB
[ebuild U ] dev-qt/qtxml-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="-debug {-test}" 0 KiB
[ebuild U ] dev-qt/qtnetwork-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="ssl -bindist -connman -debug -libproxy -libressl -networkmanager {-test}" 0 KiB
[ebuild U ] dev-qt/qtsql-5.9.6-r1:5/5.9.6::gentoo [5.9.4-r1:5/5.9::gentoo] USE="mysql sqlite -debug -freetds -oci8 -odbc -postgres {-test}" 0 KiB
[ebuild U ] dev-qt/qtconcurrent-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="-debug {-test}" 0 KiB
[ebuild U ] dev-qt/qttest-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="-debug {-test}" 0 KiB
[ebuild U ] dev-qt/qtpaths-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="-debug {-test}" 9.351 KiB
[ebuild U ] media-libs/harfbuzz-1.8.1:0/0.9.18::gentoo [1.7.6:0/0.9.18::gentoo] USE="cairo glib graphite introspection truetype -debug -fontconfig -icu -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 3.716 KiB
[ebuild U ] dev-qt/qtxmlpatterns-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="-debug {-test}" 1.313 KiB
[ebuild R ] sys-apps/dbus-1.10.24::gentoo USE="X systemd -debug -doc -elogind (-selinux) -static-libs {-test} -user-session*" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild U ] dev-qt/qtdbus-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="-debug {-test}" 0 KiB
[ebuild U ] dev-qt/qtgui-5.9.6:5/5.9::gentoo [5.9.4-r3:5/5.9::gentoo] USE="dbus egl gif jpeg libinput png udev xcb -accessibility -debug -eglfs -evdev (-gles2) -ibus {-test} -tslib -tuio -vnc" 0 KiB
[ebuild U ] dev-qt/qdbus-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="-debug {-test}" 0 KiB
[ebuild U ] dev-qt/qtx11extras-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="-debug {-test}" 76 KiB
[ebuild R ] net-wireless/bluez-5.49-r1:0/3::gentoo USE="alsa cups mesh obex readline systemd udev -debug -deprecated -doc -experimental -extra-tools (-selinux) {-test} -test-programs -user-session*" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild U ] dev-qt/qtwidgets-5.9.6-r1:5/5.9::gentoo [5.9.4-r1:5/5.9::gentoo] USE="gtk png xcb -debug (-gles2) {-test}" 0 KiB
[ebuild R ] app-text/ghostscript-gpl-9.21::gentoo USE="X cups dbus gtk tiff unicode -static-libs" L10N="de* -ja -ko -zh-CN -zh-TW" 0 KiB
[ebuild U ] dev-qt/qtsvg-5.9.6:5/5.9::gentoo [5.9.4-r2:5/5.9::gentoo] USE="-debug {-test}" 1.737 KiB
[ebuild U ] dev-qt/qtscript-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="jit scripttools -debug {-test}" 2.547 KiB
[ebuild U ] dev-qt/qtdeclarative-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="jit widgets xml -debug (-gles2) -localstorage {-test}" 20.916 KiB
[ebuild U ] dev-qt/qtprintsupport-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="cups -debug (-gles2) {-test}" 0 KiB
[ebuild U ] dev-qt/qtopengl-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="-debug (-gles2) {-test}" 0 KiB
[ebuild U ] dev-qt/linguist-tools-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="qml -debug {-test}" 0 KiB
[ebuild U ] dev-qt/qtgraphicaleffects-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="-debug {-test}" 13.894 KiB
[ebuild U ] dev-qt/designer-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="declarative -debug {-test} -webkit" 0 KiB
[ebuild U ] dev-qt/qtquickcontrols-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="widgets -debug {-test}" 5.873 KiB
[ebuild U ] dev-qt/qtwayland-5.9.6:5/5.9::gentoo [5.9.4-r1:5/5.9::gentoo] USE="libinput xcomposite -debug {-test}" 309 KiB
[ebuild U ] dev-qt/qtvirtualkeyboard-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="spell xcb -debug -handwriting {-test}" 9.811 KiB
[ebuild U ] dev-qt/qtsensors-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="qml -debug {-test}" 1.948 KiB
[ebuild U ] dev-qt/qtquickcontrols2-5.9.6:5/5.9::gentoo [5.9.4:5/5.9::gentoo] USE="widgets -debug {-test}" 4.061 KiB
[ebuild UD ] kde-apps/baloo-widgets-17.12.3:5::gentoo [18.04.2:5::gentoo] USE="-debug {-test}" 148 KiB
[ebuild UD ] kde-apps/konsole-17.12.3:5::gentoo [18.04.2:5::gentoo] USE="X handbook -debug {-test}" 1.003 KiB
[ebuild UD ] kde-apps/kio-extras-17.12.3:5::gentoo [18.04.2-r1:5::gentoo] USE="activities handbook man phonon sftp -debug -htmlthumbs -mtp -openexr -samba -slp% -taglib {-test}" 0 KiB
[ebuild UD ] kde-apps/dolphin-17.12.3:5::gentoo [18.04.2:5::gentoo] USE="handbook semantic-desktop -debug {-test} -thumbnail" 4.729 KiB
[ebuild UD ] kde-apps/kate-17.12.3:5::gentoo [18.04.2:5::gentoo] USE="addons handbook -debug {-test}" 5.498 KiB
Total: 43 packages (31 upgrades, 5 downgrades, 2 new, 5 reinstalls), Size of downloads: 137.716 KiB
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
sys-apps/dbus:0
(sys-apps/dbus-1.10.24:0/0::gentoo, ebuild scheduled for merge) pulled in by
>=sys-apps/dbus-1.6:=[user-session=] required by (net-wireless/bluez-5.49-r1:0/3::gentoo, ebuild scheduled for merge)
^^^^^^^^^^^^^
(sys-apps/dbus-1.10.24:0/0::gentoo, installed) pulled in by
sys-apps/dbus[user-session] required by (kde-plasma/plasma-workspace-5.12.6:5/5::gentoo, installed)
^^^^^^^^^^^^
It might be possible to solve this slot collision
by applying all of the following changes:
- sys-apps/dbus-1.10.24 (Change USE: +user-session)
- net-wireless/bluez-5.49-r1 (Change USE: +user-session) |
I looked around for this case with emerge updates and found this:
https://forums.gentoo.org/viewtopic-t-1070586-start-0.html
but maybe I do not understand, what is the solution now, or it doesn't work for me.
I also tried to execute: Code: | emerge -a -1 dbus bluez |
and then the Code: | emerge -avuDN world | again, but received the same error messages (see above).
I also tried this: Code: | USE="+user-session" emerge bluez |
which leaded into the same error messages when executing Code: | emerge -avuDN world |
So, how can I simply get rid of this dbus problem for ever, which I don't know how to solve at least for now, pls?
Btw... do I need emerge -avuDN world to upgrade my system (I assume so, but I'm not sure)?
Thank you very much in advance.
-Linuxfluesterer
Last edited by linuxfluesterer on Thu Jul 19, 2018 1:38 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30913 Location: here
|
Posted: Thu Jul 19, 2018 10:25 am Post subject: |
|
|
If you use systemd plasma-workspace need sys-apps/dbus package compiled with user-session use flags.
The you need enable user-session on sys-apps/dbus, net-wireless/bluez and kde-plasma/plasma-workspace
Code: | # echo "sys-apps/dbus user-session" >> /etc/portage/package.use
# echo "net-wireless/bluez user-session" >> /etc/portage/package.use
# echo "kde-plasma/plasma-workspace user-session" >> /etc/portage/package.use
# emerge -avuDU @world |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
linuxfluesterer Tux's lil' helper
Joined: 06 Jan 2016 Posts: 130 Location: Germany
|
Posted: Thu Jul 19, 2018 11:11 am Post subject: |
|
|
fedeliallalinea wrote: | If you use systemd plasma-workspace need sys-apps/dbus package compiled with user-session use flags.
The you need enable user-session on sys-apps/dbus, net-wireless/bluez and kde-plasma/plasma-workspace
Code: | # echo "sys-apps/dbus user-session" >> /etc/portage/package.use
# echo "net-wireless/bluez user-session" >> /etc/portage/package.use
# echo "kde-plasma/plasma-workspace user-session" >> /etc/portage/package.use
# emerge -avuDU @world |
|
Oh, thank you (again)!
When I (tried to) install Plasma-meta-5.12.6 before, my /etc/portage/packages.use/zz_autounmask was created like this: Code: | cat /mnt/nas-nfs/Gentoo/etc/portage/package.use/zz-autounmask
# package.use# required by kde-plasma/plasma-workspace-5.13.3::gentoo[systemd]
# required by kde-plasma/systemsettings-5.13.3::gentoo
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.10.24 user-session
# required by kde-plasma/plasma-workspace-5.13.3::gentoo[systemd]
# required by virtual/notification-daemon-0::gentoo[kde]
# required by x11-libs/libnotify-0.7.7::gentoo
# required by media-video/vlc-3.0.3-r1::gentoo[libnotify]
# required by media-libs/phonon-vlc-0.10.1::gentoo
# required by media-libs/phonon-4.10.1::gentoo[vlc]
# required by kde-apps/kio-extras-17.12.3::gentoo[phonon]
=sys-apps/dbus-1.10.18 user-session
# required by net-wireless/bluez-5.49-r1::gentoo
# required by net-misc/networkmanager-1.10.10::gentoo[bluetooth]
# required by kde-frameworks/networkmanager-qt-5.46.0::gentoo
# required by kde-plasma/powerdevil-5.13.3::gentoo[wireless]
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.12.8 -user-session
# required by kde-plasma/plasma-workspace-5.13.3::gentoo[systemd]
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.12.8 user-session
# required by net-wireless/bluez-5.49-r1::gentoo
# required by net-misc/networkmanager-1.10.10::gentoo[bluetooth]
# required by kde-frameworks/networkmanager-qt-5.46.0::gentoo
# required by kde-plasma/powerdevil-5.13.3::gentoo[wireless]
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.12.8 -user-session
# required by kde-plasma/plasma-workspace-5.13.3::gentoo[systemd]
# required by kde-plasma/powerdevil-5.13.3::gentoo
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.12.8 user-session
# required by net-wireless/bluez-5.49-r1::gentoo
# required by net-misc/networkmanager-1.10.10::gentoo[bluetooth]
# required by kde-frameworks/networkmanager-qt-5.46.0::gentoo
# required by kde-plasma/powerdevil-5.13.3::gentoo[wireless]
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.12.8 -user-session
# required by kde-plasma/plasma-workspace-5.13.3::gentoo[systemd]
# required by kde-plasma/kde-cli-tools-5.13.3::gentoo
# required by kde-plasma/plasma-desktop-5.13.3::gentoo
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.12.8 user-session
# required by net-wireless/bluez-5.49-r1::gentoo
# required by net-misc/networkmanager-1.10.10::gentoo[bluetooth]
# required by kde-frameworks/networkmanager-qt-5.46.0::gentoo
# required by kde-plasma/powerdevil-5.13.3::gentoo[wireless]
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.12.8 -user-session
# required by kde-plasma/plasma-workspace-5.13.3::gentoo[systemd]
# required by kde-plasma/kdeplasma-addons-5.13.3::gentoo
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.12.8 user-session
# required by net-wireless/bluez-5.49-r1::gentoo
# required by net-misc/networkmanager-1.10.10::gentoo[bluetooth]
# required by kde-frameworks/networkmanager-qt-5.46.0::gentoo
# required by kde-plasma/powerdevil-5.13.3::gentoo[wireless]
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.12.8 -user-session
# required by kde-plasma/plasma-workspace-5.13.3::gentoo[systemd]
# required by kde-plasma/plasma-meta-5.12.6::gentoo
# required by =plasma-meta-5.12.6 (argument)
>=sys-apps/dbus-1.12.8 user-session |
I see the difference to your advice is that in my file all dbus are versioned, which may confuse me (and the system also, lol).
I have deleted all the contents in this file and just only inserted the three lines: Code: | sys-apps/dbus user-session
net-wireless/bluez user-session
kde-plasma/plasma-workspace user-session |
Now, I'm running the upgrade.
Such another question, pls: Where are my global USE-flags?.
I assume, local flags are set in /etc/portage/package.use/zz_autounmask. Is that correct? Means, the flag settings in this file have a higher priority than the global USE flags settings and I would have to add a (different) flag for emerging a single package in a special situation in such this file?
-Linuxfluesterer |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30913 Location: here
|
Posted: Thu Jul 19, 2018 12:02 pm Post subject: |
|
|
linuxfluesterer wrote: | Such another question, pls: Where are my global USE-flags?. |
The global use flags are a sum of these that you set in make.conf and these enabled by profile. You can see these with emerge --info command
linuxfluesterer wrote: | I assume, local flags are set in /etc/portage/package.use/zz_autounmask. Is that correct? Means, the flag settings in this file have a higher priority than the global USE flags settings and I would have to add a (different) flag for emerging a single package in a special situation in such this file? |
Yes all use flag enabled/disabled in any file in /etc/portage/package.use/ directory have the priority on global use flags _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
linuxfluesterer Tux's lil' helper
Joined: 06 Jan 2016 Posts: 130 Location: Germany
|
Posted: Thu Jul 19, 2018 12:37 pm Post subject: |
|
|
Thank you, I already found this recommended site, and inspected my /etc/portage/make.conf
There's no line of a USE flag setting Code: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j8"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
LINGUAS="de en"
L10N="de en"
# GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/" |
So I was / I am confused, sorry to say...
Anyway, I see more clearly about details of Gentoo handling and settings. But of course, I'm still far away from customizing a well shaped Gentoo system in details, such as a lean kernel.
So, as I said, thank you (again).
-Linuxfluesterer |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30913 Location: here
|
Posted: Thu Jul 19, 2018 12:40 pm Post subject: |
|
|
linuxfluesterer wrote: | So I was / I am confused, sorry to say... |
It's not mandatory to having a USE variable in make.conf because the profile providing already a set of use flag, that you can see with emerge --info _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
linuxfluesterer Tux's lil' helper
Joined: 06 Jan 2016 Posts: 130 Location: Germany
|
Posted: Thu Jul 19, 2018 1:37 pm Post subject: |
|
|
fedeliallalinea wrote: | linuxfluesterer wrote: | So I was / I am confused, sorry to say... |
It's not mandatory to having a USE variable in make.conf because the profile providing already a set of use flag, that you can see with emerge --info |
Thanks again. I will close this thread as [SOLVED] now.
-Linuxfluesterer |
|
Back to top |
|
|
Ticsmtc n00b
Joined: 24 Feb 2019 Posts: 1
|
Posted: Sun Feb 24, 2019 4:58 pm Post subject: |
|
|
Big Thank from China !
Have been struggled aginst this problem for days !!! Almost give up . then i google it .... find this .
I am new to Gentoo (using openSUSE now ) .
In China , people's common choice is ubuntu or fedora.
anyway , thanks ! |
|
Back to top |
|
|
|
|
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
|
|