ubuntu-bug, software-center and update-manager crashing

Bug #1385689 reported by Hannah Eppler
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Undecided
Unassigned

Bug Description

Just yesterday I updated from 14.04 to 14.10 and noticed, that the update-manager shows a Stop-sign in the notification bar.
Tried to open it via the launcher, no success.

Then I tried starting the update-manager via console:

dsfsfs@linux:/usr/lib/python3/dist-packages$ update-manager
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 38, in <module>
    from UpdateManager.UpdateManager import UpdateManager
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 36, in <module>
    import apt_pkg
ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-34m-x86_64-linux-gnu.so: undefined symbol: _ZN13pkgSrcRecords4StepEv
dsfsfs@linux:/usr/lib/python3/dist-packages$

Tried the same with software-center:

dsfsfs@linux:/usr/lib/python3/dist-packages$ software-center
ERROR:root:DebFileApplication import
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/__init__.py", line 4, in <module>
    from debfile import DebFileApplication, DebFileOpenError
  File "/usr/share/software-center/softwarecenter/db/debfile.py", line 21, in <module>
    from apt.debfile import DebPackage
  File "/usr/lib/python2.7/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ImportError: /usr/lib/python2.7/dist-packages/apt_pkg.so: undefined symbol: _ZN13pkgSrcRecords4StepEv
Speicherzugriffsfehler
dsfsfs@linux:/usr/lib/python3/dist-packages$

And, last but not least, after reading the FAQs on how to file in a bug, I tried to run ubuntu-bug, which gave me this:

dsfsfs@linux:/usr/lib/python3/dist-packages$ ubuntu-bug
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 24, in <module>
    import apport
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 20, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-34m-x86_64-linux-gnu.so: undefined symbol: _ZN13pkgSrcRecords4StepEv
dsfsfs@linux:/usr/lib/python3/dist-packages$

Please help.
Thanks in advance

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1385689/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Hannah Eppler (6-hannah) wrote :
Revision history for this message
Hannah Eppler (6-hannah) wrote :
Revision history for this message
Hannah Eppler (6-hannah) wrote :
Revision history for this message
Hannah Eppler (6-hannah) wrote :
Revision history for this message
Hannah Eppler (6-hannah) wrote :

attached logfiles from the upgrade

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

Try reinstalling the python-apt package e.g. sudo apt-get install --reinstall python-apt.

Revision history for this message
Hannah Eppler (6-hannah) wrote :

Thanks for your answer, Brian.
Unfortunately this didn't fix the problem for me

Revision history for this message
Conrad Knight (iestynapmwg) wrote :

I'm having exactly the same problems and error messages. I also got warnings/errors of some sort during the update from 14.04 to 14.10. Are these recorded somewhere so that i can review these messages?

Revision history for this message
Wawrzyniec Niewodniczański (wawrzek) wrote :

I had to remove python-apt (what removed some other packages) and then install again. Error seems to go away.

Revision history for this message
Conrad Knight (iestynapmwg) wrote :

Any updates about this bug? I'd like to upgrade to 15.04, but i still can't run update-manager... Please help!

Revision history for this message
David Hazel (dhazel) wrote :

On my system, "do-release-upgrade" was failing silently from this bug. I had to run pudb3 on it in order to find the error. There may be many others who have the bug but may not have found this bug report because they are experiencing the silent failures.

David Hazel (dhazel)
affects: ubuntu → python-apt (Ubuntu)
Revision history for this message
David Hazel (dhazel) wrote :
Revision history for this message
Julian Andres Klode (juliank) wrote :

Seems like an unintended ABI break in APT.

affects: python-apt (Ubuntu) → apt (Ubuntu)
Revision history for this message
Peter Flynn (frisket) wrote :

This also happens in 15.04; I just posted a comment to that effect in #1429235.

Is there a workaround? I cannot currently upgrade to 15.10

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions