[Bug 1394929] Re: [FFe]Please provide 'locales-all' as in Debian

Steve Langasek steve.langasek at canonical.com
Sat Mar 19 20:26:57 UTC 2016


@@ -96,7 +96,8 @@
 Section: localization
 Priority: standard
 Depends: libc-bin (>> 2.23), ${misc:Depends}, debconf | debconf-2.0
-Replaces: manpages-fr-extra (<< 20141022)
+Breaks: libc-bin (<< 2.23)
+Replaces: libc-bin (<< 2.23), manpages-fr-extra (<< 20141022)
 Build-Profiles: <!stage1>
 Description: GNU C Library: National Language (locale) data [support]
  Machine-readable data files, shared objects and programs used by the

This introduces a Breaks/Replaces between two packages in the minimal
set (locales, libc-bin).  This will warrant upgrade testing from both
14.04 and 15.10.  Has any upgrade testing been done already?

The Breaks/Replaces from locales to libc-bin is definitely required, due
to the move of the update-locale script.

I see the breaks relationship is also bidirectional, with libc6 Breaks:
(locales << 2.23), which further emphasizes the need for upgrade
testing.  Why is the breaks in that direction required?  Is this related
to the drop of the locale-gen --purge call from libc.postinst?

Otherwise, everything in this looks good to me.  It appears to be a
faithful translation of the existing langpack handling code in the
Ubuntu-specific package, and where there is delta it makes sense in
terms of bugfixing of the existing behavior (e.g., properly splitting
the handling of /etc/locale.gen vs. /var/lib/locales/supported.d, and
fixing handling of langpacks to not modify contents of /usr/lib/locale,
so that the set of available locales is always the union of the debconf-
configured locales and the langpacks).

-- 
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/1394929

Title:
  [FFe]Please provide 'locales-all' as in Debian

Status in glibc package in Ubuntu:
  Confirmed
Status in langpack-locales package in Ubuntu:
  Confirmed

Bug description:
  Repurposing this bug as a Feature Freeze exception request to merge
  langpack-locales into glibc, and make locales-all available in the
  process.  Working on getting that all done and properly tested by
  tonight, but if this doesn't make it, it'll happen in early 16.10
  instead.

  [Original Report]
  Hi,

  Debian provides a 'locales-all' package, which is very convenient to
  ensure all locales are available, and installs very quickly.

  It's particularly handy when providing i18n'd web applications (e.g. that use php-gettext).
  As they may be accessed by visitors of all supported languages, rather than documenting how the server administrator should enable a list of 10-15 languages by reconfiguring 'locales', the packager can just add 'locales-all' to the Recommends or Depends.
  See for instance the FusionForge package in Debian (https://packages.debian.org/jessie/gforge-web-apache2).

  Cheers!
  Sylvain

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



More information about the foundations-bugs mailing list