[Bug 1556399] Re: LANG=C; ubuntu-support-status --show-unsupported fails from non-English language

sudodus nio.wiklund at gmail.com
Sat Mar 12 12:41:06 UTC 2016


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

--
ubuntu at ubuntu:~$ df
Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
udev                 1948832       0    1948832   0% /dev
tmpfs                 392684    6384     386300   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   55168    1908252   3% /
tmpfs                1963420     620    1962800   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      56     392628   1% /run/user/999
/dev/sda1              64511    6615      57897  11% /media/ubuntu/lub14042-32
/dev/sda3            8259600 2052208    5771592  27% /media/ubuntu/casper-rw
tmpfs                 392684       8     392676   1% /run/user/108
ubuntu at ubuntu:~$ setxkbmap se
ubuntu at ubuntu:~$ ubuntu-support-status --show-unsupported
Résumé de l'état du support de « ubuntu » :

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 at ubuntu:~$ LANG=C
ubuntu at 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 at 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 at ubuntu:~$ test -d /sys/firmware/efi/ && echo efi || echo bios
efi

ubuntu at 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/ubuntu/casper-rw
--

As you can see 'df' works with 'LANG=C', but not 'ubuntu-support-
status'. It is possible that other command line programs fail too.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1556399

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

Status in update-manager package in Ubuntu:
  New

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

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1556399/+subscriptions



More information about the foundations-bugs mailing list