[lubuntu-devel] LANG=C; ubuntu-support-status --show-unsupported fails from non-English language

Nio Wiklund nio.wiklund at gmail.com
Sat Mar 12 12:07:15 UTC 2016


Hi Julien and Jörn,

I tested and this bug affects French and German too (when installed in a 
system originally booted in English).

So I think it will be hard to avoid this bug in UEFI mode, when there is 
only boot from grub (and no syslinux language menu).

-----
I made sure it also affects the amd64 version in UEFI mode:
---
lubuntu at lubuntu:~$ ubuntu-support-status --show-unsupported
Sammandrag av supportstatus för ”lubuntu”:

Du har 183 paket (14.6%) som stöds till March 2019 (3y)
Du har 1062 paket (84.8%) som stöds till March 2021 (5y)
Du har 7 paket (0.6%) som stöds till December 2016 (9m)

Du har 0 paket (0.0%) som inte (längre) kan hämtas
Du har 1 paket (0.1%) som inte stöds

Inte längre möjliga att hämta:

Stöds inte:
aspell-sv

lubuntu at lubuntu:~$ LANG=C
lubuntu at lubuntu:~$ ubuntu-support-status --show-unsupported
Traceback (most recent call last):
   File "/usr/bin/ubuntu-support-status", line 145, in <module>
     print(_("Support status summary of '%s':") % os.uname()[1])
UnicodeEncodeError: 'ascii' codec can't encode character '\xf6' in 
position 29: ordinal not in range(128)

lubuntu at lubuntu:~$ uname -a
Linux lubuntu 4.4.0-12-generic #28-Ubuntu SMP Wed Mar 9 00:33:55 UTC 
2016 x86_64 x86_64 x86_64 GNU/Linux

lubuntu at lubuntu:~$ test -d /sys/firmware/efi/ && echo efi || echo bios
efi
lubuntu at lubuntu:~$
-----

I suspect that it might affect other command line application programs too.

Best regards
Nio

Den 2016-03-12 kl. 12:13, skrev Nio Wiklund:
> Hi,
>
> I have found Bug #1556399. I seems to be caused by ubuntu-support-status
> which belongs to update-manager-core, but maybe it is a Lubuntu bug.
>
> The live system is using Swedish. I try to get the output in English, so
> I used LANG=C.
>
> lubuntu at lubuntu:~$ ubuntu-support-status --show-unsupported
> Sammandrag av supportstatus för ”lubuntu”:
>
> Du har 1061 paket (85.8%) som stöds till March 2021 (5y)
> Du har 171 paket (13.8%) som stöds till March 2019 (3y)
> Du har 3 paket (0.2%) som stöds till December 2016 (9m)
>
> Du har 0 paket (0.0%) som inte (längre) kan hämtas
> Du har 1 paket (0.1%) som inte stöds
>
> Inte längre möjliga att hämta:
>
> Stöds inte:
> aspell-sv
>
> lubuntu at lubuntu:~$ LANG=C
> lubuntu at lubuntu:~$ ubuntu-support-status --show-unsupported
> Traceback (most recent call last):
>    File "/usr/bin/ubuntu-support-status", line 145, in <module>
>      print(_("Support status summary of '%s':") % os.uname()[1])
> UnicodeEncodeError: 'ascii' codec can't encode character '\xf6' in
> position 29: ordinal not in range(128)
>
>
> *This is why I suspect that it may be a Lubuntu bug*
>
> See the bug report's comment #2:
>
> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1556399
>
> This bug affects systems originally booted in English, where Swedish was
> installed/set via the Lubuntu menu 'Preferences - Language Support'.
> This is the [only] way to do it when booting from grub, and a possible
> way to do it when booting from syslinux.
>
> I put Swedish at the top of the list (of installed languages), applied
> system-wide, logged out and logged in again as the user lubuntu.
>
> It is also affecting my installed xenial system, which I am running in
> Swedish.
>
> -o-
>
> But when I set the Swedish language via the first menu of syslinux boot,
> the live can to get English output via
>
> LANG=C; ubuntu-support-status --show-unsupported
>
> Maybe it is not a bug of 'update-manager' but a bug of the Lubuntu
> package for language support.
>
> Best regards
> Nio




More information about the Lubuntu-devel mailing list