[Bug 1614576] Re: Upgrade from xenial to yakkety fails due to a UnicodeDecodeError
Martin Pitt
martin.pitt at ubuntu.com
Thu Nov 10 10:42:10 UTC 2016
Hello Max, or anyone else affected,
Accepted ubuntu-release-upgrader into xenial-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:16.04.18 in a few hours, and then in the
-proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: ubuntu-release-upgrader (Ubuntu Xenial)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
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/1614576
Title:
Upgrade from xenial to yakkety fails due to a UnicodeDecodeError
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Xenial:
Fix Committed
Bug description:
Test Case
---------
1) Install the package shim-signed on an Ubuntu 14.04 system
2) Run do-release-upgrade -f DistUpgradeViewNonInteractive
3) Observe the following Traceback:
Setting up shim-signed (1.18~16.04.1+0.8-0ubuntu2) ...
find: Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
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 15, in <module>
import xml.dom, xml.dom.minidom
ImportError: No module named 'xml.dom'
With the version of ubuntu-release-upgrader from -proposed you will
not encounter the Traceback.
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-1_0.105-16_amd64.deb ...
Created symlink /run/systemd/system/polkitd.service auto-upgrade [10:48:43]: ERROR: ERROR: Something went wrong with the upgrade.
ProblemType: BugDistroRelease: Ubuntu 16.10
Package: policykit-1 0.105-16
ProcVersionSignature: User Name 4.4.0-34.53-generic 4.4.15
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-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bashSourcePackage: policykit-1
UpgradeStatus: Upgraded to yakkety on 2016-08-18 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1614576/+subscriptions
More information about the foundations-bugs
mailing list