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

domde 1599497 at bugs.launchpad.net
Wed Jul 6 12:17:56 UTC 2016


Public bug reported:

# 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

** Affects: apt-clone (Ubuntu)
     Importance: Undecided
         Status: New

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

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

Status in apt-clone package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1599497/+subscriptions



More information about the foundations-bugs mailing list