Equo broke after a Python update

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Equo broke after a Python update

Postby jordilin » Sun Sep 16, 2012 12:29

Hi all,

After upgrade python to 2.7 version, I ran python-updater -v. Since then, equo/emerge doesn´t work. This is the output I´ve got:

Code: Select all
#emerge
Traceback (most recent call last):
  File "/usr/bin/emerge", line 37, in <module>
    from _emerge.main import emerge_main
  File "/usr/lib/portage/pym/_emerge/main.py", line 9, in <module>
    import subprocess
  File "/usr/lib/python2.7/subprocess.py", line 429, in <module>
    import select
ImportError: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /usr/lib/python2.7/lib-dynload/select.so)

#equo
Traceback (most recent call last):
  File "/usr/bin/equo", line 35, in <module>
    from entropy.output import red, darkred, darkgreen, TextInterface, \
  File "/usr/lib/entropy/lib/entropy/output.py", line 18, in <module>
    import subprocess
  File "/usr/lib/python2.7/subprocess.py", line 429, in <module>
    import select
ImportError: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /usr/lib/python2.7/lib-dynload/select.so)


Python 2.7 is the only package I can eselect, seems like python-updater deleted all the previous versions.

Code: Select all
eselect python list
Available Python interpreters:
  [1]   python2.7 *


The available GLIBC installed on the system is 2.14.1
Code: Select all
/lib/libc.so.6 --version
GNU C Library stable release version 2.14.1, by Roland McGrath et al.
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.6.2.
Compiled on a Linux 3.1.0 system on 2012-05-18.
Available extensions:
        C stubs add-on version 2.1.2
        crypt add-on version 2.1 by Michael Glad and others
        Gentoo patchset 9
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        Support for some architectures added on, not maintained in glibc core.
        BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.


I have been searching in Google for a solution, but couldn´t find anything related.

Is there a way to solve this issue without reinstalling the system? Thanks in advance.

Regards,
jordilin
Baby Hen
 
Posts: 2
Joined: Sun Sep 16, 2012 12:15

Re: Equo broke after a Python update

Postby lxnay » Sun Sep 16, 2012 17:41

We have Glibc 2.15 in our repos, did you mix Entropy and Portage?
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3440
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Equo broke after a Python update

Postby jordilin » Sun Sep 16, 2012 19:51

Hi lxnai,

Thanks for your reply.

I´ve always used equo to install/upgrade packages, I don´t think.

The problem started because after doing an equo upgrade, guake gave an error in Python.

Searching in Sabayon bugs, I found this thread: http://bugs.sabayon.org/show_bug.cgi?id=3599, so I tried to rebuild latest Python version available and run python-updater and revdep-rebuild afterwards.

Since then, I´m unable to upgrade to the latest version of glibc (as equo crashes).

Regards,
jordilin
Baby Hen
 
Posts: 2
Joined: Sun Sep 16, 2012 12:15

Re: Equo broke after a Python update

Postby ReemZ » Thu Sep 27, 2012 18:06

jordilin wrote:revdep-rebuild

That's a Portage command, don't use that on an Entropy system.
Only solution I can think of now is to use Portage to reinstall equo, then stick to Entropy.
Handtekening? Zeg...ik ga niet op m'n monitor schrijven!
User avatar
ReemZ
Old Dear Hen
 
Posts: 660
Joined: Mon Oct 27, 2008 10:50
Location: Here! No, here! Over heeeeeeere!

Re: Equo broke after a Python update

Postby wolfden » Fri Sep 28, 2012 5:32

python-updater and revdep-rebuild should both be avoided if you are running an entropy system
User avatar
wolfden
Sharecropper
 
Posts: 8824
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Equo broke after a Python update

Postby albfneto » Wed Oct 03, 2012 18:55

thia post have some days,

but the only solution that i see is to try to install equo command with emerge (if necessary, using a boot of Sabayon DVD and chroot)

Code: Select all
# emerge -p equo
# emerge -av equo


then use equo to re-install glibc, python-2.7, portage, entropy, rigo etc...

Do not upgrade Python, mainly using Portage. This converts Python to version 3, and many things are not written in python3, also in gentoo (python 3 is mainly for tests, difficult to use also in gentoo).

also, substitute revdep-rebuild by

Code: Select all
# equo libtest && equo deptest
Image
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mandriva and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1304
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Equo broke after a Python update

Postby twistedpin » Tue Oct 09, 2012 12:56

I have the same Python/Equo/glibc2.15 problem after I installed an additional package.

Code: Select all
# equo install audacity
>>
>>
>>  !!! Please update the following critical packages:
>>      # >sys-libs/glibc-2.14.9999
>>  !!! You should install them as soon as possible
>>
>>
>>  @@ Calculating dependencies ...
>>  ## [U] [sabayon-weekly] dev-libs/glib-2.32.4|0   [2.32.1|2]
>>  ## [U] [sabayon-weekly] dev-libs/expat-2.1.0-r2|0   [2.1.0-r1|0]
>>  ## [U] [sabayon-weekly] app-arch/xz-utils-5.0.4|0   [5.0.3|1]
>>  ## [U] [sabayon-weekly] media-libs/tiff-4.0.2-r1|0   [4.0.1-r1|0]
>>  ## [N] [sabayon-weekly] x11-libs/wxGTK-2.8.12.1|0
>>  ## [N] [sabayon-weekly] media-libs/vamp-plugin-sdk-2.3|0
>>  ## [N] [sabayon-weekly] app-admin/eselect-wxwidgets-1.4|0
>>  ## [U] [sabayon-weekly] dev-db/sqlite-3.7.13|0   [3.7.11|0]
>>  ## [U] [sabayon-weekly] dev-lang/python-2.7.3-r2|1   [2.7.2-r3|3]
>>  ## [U] [sabayon-weekly] media-libs/alsa-lib-1.0.26|0   [1.0.25-r1|0]
>>  ## [N] [sabayon-weekly] media-sound/audacity-2.0.2|0
>>  ## [U] [sabayonlinux.org->sabayon-weekly] app-admin/eselect-1.3.2-r1|0   [1.2.18|0]
>>  @@ Packages needing to be installed/updated/downgraded: 12
>>  @@ Packages needing to be removed: 0
.

Then while upgrading Python package

Code: Select all
>>  ++ (9/12) >>> dev-lang/python-2.7.3-r2
>>    ## Unpacking: dev-lang:python-2.7.3-r2~1.tbz2
>>    ## SPM: setup phase
>>    ## SPM: pre-install phase
>>    ## Installing package: dev-lang/python-2.7.3-r2
>>    ## [Python is an interpreted, interactive, object-oriented programming languag...]
>>    ## Updating database: dev-lang/python-2.7.3-r2
>>    ## Cleaning previously installed application data.
>>    ## SPM: post-remove phase
<<< /usr/lib64/python2.7/plat-linux3/IN.py[co]
<<< /usr/lib64/python2.7/plat-linux3/TYPES.py[co]
<<< /usr/lib64/python2.7/plat-linux3/DLFCN.py[co]
<<< /usr/lib64/python2.7/plat-linux3/CDROM.py[co]
<<< /usr/lib64/python2.7/plat-linux3
Traceback (most recent call last):
  File "/usr/lib64/portage/bin/ebuild-ipc.py", line 12, in <module>
    import select
ImportError: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /usr/lib64/python2.7/lib-dynload/select.so)
Traceback (most recent call last):
  File "/usr/lib64/portage/bin/ebuild-ipc.py", line 12, in <module>
    import select
ImportError: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /usr/lib64/python2.7/lib-dynload/select.so)
Traceback (most recent call last):
  File "/usr/sbin/env-update", line 35, in <module>
    portage.env_update(makelinks)
  File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 30, in __call__
    result = object.__getattribute__(self, '_get_target')()
  File "/usr/lib64/portage/pym/portage/proxy/lazyimport.py", line 129, in _get_target
    __import__(name)
  File "/usr/lib64/portage/pym/portage/util/env_update.py", line 22, in <module>
    from portage.dbapi.vartree import vartree
  File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 60, in <module>
    from _emerge.EbuildPhase import EbuildPhase
  File "/usr/lib64/portage/pym/_emerge/EbuildPhase.py", line 11, in <module>
    from _emerge.MiscFunctionsProcess import MiscFunctionsProcess
  File "/usr/lib64/portage/pym/_emerge/MiscFunctionsProcess.py", line 4, in <module>
    from _emerge.AbstractEbuildProcess import AbstractEbuildProcess
  File "/usr/lib64/portage/pym/_emerge/AbstractEbuildProcess.py", line 16, in <module>
    from portage.util._pty import _create_pty_or_pipe
  File "/usr/lib64/portage/pym/portage/util/_pty.py", line 5, in <module>
    import pty
  File "/usr/lib64/python2.7/pty.py", line 9, in <module>
    from select import select
ImportError: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /usr/lib64/python2.7/lib-dynload/select.so)


Why did it go wrong ? Why was there no dependency check for glibc-2.15 ?

I have build python from source and used that to run "equo ugrade glibc", which worked well enough that now I can run /usr/bin/equo again...
twistedpin
Baby Hen
 
Posts: 1
Joined: Tue Oct 09, 2012 12:46

Re: Equo broke after a Python update

Postby Stupot » Tue Oct 09, 2012 15:41

Yeah, looks like equo should be a little more agressive forcing a glib update.

If you had done an equo update && equo upgrade before installing audacity, you would have run into no problems, but you shouldn't need to.
Stupot
Sagely Hen
 
Posts: 1017
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest