Using errors='ignore' allows the upgrade to complete and doesn't seem
too horrible given that's its non-interactive anyway.
sys.stdout.write("%s" %
s.decode(locale.getpreferredencoding(), errors='ignore'))
We can see the errors in the terminal output:
Preparing to unpack .../inputattach_1%3a1.5.1-2_amd64.deb ...
Unpacking inputattach (1:1.5.1-2) over (1:1.4.9-1) ...
Notice the ':' vs '%3a'. The same errors also appear in the log -
/var/log/dist-upgrade/main.log.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Triaged
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs