After upgrading to Ubuntu 12.10, unable to open update-manager

Asked by apinpratap

Recently I upgraded to Ubuntu 12.10, after that I am unable to open Update manager and software center. When I tried to open Update Manager by terminal it shows following error. Please help

Traceback (most recent call last):
  File "/usr/bin/update-manager", line 37, in <module>
    from UpdateManager.UpdateManager import UpdateManager
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 52, in <module>
    from .InstallProgress import InstallProgress
  File "/usr/lib/python3/dist-packages/UpdateManager/InstallProgress.py", line 40, in <module>
    from .backend import get_backend
EOFError: EOF read where not expected
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 64, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 4, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 28, in <module>
    import problem_report
EOFError: EOF read where not expected

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 37, in <module>
    from UpdateManager.UpdateManager import UpdateManager
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 52, in <module>
    from .InstallProgress import InstallProgress
  File "/usr/lib/python3/dist-packages/UpdateManager/InstallProgress.py", line 40, in <module>
    from .backend import get_backend
EOFError: EOF read where not expected

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Please send us the full Terminal output of the commands in step 9 in the following procedure:

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of :

sudo apt-get update; lsb_release -a; uname -a

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

A similar looking problem in https://answers.launchpad.net/ubuntu/+source/update-manager/+question/213929 was solved by deleting all the *.pyc files under /usr/lib/python3/dist-packages/

Most probably deleting all of them in all directories is overdone, you might start with deleting them from /usr/lib/python3/dist-packages/UpdateManager/ and /usr/lib/python3/dist-packages/apport/ as a first attempt.

Can you help with this problem?

Provide an answer of your own, or ask apinpratap for more information if necessary.

To post a message you must log in.