do-release-upgrade fails on BeagleBone Black runnig Ubuntu 14.04 with encoding error when LANG is set to de_DE.UTF-8

Bug #1599497 reported by domde
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-clone (Ubuntu)
New
Undecided
Unassigned

Bug Description

# do-release-upgrade

Checking for a new Ubuntu release
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1230 kB]
Fetched 1230 kB in 0s (0 B/s)
authenticate 'wily.tar.gz' against 'wily.tar.gz.gpg'
extracting 'wily.tar.gz'

Zwischenspeicher wird gelesen

Ein schwerwiegender Fehler ist aufgetreten

Error in sys.excepthook:
Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-d3h4k3i1/DistUpgrade/DistUpgradeViewText.py", line 142, in _handleException
"\n".join(lines))
  File "/tmp/ubuntu-release-upgrader-d3h4k3i1/DistUpgrade/DistUpgradeViewText.py", line 177, in error
print(twrap(msg))
UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 45: ordinal not in range(128)

Original exception was:
Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-d3h4k3i1/wily", line 8, in <module>
sys.exit(main())
  File "/tmp/ubuntu-release-upgrader-d3h4k3i1/DistUpgrade/DistUpgradeMain.py", line 240, in main
if app.run():
  File "/tmp/ubuntu-release-upgrader-d3h4k3i1/DistUpgrade/DistUpgradeController.py", line 1837, in run
return self.fullUpgrade()
  File "/tmp/ubuntu-release-upgrader-d3h4k3i1/DistUpgrade/DistUpgradeController.py", line 1652, in fullUpgrade
self._view.updateStatus(_("Checking package manager"))
  File "/tmp/ubuntu-release-upgrader-d3h4k3i1/DistUpgrade/DistUpgradeViewText.py", line 156, in updateStatus
print(msg)
UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 21: ordinal not in range(128)

The same does not happen if I set LANG=en before calling do-release-upgrade

Since the upgrade is running, I'm not able to provide the full information about versions.

This was on Ubuntu 14.04 from here:
http://www.armhf.com/boards/beaglebone-black/bbb-sd-install

ubuntu-release-upgrader-core was most likely 1:0.220.2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.