precise->quantal upgrade fails, with a UnicodeDecodeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Quantal |
Fix Released
|
High
|
Colin Watson |
Bug Description
The first time I tried to upgrade this machine to quantal:
$ update-manager -d
authenticate 'quantal.tar.gz' against 'quantal.
extracting 'quantal.tar.gz'
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
Traceback (most recent call last):
File "/tmp/update-
sys.
File "/tmp/update-
if app.run():
File "/tmp/update-
return self.fullUpgrade()
File "/tmp/update-
if not self.askDistUpg
File "/tmp/update-
if not self._checkFree
File "/tmp/update-
required.dir))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)
Error in sys.excepthook:
Traceback (most recent call last):
File "/tmp/update-
apport_
File "/tmp/update-
_apport_
File "/tmp/update-
report[
File "/usr/lib/
assert k.replace('.', '').replace('-', '').replace('_', '').isalnum()
AssertionError
Original exception was:
Traceback (most recent call last):
File "/tmp/update-
sys.
File "/tmp/update-
if app.run():
File "/tmp/update-
return self.fullUpgrade()
File "/tmp/update-
if not self.askDistUpg
File "/tmp/update-
if not self._checkFree
File "/tmp/update-
required.dir))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)
Then I freed some space and ran into a another variant:
$ update-manager -d
authenticate 'quantal.tar.gz' against 'quantal.
extracting 'quantal.tar.gz'
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
Traceback (most recent call last):
File "/tmp/update-
sys.
File "/tmp/update-
if app.run():
File "/tmp/update-
return self.fullUpgrade()
File "/tmp/update-
if not self.askDistUpg
File "/tmp/update-
self.
File "/tmp/update-
demotions, downloadSize):
File "/tmp/update-
apt_
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)
Error in sys.excepthook:
Traceback (most recent call last):
File "/tmp/update-
apport_
File "/tmp/update-
_apport_
File "/tmp/update-
report[
File "/usr/lib/
assert k.replace('.', '').replace('-', '').replace('_', '').isalnum()
AssertionError
Original exception was:
Traceback (most recent call last):
File "/tmp/update-
sys.
File "/tmp/update-
if app.run():
File "/tmp/update-
return self.fullUpgrade()
File "/tmp/update-
if not self.askDistUpg
File "/tmp/update-
self.
File "/tmp/update-
demotions, downloadSize):
File "/tmp/update-
apt_
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)
It gets passed this with LC_ALL=C.UTF-8 in the environment
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: update-manager 1:0.156.14
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Wed Aug 1 20:50:53 2012
GsettingsChanges:
com.ubuntu.
com.ubuntu.
com.ubuntu.
com.ubuntu.
com.ubuntu.
PackageArchitec
ProcEnviron:
LANGUAGE=en_ZA:en
TERM=xterm
PATH=(custom, user)
LANG=en_ZA.UTF-8
SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to precise on 2012-08-01 (0 days ago)
VarLogDistupgra
Changed in update-manager (Ubuntu Quantal): | |
importance: | Undecided → High |
affects: | update-manager (Ubuntu Quantal) → ubuntu-release-upgrader (Ubuntu Quantal) |
Changed in ubuntu-release-upgrader (Ubuntu Quantal): | |
status: | Confirmed → Triaged |
assignee: | nobody → Colin Watson (cjwatson) |
milestone: | none → ubuntu-12.10 |
Changed in ubuntu-release-upgrader (Ubuntu Quantal): | |
status: | Triaged → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu Quantal): | |
status: | In Progress → Fix Committed |
Status changed to 'Confirmed' because the bug affects multiple users.