Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't install python 3.5, blocked packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
lue
n00b
n00b


Joined: 09 Jun 2014
Posts: 14

PostPosted: Mon Apr 18, 2016 7:39 pm    Post subject: Can't install python 3.5, blocked packages Reply with quote

I'm trying to install python 3.5 so I can compile the latest version of blender (2.77a), which needs this as the minimum python version. Unfortunately, it appears the required python-exec version is being blocked... I think

edit: turns out the output is too much for one forum post, I guess. The point is that I don't know how to solve this problem, since I find emerge's "blocked package" output to never be helpful in finding the source of the problem. Any advice would be appreciated!

Code:
$ sudo emerge -avu --backtrack=30 python

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ~] dev-lang/python-3.5.1-r2:3.5/3.5m::gentoo [2.7.10-r1:2.7::gentoo, 3.3.5-r2:3.3::gentoo, 3.4.3-r1:3.4::gentoo] USE="gdbm ipv6 ncurses readline ssl threads xml -build -examples -hardened -libressl -sqlite -tk -wininst" 14,495 KiB
[ebuild     U ~] dev-lang/python-exec-2.4.3:2::gentoo [2.0.2:2::gentoo] PYTHON_TARGETS="(jython2_7) (pypy) (pypy3) (python2_7) (python3_3) (python3_4) (python3_5)" 85 KiB
[ebuild     U ~] app-eselect/eselect-python-20160222::gentoo [20111108::gentoo] 48 KiB
[blocks b      ] <app-eselect/eselect-python-20160206 ("<app-eselect/eselect-python-20160206" is blocking dev-lang/python-exec-2.4.3)
[blocks B      ] <dev-lang/python-3.4.3-r4:3.4 ("<dev-lang/python-3.4.3-r4:3.4" is blocking dev-lang/python-exec-2.4.3)
[blocks B      ] <dev-lang/python-3.3.5-r4:3.3 ("<dev-lang/python-3.3.5-r4:3.3" is blocking dev-lang/python-exec-2.4.3)
[blocks B      ] <dev-lang/python-2.7.10-r4:2.7 ("<dev-lang/python-2.7.10-r4:2.7" is blocking dev-lang/python-exec-2.4.3)

Total: 3 packages (2 upgrades, 1 in new slot), Size of downloads: 14,627 KiB
Conflict: 4 blocks (3 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-lang/python-exec-2.4.3:2/2::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_3(-),python_targets_python3_4(-),
-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-)] required by (dev-python/bsddb3-6.1.1:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] (>=dev-lang/python-exec-2:=[python_targets_python2_7(-),
-python_single_target_python2_7(-)]) required by (net-misc/dropbox-cli-1.6.0:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),
-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-),python_single_target_python2_7(+)] (>=dev-lang/python-exec-2:=[python_targets_python2_7(-),-python_single_target_jython2_7(-),
-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)]) required by (sci-geosciences/qgis-1.8.0:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,
python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),
-python_single_target_python3_3(-),-python_single_target_python3_4(-)] (>=dev-lang/python-exec-2:=[python_targets_python2_7(-),
python_targets_python3_3(-),python_targets_python3_4(-),-python_single_target_pypy(-),-python_single_target_python2_7(-),
-python_single_target_python3_3(-),-python_single_target_python3_4(-)]) required by (app-admin/webapp-config-1.54-r1:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),
-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),
python_single_target_python2_7(+)] (>=dev-lang/python-exec-2:=[python_targets_python2_7(-),-python_single_target_jython2_7(-),
-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-),python_single_target_python2_7(+)]) required by (net-print/hplip-3.14.10:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_3(-),python_targets_python3_4(-),
-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_pypy(-)] required by (app-admin/webapp-config-1.54-r1:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,
python_targets_python3_4(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),
-python_single_target_python3_4(-)] (>=dev-lang/python-exec-2:=[python_targets_python2_7(-),python_targets_python3_3(-)
python_targets_python3_4(-),-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),
-python_single_target_python3_4(-)]) required by (dev-python/pycups-1.9.72:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_3(-),python_targets_python3_4(-),
-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-)] required by (dev-libs/libxml2-2.9.3:2/2::gentoo, installed)
    dev-lang/python-exec:2/2=[python_targets_python2_7(-),python_targets_python3_3(-),python_targets_python3_4(-),
-python_single_target_python2_7(-),-python_single_target_python3_3(-),
-python_single_target_python3_4(-)] required by (dev-python/pycurl-7.19.3.1-r2:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_3(-),python_targets_python3_4(-),
-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-)] required by (dev-python/PyQt5-5.5.1:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),-python_single_target_python2_7(-),
-python_single_target_pypy(-)] required by (dev-python/pyalsa-1.0.26-r1:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,-python_single_target_pypy(-),
-python_single_target_python2_7(-)] (>=dev-lang/python-exec-2:=[python_targets_python2_7(-),-python_single_target_pypy(-),
-python_single_target_python2_7(-)]) required by (dev-python/pyalsa-1.0.26-r1:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),
-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-)] (>=dev-lang/python-exec-2:=[python_targets_python2_7(-),python_targets_python3_3(-),
python_targets_python3_4(-),-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-)]) required by (dev-python/pyxdg-0.25-r1:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),
-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-),python_single_target_python2_7(+)] required by (kde-apps/kig-15.12.3:5/5::gentoo, installed)
    >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_3(-),python_targets_python3_4(-),
