Upgrade from xenial to yakkety fails due to a UnicodeDecodeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Xenial |
Fix Released
|
High
|
Brian Murray |
Bug Description
Test Case
---------
1) Install the package shim-signed on an Ubuntu 14.04 system
2) Run do-release-upgrade -f DistUpgradeView
3) Observe the following Traceback:
Setting up shim-signed (1.18~16.
find: Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/
from apport.report import Report
File "/usr/lib/
import xml.dom, xml.dom.minidom
ImportError: No module named 'xml.dom'
With the version of ubuntu-
Regression Potential
-------
The change modifies the code so that errors are ignored when decoding output, so some messages may be less readable. However, this is better than having the release upgrader crash and the upgrade fail.
Original Description
-------
When doing an automated upgrade from xenial to yakkey, I get:
Preparing to unpack .../policykit-
Created symlink /run/systemd/
ProblemType: BugDistroRelease: Ubuntu 16.10
Package: policykit-1 0.105-16
ProcVersionSign
Uname: Linux 4.4.0-34-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
Date: Thu Aug 18 11:02:06 2016
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=
UpgradeStatus: Upgraded to yakkety on 2016-08-18 (0 days ago)
Related branches
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Triaged → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu Xenial): | |
importance: | Undecided → High |
assignee: | nobody → Brian Murray (brian-murray) |
status: | New → In Progress |
description: | updated |
description: | updated |
This only appears to occur on unattended upgrades. Additional logs are attached, and I'll attach some more shortly.