retitle 457360 asclock: Fails to install in locales with localized dpkg present
severity 457360 important
tags 457360 + patch
thanks robot

Hello Marcello,
I looked at your package now in detail and found out that you assume that dpkg 
prints
messages in English only. This is, however, no longer true. The patch below 
fixes this,
I tested it on my box with German locale. 

While building and testing, I noticed that some work has piled up in your 
packages (lots 
of warnings from debhelper, linda, lintian, ...). Maybe you can use the 
Christmas season
to bring asclock up to date (see also my other wishlist bug).

If you don't have the time/interest to work on asclock atm (any more) please 
tell me. If
I don't hear from you I'll provide a NMU in January for this bug, probably with 
the 
following changelog entry:

asclock (2.0.12-8.2) unstable; urgency=low

  * Non-maintainer upload.
  * Don't rely on dpkg's messages to be printed in English but rather force
    C locale where necessary (Closes: #457360)

 -- Helge Kreutzmann <[EMAIL PROTECTED]>  Tue, 25 Dec 2007 09:37:05 +0100

I would be glad to fix all "obvious" linda/lintian/debconf errors as well with 
your
consent, though.

--- debian/asclock.preinst.ursp 2007-12-25 09:29:33.000000000 +0100
+++ debian/asclock.preinst      2007-12-25 09:32:55.000000000 +0100
@@ -6,7 +6,7 @@

 case "$1" in
   upgrade|install)
-    if ! update-alternatives --display asclock | grep '^No alternatives' > 
/dev/null ; then
+    if ! env LANG=C update-alternatives --display asclock | grep '^No 
alternatives' > /dev/null ; then
       update-alternatives --auto asclock
       update-alternatives --remove asclock $asclock-4bpp
       update-alternatives --remove asclock $asclock-8bpp

-- 
      Dr. Helge Kreutzmann                     [EMAIL PROTECTED]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to