UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in position 1: ordinal not in range(128)

Bug #1130570 reported by Arnd
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When trying to perform a do-release-upgrade from precise to quantal,
the upgrade is aborted, when I try to view the "details" of the upgrade:

 Fortsetzen [j/N] Details [d]d

Ein schwerwiegender Fehler ist aufgetreten

Bitte erstellen Sie einen Fehlerbericht und fügen Sie die Dateien
/var/log/dist-upgrade/main.log und /var/log/dist-upgrade/apt.log
hinzu. Die Systemaktualisierung wurde abgebrochen.
Ihre ursprüngliche sources.list wurde in
/etc/apt/sources.list.distUpgrade gesichert.

Traceback (most recent call last):

File "/tmp/update-manager-k4qYCD/quantal", line 10, in <module>
sys.exit(main())

File "/tmp/update-manager-k4qYCD/DistUpgrade/DistUpgradeMain.py",
line 240, in main
if app.run():

File
"/tmp/update-manager-k4qYCD/DistUpgrade/DistUpgradeController.py",
line 1764, in run
return self.fullUpgrade()

File
"/tmp/update-manager-k4qYCD/DistUpgrade/DistUpgradeController.py",
line 1721, in fullUpgrade
if not self.askDistUpgrade():

File
"/tmp/update-manager-k4qYCD/DistUpgrade/DistUpgradeController.py",
line 969, in askDistUpgrade
self.cache.required_download)

File "/tmp/update-manager-k4qYCD/DistUpgrade/DistUpgradeViewText.py",
line 195, in confirmChanges
self.showInPager(output)

File "/tmp/update-manager-k4qYCD/DistUpgrade/DistUpgradeViewText.py",
line 143, in showInPager
p.stdin.write(output)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in
position 1: ordinal not in range(128)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: update-manager-core 1:0.156.14.11
Uname: Linux 3.8.0-rc6aha1+ x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Wed Feb 20 10:36:58 2013
EcryptfsInUse: Yes
GsettingsChanges:

MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to precise on 2013-02-20 (0 days ago)

Revision history for this message
Arnd (arnd-arndnet) wrote :
Revision history for this message
Arnd (arnd-arndnet) wrote :

FYI, the following does work:
export LANG=C; do-release-upgrade -d

This bug is most probably locale related...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
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.