Updater doesn't know how to handle UnicodeDecodeError in error callback

Bug #1295556 reported by Gannet
This bug report is a duplicate of:  Bug #1243619: unicodedecodeerror in restart dialog. Edit Remove
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Trying to upgrade from 13.10 to 14.04, I'm getting an error:

Виникла невиправна помилка

Будь ласка, повідомте про цю помилку та додайте файли
/var/log/dist-upgrade/main.log та /var/log/dist-upgrade/apt.log до
вашого звіту. Оновлення було перервано.
Ваш оригінальний sources.list було збережено в
/etc/apt/sources.list.distUpgrade.

Traceback (most recent call last):

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

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

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

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

File
"/tmp/ubuntu-release-upgrader-l5jrqb/DistUpgrade/DistUpgradeController.py",
line 1005, in askDistUpgrade
self.cache.required_download)

File
"/tmp/ubuntu-release-upgrader-l5jrqb/DistUpgrade/DistUpgradeViewText.py",
line 172, in confirmChanges
res = sys.stdin.readline().decode(ENCODING, "backslashreplace")

File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)

TypeError: don't know how to handle UnicodeDecodeError in error
callback

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

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

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
Towleeee (djdfysx) wrote :

Try to install Unicode
apt-get install unicode
It helped me

Revision history for this message
Alex Ankudinov (xelez0) wrote :

Installing unicode package helped me too, thank you very much, Towleeee.

But well. Why the hell installing this package changes something in python unicode handling? HOW?????

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.