After installing app-eselect/eselect-python-20151117-r1 I can no longer run python-updater. Reproducible: Always Steps to Reproduce: 1. as root, run: python-updater Actual Results: dagwood ~ # python-updater * '/usr/bin/python2' is not valid symlink # Expected Results: kong bin # python-updater * Starting Python Updater... * Main active version of Python: 2.7 [...] Re-emerging python-updater, eseelct-python, and python:2.7 does not help. This allows me to run python-updater: cd /usr/bin rm python2 python3 ln -s python2.7 python2 ln -s python3.4 python3
This needs to be fixed in python-updater. I'll take a look.
to confirme eix dev-lang/python [I] dev-lang/python Available versions: (2.7) 2.7.10-r1 (~)2.7.10-r3 (~)2.7.10-r4 (~)2.7.11 (3.3) 3.3.5-r1 ~3.3.5-r2 ~3.3.5-r4(3.3/3.3m) (3.4) 3.4.3 (~)3.4.3-r2 (~)3.4.3-r4(3.4/3.4m) (3.5) ~3.5.0-r1 ~3.5.0-r3(3.5/3.5m) {-berkdb build doc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"} Installed versions: 2.7.11(2.7)(00:12:19 10/12/15)(gdbm ipv6 ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build -doc -examples -hardened -libressl -tk -wininst ELIBC="-uclibc") 3.4.3-r4(3.4)(23:21:38 09/12/15)(gdbm ipv6 ncurses readline ssl threads xml -build -examples -hardened -libressl -sqlite -tk -wininst ELIBC="-uclibc") Homepage: http://www.python.org/ Description: An interpreted, interactive, object-oriented programming language [I] dev-lang/python-exec Available versions: (2) 2.0.1-r1 ~2.0.2 (~)2.1 **2.9999 {PYTHON_TARGETS="jython2_7 pypy pypy3 python2_7 python3_3 python3_4 python3_5"} Installed versions: 2.1(2)(11:39:11 10/12/15)(PYTHON_TARGETS="jython2_7 pypy pypy3 python2_7 python3_3 python3_4 python3_5") Homepage: https://bitbucket.org/mgorny/python-exec/ Description: Python script wrapper eix app-eselect/eselect-python [I] app-eselect/eselect-python Available versions: 20111108 (~)20131210 (~)20140115 (~)20140125 (~)20151117-r1 **99999999 Installed versions: 20151117-r1(23:26:26 09/12/15) Homepage: https://www.gentoo.org/proj/en/Python/ Description: Eselect module for management of multiple Python versions eselect python list Available Python interpreters: [1] python2.7 [2] python3.4 * eix python-updater [I] app-admin/python-updater Available versions: 0.11 ~0.12 ~0.13 **9999 Installed versions: 0.11(02:04:58 25/07/13) Homepage: https://www.gentoo.org/proj/en/Python/ Description: Script used to reinstall Python packages after changing of active Python versions python-updater * '/usr/bin/python2' is not valid symlink ls -al /usr/bin/python* -rwxr-xr-x 1 root root 1461 Dec 9 23:26 /usr/bin/python -rwxr-xr-x 1 root root 1461 Dec 9 23:26 /usr/bin/python2 -rwxr-xr-x 1 root root 6048 Dec 10 00:12 /usr/bin/python2.7 -rwxr-xr-x 1 root root 1463 Dec 10 00:11 /usr/bin/python2.7-config lrwxrwxrwx 1 root root 31 Dec 9 23:26 /usr/bin/python2-config -> ../lib/python-exec/python-exec2 -rwxr-xr-x 1 root root 1461 Dec 9 23:26 /usr/bin/python3 lrwxrwxrwx 1 root root 10 Dec 9 23:21 /usr/bin/python3.4 -> python3.4m -rwxr-xr-x 1 root root 10200 Dec 9 23:21 /usr/bin/python3.4m -rwxr-xr-x 1 root root 2842 Dec 9 23:21 /usr/bin/python3.4m-config lrwxrwxrwx 1 root root 31 Dec 9 23:26 /usr/bin/python3-config -> ../lib/python-exec/python-exec2 lrwxrwxrwx 1 root root 31 Dec 9 23:26 /usr/bin/python-config -> ../lib/python-exec/python-exec2
Same problem here.
app-admin/python-updater-0.13 give same error and as said above This allows me to run python-updater: cd /usr/bin rm python2 python3 ln -s python2.7 python2 ln -s python3.4 python3 makes python-updater work
FYI: replacing those executables with symlinks will silently and irrevocably break eselect-python.
My sugestion to anyone hitting this bug: chill out and wait for us to fix python-updater. I plan to do so today.
This should be fixed in python-updater-0.14.
(In reply to Michał Górny from comment #5) > FYI: replacing those executables with symlinks will silently and irrevocably > break eselect-python. Thanks for this warning.
Already fixed in python-updater-0.14
(In reply to Tommy Holmgren from comment #9) > Already fixed in python-updater-0.14 Confirmed. Thanks!
I hit this issue today as well with app-admin/python-updater-0.13: # python-updater * '/usr/bin/python2' is not valid symlink # emerge python-updater >>> Emerging (1 of 1) app-admin/python-updater-0.14::gentoo >>> Downloading 'http://gentoo.wheel.sk/distfiles/python-updater-0.14.tar.bz2' --2016-07-29 13:27:51-- http://gentoo.wheel.sk/distfiles/python-updater-0.14.tar.bz2 Resolving gentoo.wheel.sk... 92.240.244.16 Connecting to gentoo.wheel.sk|92.240.244.16|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 10354 (10K) [application/x-bzip] Saving to: '/scratch/usr/portage/distfiles/python-updater-0.14.tar.bz2' /scratch/usr/portag 100%[===================>] 10.11K --.-KB/s in 0s 2016-07-29 13:27:51 (130 MB/s) - '/scratch/usr/portage/distfiles/python-updater-0.14.tar.bz2' saved [10354/10354] * python-updater-0.14.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking python-updater-0.14.tar.bz2 to /scratch/var/tmp/portage/app-admin/python-updater-0.14/work >>> Source unpacked in /scratch/var/tmp/portage/app-admin/python-updater-0.14/work >>> Preparing source in /scratch/var/tmp/portage/app-admin/python-updater-0.14/work/python-updater-0.14 ... >>> Source prepared. >>> Configuring source in /scratch/var/tmp/portage/app-admin/python-updater-0.14/work/python-updater-0.14 ... >>> Source configured. >>> Compiling source in /scratch/var/tmp/portage/app-admin/python-updater-0.14/work/python-updater-0.14 ... make -j2 sed -e "s:@GENTOO_PORTAGE_EPREFIX@::g" python-updater.in > python-updater make: ./python-updater: Command not found chmod +x python-updater >>> Source compiled. >>> Test phase [not enabled]: app-admin/python-updater-0.14 >>> Install python-updater-0.14 into /scratch/var/tmp/portage/app-admin/python-updater-0.14/image/ category app-admin make -j2 DESTDIR=/scratch/var/tmp/portage/app-admin/python-updater-0.14/image/ install install -d /scratch/var/tmp/portage/app-admin/python-updater-0.14/image//usr/sbin install -m0755 python-updater /scratch/var/tmp/portage/app-admin/python-updater-0.14/image//usr/sbin install -d /scratch/var/tmp/portage/app-admin/python-updater-0.14/image//usr/share/man/man1 install -m0644 python-updater.1 /scratch/var/tmp/portage/app-admin/python-updater-0.14/image//usr/share/man/man1 >>> Completed installing python-updater-0.14 into /scratch/var/tmp/portage/app-admin/python-updater-0.14/image/ * Final size of build directory: 88 KiB * Final size of installed tree: 72 KiB ecompressdir: bzip2 -9 /usr/share/man ecompressdir: bzip2 -9 /usr/share/doc >>> Installing (1 of 1) app-admin/python-updater-0.14::gentoo ... Note above the "make: ./python-updater: Command not found". However, it probably works after merging into the Gentoo installation: # python-updater * Starting Python Updater... * Main active version of Python: 2.7 * Active version of Python 2: 2.7 * Active version of Python 3: 3.5 * Globally supported Python ABIs in installed repositories: * gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * haskell: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * layman: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * science: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * x-portage: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 ... # emerge --info Portage 2.3.0 (python 2.7.11-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r2, 4.6.3-default-pciehp x86_64) ================================================================= System uname: Linux-4.6.3-default-pciehp-x86_64-Intel-R-_Core-TM-_i7-2640M_CPU_@_2.80GHz-with-gentoo-2.2 KiB Mem: 16375816 total, 170916 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 28 Jul 2016 17:00:01 +0000 sh bash 4.3_p46 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p46::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.20.2-r1::gentoo dev-lang/python: 2.7.11-r1::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo dev-util/cmake: 3.3.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2-r1::gentoo sys-apps/openrc: 0.21.2::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo, 2.26.1::gentoo sys-devel/gcc: 4.3.6-r1::gentoo, 4.4.7::gentoo, 4.6.4::gentoo, 4.7.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo, 5.3.0::gentoo, 5.4.0::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r2::gentoo Repositories: gentoo location: /scratch/usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 science location: /home/mmokrejs/proj/sci masters: gentoo priority: 0 x-portage location: /usr/local/portage masters: gentoo priority: 1 layman location: /var/lib/layman masters: gentoo priority: 2 haskell location: /var/lib/layman/haskell masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 skype-eula Nero-EULA-US AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x OPERA-2014" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -maes -mpclmul -mpopcnt -mavx -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /var/bind /var/lib/hsqldb /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -maes -mpclmul -mpopcnt -mavx -march=native" DISTDIR="/scratch/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news noclean parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ rsync://gentoo.mirror.dkm.cz/gentoo/ ftp://gentoo.mirror.web4u.cz/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/scratch/var/tmp" USE="X acpi alsa amd64 amr apache apache2 apulse avx berkdb bindist bluetooth boost bzip2 cairo cgi cli coin consolekit cracklib crypt cryptlib cups cxx dbus device-mapper dhcp directfb dri drm dvd emboss encode fax fbcon ffmpeg flac fontconfig fortran gbm gd gdbm geoip gimp glpk gnutls gpm gtk hal hpijs hwdb iconv id3tag imaging innodb java javascript jce jpeg jpg js jscript keymap ladspa lapack laptop lcms libnotify lm_sensors mad matroska mmx mmxext modules mpi mpich2 multilib mysql ncurses nfs nls nptl nptlonly nscd nsplugin ntfsprogs ocr ogg opengl openmp pam parport pcre pdf perl php png policykit polkit ppds pppd python qt3support readline rendering resolvconf scanner seccomp server session slideshow sndfile sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 suexec svg syslog tcl tcpd threads tiff tk truetype udev unicode usb v4l v4l2 vim-syntax vnc wavpack wifi x11 xattr xcb xml xorg xrandr xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="alias authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" DRACUT_MODULES="crypt crypt-gpg" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US en_GB cs cz" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="vesa vmware fbdev intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
That's a different bug. Create a new report.
(In reply to Mike Gilbert from comment #12) > That's a different bug. Create a new report. OK, thank you, opened bug #590000 now.
*** Bug 615252 has been marked as a duplicate of this bug. ***