← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1614576] Re: Upgrade from xenial to yakkety fails due to a UnicodeDecodeError

 

This bug was fixed in the package ubuntu-release-upgrader - 1:16.04.18

---------------
ubuntu-release-upgrader (1:16.04.18) xenial; urgency=medium

  * DistUpgrade/ReleaseNotesViewerWebkit.py: fix indentation of function
    _on_navigation_policy_decision_requested. (LP: #1635155)
  * DistUpgradeViewNonInteractive.py: Instead of tripping over errors when
    writing progress to stdout just ignore them so that the upgrade can
    continue. (LP: #1614576)

 -- Brian Murray <brian@xxxxxxxxxx>  Tue, 08 Nov 2016 09:55:26 -0800

** Changed in: ubuntu-release-upgrader (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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 Released

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