Bug #1556399 “LANG=C; ubuntu-support-status --show-unsupported f...” : Bugs : update-manager package : Ubuntu

LANG=C; ubuntu-support-status --show-unsupported fails from non-English language

Bug #1556399 reported by sudodus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

This bug report corresponds to #1556386, but is created in a clean live system, which must not be 'private', and which is not affected by several other installed packages and tweaks.

The live system is using Swedish. I try to get the output in English, so I used LANG=C.

lubuntu@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@lubuntu:~$ LANG=C
lubuntu@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)

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: update-manager 1:15.10.3
ProcVersionSignature: Ubuntu 4.4.0-11.26-generic 4.4.4
Uname: Linux 4.4.0-11-generic i686
ApportVersion: 2.20-0ubuntu3
Architecture: i386
CasperVersion: 1.367
CurrentDesktop: LXDE
Date: Sat Mar 12 09:43:51 2016
GsettingsChanges:

LiveMediaBuild: Lubuntu 16.04 LTS "Xenial Xerus" - Alpha i386 (20160308)
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
sudodus (nio-wiklund) wrote :
sudodus (nio-wiklund)
summary: - LANG=C; ubuntu-support-status --show-unsupported fails
+ LANG=C; ubuntu-support-status --show-unsupported fails from non-English
+ language
description: updated
Revision history for this message
sudodus (nio-wiklund) wrote :

This is strange:

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.

-o-

But when I set the Swedish language via the first menu of syslinux boot, it works to get English output via

LANG=C; ubuntu-support-status --show-unsupported and the button 'Install/Remove Languages...'

Maybe it is not a bug of 'update-manager' but a bug of the Lubuntu package for language support.

Revision history for this message
sudodus (nio-wiklund) wrote :

Removed cruft from the command line line in post #2 / the part after -o- /

But when I set the Swedish language via the first menu of syslinux boot, it works 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.

Revision history for this message
sudodus (nio-wiklund) wrote :

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).

Revision history for this message
sudodus (nio-wiklund) wrote :

I made sure it also affects the amd64 version in UEFI mode:
--
lubuntu@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@lubuntu:~$ LANG=C
lubuntu@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@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@lubuntu:~$ test -d /sys/firmware/efi/ && echo efi || echo bios
efi
lubuntu@lubuntu:~$

Revision history for this message
sudodus (nio-wiklund) wrote :
Download full text (3.3 KiB)

Standard Ubuntu is also affected, so it is not a Lubuntu bug. I used the last 'current' iso file.

http://cdimage.ubuntu.com/daily-live/current/xenial-desktop-amd64.iso

[...]

Vous avez 1820 paquets (96.8%) pris en charge jusqu'à March 2021 (5y)
Vous avez 13 paquets (0.7%) pris en charge jusqu'à March 2019 (3y)
Vous avez 47 paquets (2.5%) pris en charge jusqu'à December 2016 (9m)

Vous avez 0 paquets (0.0%) qui ne peuvent pas ou plus être téléchargés
Vous avez 0 paquets (0.0%) qui ne sont pas pris en charge

Ne sont plus téléchargeables :

Non pris en charge :

ubuntu@ubuntu:~$ LANG=C
ubuntu@ubuntu:~$ 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 '\xe9' in position 1: ordinal not in range(128)

ubuntu@ubuntu:~$ uname -a
Linux ubuntu 4.4.0-10-generic #25-Ubuntu SMP Wed Mar 2 14:55:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

ubuntu@ubuntu:~$ test -d /sys/firmware/efi/ && echo efi || echo bios
efi

ubuntu@ubuntu:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1948832 0 1948832 0% /dev
tmpfs 392684 6344 386340 2% /run
/dev/sda2 22319620 6445340 14717368 31% /isodevice
/dev/loop0 1540096 1540096 0 100% /cdrom
/dev/loop1 1490432 1490432 0 100% /rofs
/cow 1963420 55276 1908144 3% /
tmpfs 1963420 412 1963008 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1963420 0 1963420 0% /sys/fs/cgroup
tmpfs 1963420 4 1963416 1% /tmp
cgmfs 100 0 100 0% /run/cgmanager/fs
tmpfs 392684 64 392620 1% /run/user/999
/dev/sda1 64511 6615 57897 11% /media/ubuntu/lub14042-32
/dev/sda3 8259600 2052208 5771592 27% /media/ubun...

Read more...

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1556399

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Loading subscribers...

Remote bug watches

Bug watches keep track of this bug in other bug trackers.