[lubuntu-devel] LANG=C; ubuntu-support-status --show-unsupported fails from non-English language
Nio Wiklund
nio.wiklund at gmail.com
Sat Mar 12 11:13:34 UTC 2016
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