[Bug 1808220] [NEW] dpkg-reconfigure locales does not add locale to /etc/default/locale

HankB hbarta at gmail.com
Wed Dec 12 20:22:16 UTC 2018


Public bug reported:

1) Install Ubuntu 18.04 via debbootstrap (following instructions at https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS)
2) install ubuntu-desktop (`apt install ubuntu0desktop`)
3) reboot.
Content of /etc/default/locale is one line "LANG=en_US"
Consequence of this is that an xterm will not start resulting in following errors in /var/log/syslog
Dec 12 13:37:52 saugage gnome-shell[12845]: Received error from DBus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Timeout was reached
Dec 12 13:37:57 saugage gnome-terminal.desktop[14431]: # Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

Tracking down the cause of the error indicated missing entry in /etc/default/locale. Adding the following solved problem:
  hbarta at saugage:~$ cat /etc/default/locale
  #  File generated by update-locale
  LANG=en_US
  LC_ALL="en_US.UTF-8"

hbarta at saugage:/var/log$ lsb_release -rd
Description:	Ubuntu 18.04.1 LTS
Release:	18.04

When I ran `dpkg-reconfigure locales` I selected en_US for the default
locale.

Possibly related to bug #1598326

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: locales 2.27-3ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
Uname: Linux 4.15.0-42-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Dec 12 14:06:53 2018
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US
 SHELL=/bin/bash
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

** Description changed:

  1) Install Ubuntu 18.04 via debbootstrap (following instructions at https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS)
  2) install ubuntu-desktop (`apt install ubuntu0desktop`)
  3) reboot.
  Content of /etc/default/locale is one line "LANG=en_US"
  Consequence of this is that an xterm will not start resulting in following errors in /var/log/syslog
  Dec 12 13:37:52 saugage gnome-shell[12845]: Received error from DBus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Timeout was reached
  Dec 12 13:37:57 saugage gnome-terminal.desktop[14431]: # Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached
  
  Tracking down the cause of the error indicated missing entry in /etc/default/locale. Adding the following solved problem:
-   hbarta at saugage:~$ cat /etc/default/locale 
-   #  File generated by update-locale
-   LANG=en_US
-   LC_ALL="en_US.UTF-8"
+   hbarta at saugage:~$ cat /etc/default/locale
+   #  File generated by update-locale
+   LANG=en_US
+   LC_ALL="en_US.UTF-8"
  
  hbarta at saugage:/var/log$ lsb_release -rd
  Description:	Ubuntu 18.04.1 LTS
  Release:	18.04
+ 
+ When I ran `dpkg-reconfigure locales` I selected en_US for the default
+ locale.
  
  Possibly related to bug #1598326
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: locales 2.27-3ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
  Uname: Linux 4.15.0-42-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Dec 12 14:06:53 2018
  PackageArchitecture: all
  ProcEnviron:
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US
-  SHELL=/bin/bash
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US
+  SHELL=/bin/bash
  SourcePackage: glibc
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  dpkg-reconfigure locales does not add locale to /etc/default/locale

Status in glibc package in Ubuntu:
  New

Bug description:
  1) Install Ubuntu 18.04 via debbootstrap (following instructions at https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS)
  2) install ubuntu-desktop (`apt install ubuntu0desktop`)
  3) reboot.
  Content of /etc/default/locale is one line "LANG=en_US"
  Consequence of this is that an xterm will not start resulting in following errors in /var/log/syslog
  Dec 12 13:37:52 saugage gnome-shell[12845]: Received error from DBus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Timeout was reached
  Dec 12 13:37:57 saugage gnome-terminal.desktop[14431]: # Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

  Tracking down the cause of the error indicated missing entry in /etc/default/locale. Adding the following solved problem:
    hbarta at saugage:~$ cat /etc/default/locale
    #  File generated by update-locale
    LANG=en_US
    LC_ALL="en_US.UTF-8"

  hbarta at saugage:/var/log$ lsb_release -rd
  Description:	Ubuntu 18.04.1 LTS
  Release:	18.04

  When I ran `dpkg-reconfigure locales` I selected en_US for the default
  locale.

  Possibly related to bug #1598326

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: locales 2.27-3ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
  Uname: Linux 4.15.0-42-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Dec 12 14:06:53 2018
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US
   SHELL=/bin/bash
  SourcePackage: glibc
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1808220/+subscriptions



More information about the foundations-bugs mailing list