View previous topic :: View next topic |
Author |
Message |
contraversy n00b
Joined: 28 Apr 2012 Posts: 39
|
Posted: Sun Nov 17, 2013 4:59 am Post subject: Noob Package.mask question |
|
|
Ok So I tried reading the wiki but was still a bit confused and need clarification.
I had to remove a dev-qt/qtwebkit package so I could install chromium due to a package conflict. Now that I have my machine back up and running I want to go back and fix it.
So I run emerge @preserved-rebuild and this is my delimma
Code: | Calculating dependencies... done!
[ebuild R ] dev-libs/libxml2-2.9.1-r1 USE="-icu*"
[ebuild N ] dev-qt/qtwebkit-4.8.5 USE="exceptions gstreamer jit (-aqua) -debug -icu -pch"
[ebuild R ] kde-base/kdelibs-4.10.5-r1
[ebuild R ] kde-base/ksysguard-4.10.5
[ebuild R ] kde-base/rocs-4.10.5
[ebuild R ] kde-base/marble-4.10.5
[ebuild R ] kde-base/kdebase-kioslaves-4.10.5
[ebuild R ] kde-base/blogilo-4.10.5
[ebuild R ] kde-base/drkonqi-4.10.5
[ebuild R ] kde-base/kdepim-common-libs-4.10.5
[ebuild R ] kde-base/plasma-workspace-4.10.5-r2
[ebuild R ] kde-base/kontact-4.10.5
[ebuild R ] kde-base/kdeplasma-addons-4.10.5
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by dev-qt/qtwebkit-4.8.5[gstreamer]
# required by kde-base/marble-4.10.5
# required by @preserved-rebuild (argument)
>=dev-libs/libxml2-2.9.1-r1 -icu
Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.
|
Since I cant have "icu and -icu" for the same package in my package.use file, how do I install both using package.mask? Do I mask the chromium one? Or the webkit package?
Thanks for the help, even if you can post a link that explains it better I would be grateful!! |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Sun Nov 17, 2013 6:47 am Post subject: |
|
|
For situations like this, eix -vl is often useful. In this case, will show you that the full dependency is dev-libs/libxml2[!icu?]. Looking into pms shows you that this means "the useflag must be disabled if the useflag is disabled for the package with the dependency", i.e. qtwebkit will require libxml2[-icu] unless qtwebkit[use] is used. Thus, a solution of this conflict is /etc/portage/package.use wrote: | dev-qt/qtwebkit icu | or to enable USE=icu globally (which perhaps avoids other such conflicts). |
|
Back to top |
|
|
contraversy n00b
Joined: 28 Apr 2012 Posts: 39
|
Posted: Sun Nov 17, 2013 3:14 pm Post subject: |
|
|
Well first off, it worked. So thanks for that. Second I have a lot of reading to do |
|
Back to top |
|
|
|