Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1018541

Bug#965323: postinst script deletes custom locales

From Aurelien Jarno <aurelien@aurel32.net>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.glibc
Subject Bug#965323: postinst script deletes custom locales
Date 2020-07-19 18:40 +0200
Message-ID <Aukw2-7N-13@gated-at.bofh.it> (permalink)
References <Aui1b-6Yo-3@gated-at.bofh.it> <Aui1b-6Yo-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


control: tag -1 + wontfix

On 2020-07-19 15:55, Harald Dunkel wrote:
> Package: locales
> Version: 2.28-10
> 
> To support MacOS terminal I have to define "UTF-8" using localedef (see #952516).
> Problem is, custom locales are wiped out by the postinst script. Sample:
> 
> # locale -a
> C
> C.UTF-8
> POSIX
> # localedef -i C -f UTF-8 UTF-8
> # locale -a
> C
> C.UTF-8
> POSIX
> UTF-8
> UTF-8.utf8
> # apt reinstall locales
> :
> :
> # locale -a
> C
> C.UTF-8
> POSIX
> 
> See UTF-8 is gone? Shouldn't happen.

Yes, that's normal. locales might not be compatible with the new glibc
version, so all of them are removed and regenerated on upgrade.
Otherwise you might end up with broken locales causing issues.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#965323: postinst script deletes custom locales Harald Dunkel <harri@afaics.de> - 2020-07-19 16:00 +0200
  Bug#965323: postinst script deletes custom locales Aurelien Jarno <aurelien@aurel32.net> - 2020-07-19 18:40 +0200
  Bug#965323: postinst script deletes custom locales Harald Dunkel <harald.dunkel@aixigo.com> - 2020-07-29 11:40 +0200
    Bug#965323: postinst script deletes custom locales Aurelien Jarno <aurelien@aurel32.net> - 2020-07-29 12:40 +0200

csiph-web