-python_single_target_python2_7(-),-python_single_target_python3_3(-),
-python_single_target_python3_4(-)] required by (dev-python/pyopengl-3.0.2-r1:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),
-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-)] (>=dev-lang/python-exec-2:=[python_targets_python2_7(-)
,python_targets_python3_3(-),python_targets_python3_4(-),-python_single_target_python2_7(-),
-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-)]) required by (dev-python/numpy-1.10.4:0/0::gentoo, installed)
    dev-lang/python-exec:2/2=[python_targets_python2_7(-),-python_single_target_python2_7(-)] required by (net-misc/dropbox-cli-1.6.0:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,
python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),
-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-)] (>=dev-lang/python-exec-2:=[python_targets_python2_7(-),
python_targets_python3_3(-),python_targets_python3_4(-),-python_single_target_python2_7(-),
-python_single_target_python3_3(-),-python_single_target_python3_4(-),
-python_single_target_python3_5(-)]) required by (x11-proto/xcb-proto-1.11:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_3(-),
python_targets_python3_4(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),
-python_single_target_python3_4(-),-python_single_target_pypy(-)] required by (dev-python/send2trash-1.3.0:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_3(-),
python_targets_python3_4(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),
-python_single_target_python3_4(-)] required by (x11-proto/xcb-proto-1.11:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),
-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),
-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)
,python_single_target_python2_7(+)] required by (dev-libs/gobject-introspection-1.46.0:0/0::gentoo, installed)
    >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),
-python_single_target_pypy3(-),-python_single_target_python3_3(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),
python_single_target_python2_7(+)] (>=dev-lang/python-exec-2:=[python_targets_python2_7(-),
-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),
-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)]) required by (kde-apps/kstars-15.12.3:5/5::gentoo, installed)
# and so on, and so on

Broke some lines to make the forum less wide-like.Chiitoo
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Mon Apr 18, 2016 9:28 pm    Post subject: Reply with quote

Code:
[blocks B      ] <dev-lang/python-3.4.3-r4:3.4 ("<dev-lang/python-3.4.3-r4:3.4" is blocking dev-lang/python-exec-2.4.3)
[blocks B      ] <dev-lang/python-3.3.5-r4:3.3 ("<dev-lang/python-3.3.5-r4:3.3" is blocking dev-lang/python-exec-2.4.3)
[blocks B      ] <dev-lang/python-2.7.10-r4:2.7 ("<dev-lang/python-2.7.10-r4:2.7" is blocking dev-lang/python-exec-2.4.3)


well just reading what it says directly on the blockers, you need python-2.7.10-r4 or newer for python-exec-2.4.3 (in this case, since there is no -r4, you need 2.7.11-r2)
Same thing for 3.3 and 3.4; just read what it's saying if < a specific version is blocking, then you need that version it is saying or newer...

In this case, it lies down to you mixing stable and unstable branches (which usually causes troubles)
Note: When you update python :2.7,3.3,3.4 you are going to have the usual issues of everything needs to be recompiled to the new version of python...

My recommendation, is update python-2.7,3.3 and 3.4 first to fix the original blocker and deal with all that hassle, then install python-3.5 and recompile the supported 3.5 python packages to support that

Note 2: Be aware, the python3_5 USE flag is MASKED, so you will have to unmask the USE flag, before packages will use 3.5
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Mon Apr 18, 2016 9:42 pm    Post subject: Re: Can't install python 3.5, blocked packages Reply with quote

lue wrote:
Code:
[blocks B  ] <dev-lang/python-3.4.3-r4:3.4 ("<dev-lang/python-3.4.3-r4:3.4" is blocking dev-lang/python-exec-2.4.3)
[blocks B  ] <dev-lang/python-3.3.5-r4:3.3 ("<dev-lang/python-3.3.5-r4:3.3" is blocking dev-lang/python-exec-2.4.3)
[blocks B  ] <dev-lang/python-2.7.10-r4:2.7 ("<dev-lang/python-2.7.10-r4:2.7" is blocking dev-lang/python-exec-2.4.3)

