** Description changed:

+ 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.
+ 
+ 
  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: Bug
- DistroRelease: Ubuntu 16.10
+ 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/bash
- SourcePackage: policykit-1
+  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)

** Description changed:

  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
+   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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1614576

Title:
  Upgrade from xenial to yakkety fails due to a UnicodeDecodeError

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1614576/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to