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

Brian Murray brian at ubuntu.com
Tue Oct 4 22:42:13 UTC 2016


Here's the full Traceback:

Preparing to unpack .../policykit-1_0.105-16_amd64.deb ...
Created symlink /run/systemd/system/polkitd.service Traceback (most recent call last):
  File "./yakkety", line 8, in <module>
    sys.exit(main())
  File "/tmp/ubuntu-release-upgrader-uavelnl5/DistUpgrade/DistUpgradeMain.py", line 242, in main
    if app.run():
  File "/tmp/ubuntu-release-upgrader-uavelnl5/DistUpgrade/DistUpgradeController.py", line 1880, in run
    return self.fullUpgrade()
  File "/tmp/ubuntu-release-upgrader-uavelnl5/DistUpgrade/DistUpgradeController.py", line 1845, in fullUpgrade
    if not self.doDistUpgrade():
  File "/tmp/ubuntu-release-upgrader-uavelnl5/DistUpgrade/DistUpgradeController.py", line 1183, in doDistUpgrade
    res = self.cache.commit(fprogress,iprogress)
  File "/tmp/ubuntu-release-upgrader-uavelnl5/DistUpgrade/DistUpgradeCache.py", line 267, in commit
    apt.Cache.commit(self, fprogress, iprogress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 515, in commit
    res = self.install_archives(pm, install_progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 479, in install_archives
    res = install_progress.run(pm)
  File "/tmp/ubuntu-release-upgrader-uavelnl5/DistUpgrade/DistUpgradeView.py", line 234, in run
    res = os.WEXITSTATUS(self.wait_child())
  File "/tmp/ubuntu-release-upgrader-uavelnl5/DistUpgrade/DistUpgradeView.py", line 200, in wait_child
    self.update_interface()
  File "/tmp/ubuntu-release-upgrader-uavelnl5/DistUpgrade/DistUpgradeViewNonInteractive.py", line 229, in update_interface
    sys.stdout.write("%s" % s.decode(locale.getpreferredencoding()))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 0: unexpected end of data

-- 
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:
  Triaged

Bug 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: Bug
  DistroRelease: 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
  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