aptd crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)

Bug #828216 reported by Steve Langasek
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

It seems that every time a package fails to install via update-manager, I get *two* apport prompts: one for the package failure, which results in a useful bug report; and one for aptdaemon, which "crashes" when dpkg returns an error.

The latter should definitely not result in triggering apport, so I guess something in aptdaemon should be fixed.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: aptdaemon 0.43+bzr670-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Wed Aug 17 10:20:36 2011
ExecutablePath: /usr/sbin/aptd
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/aptd
ProcEnviron:

PythonArgs: ['/usr/sbin/aptd']
SourcePackage: aptdaemon
Title: aptd crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Traceback: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
UpgradeStatus: Upgraded to oneiric on 2011-06-27 (51 days ago)
UserGroups:

Steve Langasek (vorlon)
Changed in aptdaemon (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Steve Langasek (vorlon)
visibility: private → public
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

reopened because already triaged

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

The problem is that (python)apt has got a very poor exception handling. We only get a SystemError and the error cause is only given in possible translated clear text.

Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #799982, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.