Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615252 - app-admin/python-updater-0.11 - '/usr/bin/python2' is not valid symlink
Summary: app-admin/python-updater-0.11 - '/usr/bin/python2' is not valid symlink
Status: RESOLVED DUPLICATE of bug 567896
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 590000
Blocks:
  Show dependency tree
 
Reported: 2017-04-11 10:52 UTC by Martin Mokrejš
Modified: 2017-04-11 12:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2017-04-11 10:52:01 UTC
Hi,
  on several amd64 hosts I hit this error. Per https://forums.gentoo.org/viewtopic-t-1040548-start-0.html the fix is to upgrade to app-admin/python-updater-0.14.

  I even upgraded to app-eselect/eselect-python-20160516 (from app-eselect/eselect-python-20111108).

# eselect python show
python2.7
# eselect python list 
Available Python interpreters, in order of preference:
  [1]   python2.7
  [2]   python3.4
# eselect python show --python2 
python2.7
# eselect python show --python3 
python3.4
# eselect python set 1 
# eselect python list 
Available Python interpreters, in order of preference:
  [1]   python2.7
  [2]   python3.4
# python-updater 
 * '/usr/bin/python2' is not valid symlink
# eselect python set --python2 python2.7 
#

# ls -latr /usr/bin/python*
-rwxr-xr-x 1 root root  1463 Apr 10 19:08 /usr/bin/python2.7-config
-rwxr-xr-x 1 root root  8512 Apr 10 19:08 /usr/bin/python2.7
-rwxr-xr-x 1 root root  2908 Apr 10 19:14 /usr/bin/python3.4m-config
-rwxr-xr-x 1 root root 13008 Apr 10 19:14 /usr/bin/python3.4m
lrwxrwxrwx 1 root root    17 Apr 10 19:15 /usr/bin/python3.4-config -> python3.4m-config
lrwxrwxrwx 1 root root    10 Apr 10 19:15 /usr/bin/python3.4 -> python3.4m
-rwxr-xr-x 1 root root 18760 Apr 11 01:24 /usr/bin/python-exec2c
lrwxrwxrwx 1 root root    31 Apr 11 01:24 /usr/bin/python3-config -> ../lib/python-exec/python-exec2
lrwxrwxrwx 1 root root    13 Apr 11 01:24 /usr/bin/python3 -> python-exec2c
lrwxrwxrwx 1 root root    31 Apr 11 01:24 /usr/bin/python2-config -> ../lib/python-exec/python-exec2
lrwxrwxrwx 1 root root    13 Apr 11 01:24 /usr/bin/python2 -> python-exec2c
lrwxrwxrwx 1 root root    31 Apr 11 01:24 /usr/bin/python-config -> ../lib/python-exec/python-exec2
lrwxrwxrwx 1 root root    13 Apr 11 01:24 /usr/bin/python -> python-exec2c
#
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-04-11 12:33:07 UTC
I have no clue why you report a bug when you know it's fixed in a newer version.

*** This bug has been marked as a duplicate of bug 567896 ***