[Bug 1746015] Re: Apt and apt-get do not ship a us_EN language catalog

Rob A 1746015 at bugs.launchpad.net
Mon Jan 29 20:25:37 UTC 2018


While that may be a precise and accurate statement, I believe it is the
wrong answer.

$ LANGUAGE=en_US:de:ja apt install vim
E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Permission denied)
E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
$ LANGUAGE=invalid:de:ja apt install vim
E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Permission denied)
E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
$ LANGUAGE="" apt install vim
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

C is the *fallback* language, not the primary.  Therefore, even though
the user has requested English, and English is available in "C", the
user is not receiving English.

Besides: "C" isn't even a valid language (see screenshot).

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

Title:
  Apt and apt-get do not ship a us_EN language catalog

Status in apt package in Ubuntu:
  Invalid

Bug description:
  Description:    Ubuntu 17.10
  Release:        17.10

  If you install anthy with additional languages, with "US English" as
  your primary language, you end up with a "locale" output similar to
  the following:

  $ locale
  LANG=en_US.UTF-8
  LANGUAGE=en_US:de:ja
  LC_CTYPE="en_US.UTF-8"
  LC_NUMERIC=en_GB.UTF-8
  LC_TIME=en_GB.UTF-8
  LC_COLLATE=C
  LC_MONETARY=en_US.UTF-8
  LC_MESSAGES="en_US.UTF-8"
  LC_PAPER="en_US.UTF-8"
  LC_NAME="en_US.UTF-8"
  LC_ADDRESS="en_US.UTF-8"
  LC_TELEPHONE="en_US.UTF-8"
  LC_MEASUREMENT=en_US.UTF-8
  LC_IDENTIFICATION="en_US.UTF-8"
  LC_ALL=

  The LANGUAGE variable in this case is using the rules from
  https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-
  variable.html

  When running "aptitude" or "apt-get" or "apt install", the messages
  that come back are in German.  If you strace those commands, you'll
  see apt trying to search for an en_US or en catalog, finding none, and
  falling down to the 2nd language in the list: "de" or German.

  If you run:
  $ LANGUAGE="" apt-get update

  Then the messages come back in English, because the system's fallen
  back to the "C" locale.

  apt should also properly ship an en_US language catalog.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: apt 1.5.1
  ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
  Uname: Linux 4.13.0-32-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.7
  Architecture: amd64
  Date: Mon Jan 29 08:31:38 2018
  InstallationDate: Installed on 2017-04-27 (276 days ago)
  InstallationMedia: Kubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  SourcePackage: apt
  UpgradeStatus: Upgraded to artful on 2018-01-29 (0 days ago)

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



More information about the foundations-bugs mailing list