Results 1 to 10 of 13

Thread: [SOLVED] Update manager not working: python errors.

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Beans
    58

    [SOLVED] Update manager not working: python errors.

    I am running 7.10 and the update manager doesn't work. Nothing happens when I select it from the menu, and when I run it from the command line, I get the following error:
    Code:
    Traceback (most recent call last):
      File "/usr/bin/update-manager", line 32, in <module>
        from UpdateManager.UpdateManager import UpdateManager
      File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 59, in <module>
        import dbus
      File "/var/lib/python-support/python2.5/dbus/__init__.py", line 96, in <module>
        from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus
      File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 45, in <module>
        from dbus.bus import BusConnection
      File "/var/lib/python-support/python2.5/dbus/bus.py", line 22, in <module>
        import logging
      File "logging/__init__.py", line 29, in <module>
    ImportError: /usr/lib/python2.5/lib-dynload/cStringIO.so: invalid ELF header
    Error in sys.excepthook:
    Traceback (most recent call last):
      File "/var/lib/python-support/python2.5/apport_python_hook.py", line 36, in apport_excepthook
        from cStringIO import StringIO
    ImportError: /usr/lib/python2.5/lib-dynload/cStringIO.so: invalid ELF header
    
    Original exception was:
    Traceback (most recent call last):
      File "/usr/bin/update-manager", line 32, in <module>
        from UpdateManager.UpdateManager import UpdateManager
      File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 59, in <module>
        import dbus
      File "/var/lib/python-support/python2.5/dbus/__init__.py", line 96, in <module>
        from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus
      File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 45, in <module>
        from dbus.bus import BusConnection
      File "/var/lib/python-support/python2.5/dbus/bus.py", line 22, in <module>
        import logging
      File "logging/__init__.py", line 29, in <module>
    ImportError: /usr/lib/python2.5/lib-dynload/cStringIO.so: invalid ELF header
    Something seems wrong with python...

  2. #2
    Join Date
    Jan 2007
    Beans
    275

    Re: Update manager not working: python errors.

    Seems like a problem with Python or Update manager.

    Just update that package by first updating u r local cahche to the correct repo of ubuntu
    My linux registered number-438221
    Use Zenwalk, its SMALL and SEXY and VERY SLIM distro. Its very fast. I love it.
    Zenwalk.org

  3. #3
    Join Date
    Dec 2006
    Beans
    58

    Thumbs down Re: Update manager not working: python errors.

    Quote Originally Posted by zenwalker View Post
    Seems like a problem with Python or Update manager.
    I'm pretty sure the problem is with python since the printers settings module gives me a similar error.
    Just update that package by first updating u r local cahche to the correct repo of ubuntu
    I'm not sure how to do that, but I can update fine using apt-get or synaptic. I would just like to solve this python(2.5) problem though and get everything working.

    Thanks

  4. #4
    Join Date
    Jan 2007
    Beans
    275

    Re: Update manager not working: python errors.

    Launch syanptic, update the cache using Reload. After things completed, update ur python package.

    Make sure u r using correct repo links to u r Ubuntu ver. Check in /etc/apt/source.lst file i guess.
    My linux registered number-438221
    Use Zenwalk, its SMALL and SEXY and VERY SLIM distro. Its very fast. I love it.
    Zenwalk.org

  5. #5
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: Update manager not working: python errors.

    Could you try this one:

    sudo apt-get update
    sudo apt-cache search python | grep 2.5

    does it show you any error?
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  6. #6
    Join Date
    Dec 2006
    Beans
    58

    Re: Update manager not working: python errors.

    Quote Originally Posted by iaculallad View Post
    Could you try this one:

    sudo apt-get update
    sudo apt-cache search python | grep 2.5

    does it show you any error?
    Doesn't seem to show any errors:
    Code:
    python-dbg - Debug Build of the Python Interpreter (version 2.5)
    idle-python2.5 - An IDE for Python (v2.5) using Tkinter
    python2.5 - An interactive high-level object-oriented language (version 2.5)
    python2.5-dbg - Debug Build of the Python Interpreter (version 2.5)
    python2.5-dev - Header files and a static library for Python (v2.5)
    python2.5-doc - Documentation for the high-level object-oriented language Python (v2.5)
    python2.5-examples - Examples for the Python language (v2.5)
    python2.5-minimal - A minimal subset of the Python language (version 2.5)

  7. #7
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: Update manager not working: python errors.

    Could you post the message this gives you:

    sudo apt-cache search python
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  8. #8
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: Update manager not working: python errors.

    Execute sudo apt-get update if it prompts you an error
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •