Comment 4 for bug 1172740

Revision history for this message
Aapo Rantalainen (aapo-rantalainen) wrote :

Happens when upgrading from Raring to Saucy with "fi_FI.UTF-8" locale.

File "/tmp/ubuntu-release-upgrader-4ho6kj/saucy", line 10, in
<module>
sys.exit(main())

File
"/tmp/ubuntu-release-upgrader-4ho6kj/DistUpgrade/DistUpgradeMain.py",
line 243, in main
if app.run():

File
"/tmp/ubuntu-release-upgrader-4ho6kj/DistUpgrade/DistUpgradeController.py",
line 1791, in run
return self.fullUpgrade()

File
"/tmp/ubuntu-release-upgrader-4ho6kj/DistUpgrade/DistUpgradeController.py",
line 1744, in fullUpgrade
if not self.askDistUpgrade():

File
"/tmp/ubuntu-release-upgrader-4ho6kj/DistUpgrade/DistUpgradeController.py",
line 978, in askDistUpgrade
if not self._checkFreeSpace():

File
"/tmp/ubuntu-release-upgrader-4ho6kj/DistUpgrade/DistUpgradeController.py",
line 955, in _checkFreeSpace
required.dir))

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
1: ordinal not in range(128)

----------
LC_ALL=C sudo do-release-upgrade
triggers this bug: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/929399
----------
Correct way to continue is:
LC_ALL=C.UTF-8 sudo do-release-upgrade
(And then it shows how much space I need to free)