aptd crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Oneiric |
Fix Released
|
High
|
Michael Vogt |
Bug Description
Every time a package fails to install via update-manager, *two* apport prompts are generated: 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.
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: aptdaemon 0.43+bzr660-
ProcVersionSign
Uname: Linux 3.0-1-generic x86_64
Architecture: amd64
Date: Mon Jun 20 12:40:24 2011
ExecutablePath: /usr/sbin/aptd
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110531.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
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 (2)
Traceback: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
tags: | removed: need-duplicate-check |
tags: | added: bugpattern-needed |
visibility: | private → public |
Changed in aptdaemon (Ubuntu Oneiric): | |
assignee: | Canonical Foundations Team (canonical-foundations) → Michael Vogt (mvo) |
description: | updated |
This is not a problem with aptdaemon but a dpkg error, which means a failure in a package install.
I'm setting to High and targeting to Oneiric because all kind of error are aggregated here and it hides the real failure. Furthermore the real cause of the error is lost.