[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#383352: marked as done (locales-all: Should call localedef with --replace on postinst)



Your message dated Wed, 16 Aug 2006 20:53:55 +0200
with message-id <20060816185355.GA5865@linuxfr.org>
and subject line Bug#383352: locales-all: Should call localedef with --replace on postinst
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Version: 2.3.6.ds1-1

On Wed, Aug 16, 2006 at 08:14:42PM +0200, Maik Zumstrull wrote:
> 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.

Yes, it has already been fixed in 2.3.6.ds1-1.
Thanks for your report.

Denis

--- End Message ---

Reply to: