do-release-upgrade crashes on non-ascii symbols in sources.list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If /etc/apt/
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.updateSour
File "/tmp/update-
if not self.rewriteSou
File "/tmp/update-
entry.comment += " " + _("disabled on upgrade to %s") % self.toDist
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 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.updateSour
File "/tmp/update-
if not self.rewriteSou
File "/tmp/update-
entry.comment += " " + _("disabled on upgrade to %s") % self.toDist
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1: ordinal not in range(128)
After removing non-ASCII comments updating is going fine
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: update-manager 1:0.156.14.9
ProcVersionSign
Uname: Linux 3.2.0-29-generic i686
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
Date: Wed Sep 5 18:52:21 2012
GsettingsChanges:
com.ubuntu.
com.ubuntu.
com.ubuntu.
com.ubuntu.
com.ubuntu.
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
PackageArchitec
SourcePackage: update-manager
UpgradeStatus: Upgraded to precise on 2012-09-05 (0 days ago)
VarLogDistupgra
VarLogDistupgra
tags: | added: quantal |
Changed in update-manager (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.