[Bug 1302380] Re: package installation failure during partial upgrade reports crash against ubuntu-release-upgrader
Brian Murray
brian at ubuntu.com
Fri Apr 4 21:03:34 UTC 2014
As far as I can tell this is because do-partial-upgrade calls
doPartialUpgrade() from DistUpgradeController.py which doesn't use any
of DistUpgradeMain.py - particularly setup_logging.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1302380
Title:
package installation failure during partial upgrade reports crash
against ubuntu-release-upgrader
Status in “ubuntu-release-upgrader” package in Ubuntu:
Confirmed
Bug description:
I did a partial upgrade (update-manager -d) with a broken package
(isc-dhcp-client) and it triggered this crash report.
As a consequence:
1. Package installation failures are reported against the wrong package
2. errors on error.u.c are grouped in the same bucket, without any information about the origin of the failure making them useless
e.g https://errors.ubuntu.com/problem/46463809739f8320957064ebeaa7f9abc1bd8fa4
the traceback is simply:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1)
The expected behaviour is to generate a crash report directly for the
right package.
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.219.2
ProcVersionSignature: Ubuntu 3.13.0-20.42-generic 3.13.7
Uname: Linux 3.13.0-20-generic x86_64
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
CrashDB: ubuntu
Date: Fri Apr 4 09:15:46 2014
DuplicateSignature: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1)
ExecutablePath: /usr/bin/do-release-upgrade
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/do-partial-upgrade --frontend=DistUpgradeViewGtk3
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
LANGUAGE=en_US
PATH=(custom, no user)
PythonArgs: ['/usr/bin/do-release-upgrade', '--frontend=DistUpgradeViewGtk3']
SourcePackage: ubuntu-release-upgrader
Title: do-release-upgrade crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1)
Traceback: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1)
UpgradeStatus: Upgraded to trusty on 2012-01-31 (793 days ago)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1302380/+subscriptions
More information about the foundations-bugs
mailing list