View previous topic :: View next topic |
Author |
Message |
rsala Apprentice
Joined: 27 Jul 2003 Posts: 160 Location: Pittsfield, MA
|
Posted: Thu Aug 27, 2015 2:42 am Post subject: portage python conflict (solved) |
|
|
I'm getting the following message when I attempt to emerge portage
Code: |
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-apps/portage-2.2.20.1::gentoo [2.2.20::gentoo] USE="(ipc) -build -doc -epydoc (-selinux) -xattr" LINGUAS="-ru" PYTHON_TARGETS="python2_7 python3_4* (-pypy) -python3_3*" 929 KiB
Total: 1 package (1 upgrade), Size of downloads: 929 KiB
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
sys-apps/portage:0
(sys-apps/portage-2.2.20.1:0/0::gentoo, ebuild scheduled for merge) pulled in by
sys-apps/portage (Argument)
(sys-apps/portage-2.2.20:0/0::gentoo, installed) pulled in by
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] required by (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)
|
Can somebody please tell me what the fix is?
Last edited by rsala on Fri Aug 28, 2015 3:11 am; edited 1 time in total |
|
Back to top |
|
|
ian.au Guru
Joined: 07 Apr 2011 Posts: 591 Location: Australia
|
Posted: Thu Aug 27, 2015 5:47 am Post subject: |
|
|
Quote: | PYTHON_TARGETS="python2_7 python3_4* (-pypy) -python3_3*" |
You have tried to slot two versions of python3
Probably the easiest fix is to go back to the default python settings Code: | eselect python list | Code: | eselect python set <whatever =2.7, probably set 1> |
Remove any PYTHON_TARGETS in /etc/portage/make.conf or change them to read Quote: | PYTHON_TARGETS="python2_7 python3_4"
PYTHON_SINGLE_TARGET="python3_4" | which is the sane default, (and the same as having no PYTHON_TARGETS in make.conf), then Code: | emerge -1pv portage | should do the trick.
if that doesn't work, post your Code: | eselect python list | Code: | cat /etc/portage/make.conf |
|
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Thu Aug 27, 2015 6:37 am Post subject: |
|
|
ian.au wrote: | ...
quite a bit
... |
But that's just not it.
Given that output, try something like 'emerge -1pv sys-apps/portage app-portage/gentoolkit'. |
|
Back to top |
|
|
ian.au Guru
Joined: 07 Apr 2011 Posts: 591 Location: Australia
|
Posted: Thu Aug 27, 2015 6:42 am Post subject: |
|
|
oops, I missed the - in front of python3_3 my apologies. Should have read your output more closely. |
|
Back to top |
|
|
rsala Apprentice
Joined: 27 Jul 2003 Posts: 160 Location: Pittsfield, MA
|
Posted: Fri Aug 28, 2015 3:12 am Post subject: |
|
|
Thanks VoidMage! That did it. |
|
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
|
|