Comment 11 for bug 1310053

Revision history for this message
Sebastian "Nait" Kacprzak (naicik) wrote :

Ok I tested it on pl locale. Looks like in newer version it looks better, because I got

DEBUG The package 'update-manager-kde' is marked for removal but it's in the removal blacklist

line in main.log (which previoulsy was not there), but unfortunetlly my proposed fix for DistUpgradeCache was invalid
since error was still shown in apt.log :
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0119' in position 51: ordinal not in range(128)
Logged from file DistUpgradeCache.py, line 661

(\u0119 i ę character which probably appeared in polish version of blacklist line:
Dist-upgrade failed: 'Pakiet "update-manager-kde" jest oznaczony do usunięcia, lecz znajduje się na liście pakietów, których nie należy usuwać.'
I do not know why it try to encode this line when it shown english version in main.log)

I attach patch that fixes apt.log issue for me.