lue ... I suspect (though haven't verified) that you need the highest package in each of those slots, so 2.7.11-r2 (for the 2.7 slot), 3.3.5-r7 (for the 3.3 slot) and 3.4.3-r7 (for the 3.4 slot). Less than these and =dev-lang/python-exec-2.4.3 (required for the 3.5 slot) is blocked.

Try the following:
/etc/portage/package.accept_keywords:
=dev-lang/python-2.7.11-r2
=dev-lang/python-3.3.5-r7
=dev-lang/python-3.4.3-r7

HTH & best ... khay
Back to top
View user's profile Send private message
lue
n00b
n00b


Joined: 09 Jun 2014
Posts: 14

PostPosted: Mon Apr 18, 2016 9:56 pm    Post subject: Reply with quote

I'll try upgrading all the other versions of python I've got installed (and maybe uninstall at least one of the python3 slots if I can). I didn't realize the version numbers are newer than what I have installed.

In this case, by the way, I would've preferred to have portage list the upgrades but also require them to be keyworded, like it tends to do if I try to install an unstable package with unstable deps. In general, it'd be nice if portage could describe the steps to take, instead of the cryptic "blocks B" lines (when the solution isn't just updating things) and those unhelpful "pulled in by" sections printed below. In this case those "blocks B" are helpful enough (I just wasn't reading closely enough), I'm just used to them being unhelpful I guess. I imagine that would be a difficult thing to program, though.

Anyway, I'll go upgrade all my pythons, and that should do the trick. It does feel like I should stop mixing trees and just finally go to unstable :P .
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Mon Apr 18, 2016 10:52 pm    Post subject: Reply with quote

lue wrote:
I'll try upgrading all the other versions of python I've got installed[...]

lue ... I'd test the above accept_keywords to see if this in fact resolves the block before actually updating.

lue wrote:
In this case, by the way, I would've preferred to have portage list the upgrades but also require them to be keyworded, like it tends to do if I try to install an unstable package with unstable deps.

I'm not sure I like that feature at all ... basically it provides those who probably shouldn't with a green light to follow the suggested resolution (which is always away from stable and into testing) ... and this leads to "~arch is the new stable" (or worse, a blurring of the distinction).

lue wrote:
In general, it'd be nice if portage could describe the steps to take, instead of the cryptic "blocks B" lines (when the solution isn't just updating things) and those unhelpful "pulled in by" sections printed below. In this case those "blocks B" are helpful enough (I just wasn't reading closely enough), I'm just used to them being unhelpful I guess. I imagine that would be a difficult thing to program, though.

I'm not sure portage should be providing something like 'advice', but the opacity of information isn't helping anyone, agreed.

lue wrote:
Anyway, I'll go upgrade all my pythons, and that should do the trick. It does feel like I should stop mixing trees and just finally go to unstable :P .

That is the gravitational force implicit in the current schema, nobody (particularly not developers) are using 'stable' and so inevitably stable becomes something of a backwater, and so everything gravitates toward ~arch, increasing its mass (and so on ... in a vicious circle).

best ... khay
Back to top
View user's profile Send private message
redchillipadi
n00b
n00b


Joined: 28 May 2016
Posts: 1

PostPosted: Sat May 28, 2016 3:39 am    Post subject: Upgrading to Python 3.5 and Blender 2.77 Reply with quote

I can confirm that upgrading all versions of python to 2.7.11-r2, 3.4.3-r7 and 3.5.1-r2 solved this block for me.

However, blender 2.77a is now out, so I am now upgrading with the ebuild from https://bugs.gentoo.org/show_bug.cgi?id=536078#c42
Back to top
View user's profile Send private message
gcyoung
Apprentice
Apprentice


Joined: 04 Jul 2007
Posts: 170
Location: England

PostPosted: Sun Jun 05, 2016 6:13 pm    Post subject: blocks in python Reply with quote

Can anyone help me with this? It has occured on my latest update, which calls for all 3 updates and
will not accept masking. I'm totally baffled/

"[blocks B ] <dev-lang/python-3.4.3-r4:3.4 ("<dev-lang/python-3.4.3-r4:3.4" is blocking dev-lang/python-exec-2.4.3)
[blocks B ] <dev-lang/python-2.7.10-r4:2.7 ("<dev-lang/python-2.7.10-r4:2.7" is blocking dev-lang/python-exec-2.4.3)"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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