GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm pretty new with gentoo, so forgive me if this has a easy solution.
This is also similar to a thread a little ways down, but his solution didn't work for me.
I'm trying to install kde, but emerge -pv kdebase-meta gives me errors. Side question: does emerge write to a log or something? I don't really want to rewrite everything it outputs, and for long outputs, piping it to less doesn't work well...
Code:
!!!Multiple package instances within a single package slot have been pulled
!!!into the dependancy graph, resulting in a slot conflict:
x11-libs/qt-core:4
('ebuild', '/' 'x11-libs/qt-core-4.5.3-r2', 'merge') pulled in by
~x11-libs/qt-core-4.5.3[-debug] required by ('ebuild', '/' 'x11-libs/qtlibs/qt-test-4.5.3-r1', 'merge'
('ebuild', '/' 'x11-libs/qt-core-4.5.1', 'merge') pulled in by
>=x11-libs/qt-core-4.5.1:4[qt3support,ssl] required by ('ebuild', '/', 'kde-base/libknotificationitem-4.3.1', 'merge')
>=x11-libs/qt-core-4.5.1:4[qt3support,ssl] required by ('ebuild', '/', 'kde-base/kdesu-4.3.1', 'merge')
<whole message about how it may be possible to solve the problem with masking>
emerge: there are no ebuilds built with USE flags to satisfy "~x11-libs/qt-core-4.5.3[qt3support,-debug]
!!! One or more of the following packages is required to complete your request:
- x11-libs/qt-core-4.5.3-r2 (Change USE: +qt3support)
dependancy required by "x11-libs/qt-qt3support-4.5.3" [ebuild])
" " " "kde-base/libknotificationitem-4.3.1" [ebuild])
" " " "kde-base/kdesu-4.3.1" [ebuild])
" " " "kde-base/kdebase-meta-4.3.1" [ebuild])
" " " "kdebase-meta" [argument])
adding qt3support to the USE line in /etc/make.conf creates more problems:
Code:
<a lot of stuff being pulled in by other stuff, goes off the top of the screen, | less doesn't help :( )
<the masked packages bit again>
emerge: there are no ebuilds built with USE flags to satisfy ">=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X]".
!!! One of the following packages is required to complete your request:
- dev-python/PyQt4-4.5.4-r4 (change USE: +sql +svg +webkit)
dependancy required by: pykde4-4.3.1, plasma-workspace-4.3.1, kdebase-meta-4.3.1, kdebase-meta
adding those flags results in a similar output, this time with the opengl flag. Adding that spits out something about blocked packages that I can't read because it's off the top of the screen. Any ideas?
adding qt3support to the USE line in /etc/make.conf creates more problems:
It doesn't create more problems. It reveals one more problem that has to be fixed. It's quite different.
This problem here:
Code:
there are no ebuilds built with USE flags to satisfy ">=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X]".
!!! One of the following packages is required to complete your request:
- dev-python/PyQt4-4.5.4-r4 (change USE: +sql +svg +webkit)
pykde4-4.3.1, plasma-workspace-4.3.1, kdebase-meta-4.3.1, kdebase-meta
means that pykde4-4.3.1, plasma-workspace-4.3.1, kdebase-meta-4.3.1 and kdebase-meta requires PyQt4 with the +sql +svg +webkit flags.
You can enable per package specific use flags in /etc/portage/package.use
For example to fix the flag dependencies on PyQt4 on your case you can:
Code:
dev-python/PyQt sql svg webkit
Of course you can also resolve it by putting the flags globally in make.conf
Use this method to resolve consequent flag dependencies until you have no issue left.
It's out of my scope to tell you what is the best solution for your case because I assume you have chosen gentoo for the purpose of having power on your package customizations.
Putting the flags on make.conf or /etc/portage/package.use is entirely your call.
I already added all of the requested use flags, and eventually it leads to no more USE flag messages, just blocked packages. Sorry if that wasn't clear in the original post.
I already added all of the requested use flags, and eventually it leads to no more USE flag messages, just blocked packages. Sorry if that wasn't clear in the original post.
No problem, but you actually were not very clear. I can't see any message of blocked packages.
Anyway, blocked packages can be solved by emerge --unmerge the blocked package.
Also after changing global flags, you should emerge -uDNav world to rebuild everything that as the flags changed, and emerge --depclean after.
After that use revdep-rebuild command to rebuild broken libraries.
Unfortunately, it just says that there is no matching package installed, which makes sense because I never got to the part where anything gets installed.
I see x11-libs/qt-test-4.5.1-r9999, qt-core-4.5.1-r9999.
Do you have any custom kde overlay(repository) enabled?
Did you installed with layman?
Are you fallowing this guide? http://www.gentoo.org/proj/en/deskto...kde4-guide.xml
If yes, this guide is totally outdated. Kde 4 is alredy on the gentoo overlay, so no need to add an aditional overlay.
If this is the case then your problem was found.
Remove the overlay: layman -d kde or layman -d kde-testing. (-d or -D . I can't remember).
update the tree: emerge --sync
emerge -uDNav world
emerge --depclean
revdep-rebuild
If this didn't solve your problem, post a bug report, or wait that someone else may bump on this article that as more ideas.
I think I'm out of more ideas.
By what you said(and try) you may have some case of circular dependencies when some flag is enabled, or something similar. If that's the case, it's a bug.
I humbly ask for help on this one from other members of LQ becouse I think this is out of my league.
...
...
...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.