Bug#383352: locales-all: Should call localedef with --replace on postinst
Package: locales-all
Version: 2.3.6-19
Severity: normal
The postinst script currently contains the command:
localedef --add-to-archive "$tmpdir"/*
This should be changed to:
localedef --replace --add-to-archive "$tmpdir"/*
Otherwise, updates of locales-all will fail because, as documented,
"Without this option, if the locale is in the archive file already,
an error occurs.", i.e. the postinst script fails. The original line of course
works fine on first installs of locales-all, when no locale files are
installed yet.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages locales-all depends on:
ii libc6 [glibc-2.3.6-2] 2.3.6-19 GNU C Library: Shared libraries
locales-all recommends no packages.
-- no debconf information
Reply to: