Bug#251364: [Logcheck-devel] Bug#251364: logcheck: preinst has bashism, fails with dash and LANG != C

maks attems debian at sternwelten.at
Fri May 28 19:35:04 UTC 2004


On Fri, 28 May 2004, Santiago Vila wrote:

> Package: logcheck
> Version: 1.2.20a
> Severity: serious
> Tags: patch
> 
> On a system where sh points to dash and LANG=es_ES, I get this:
> 
> # apt-get -y --reinstall install logcheck
> Leyendo lista de paquetes... 0%
> Leyendo lista de paquetes... 0%
> Leyendo lista de paquetes... 23%
> Leyendo lista de paquetes... Hecho
> Creando ?rbol de dependencias... 0%
> Creando ?rbol de dependencias... 0%
> Creando ?rbol de dependencias... 50%
> Creando ?rbol de dependencias... 50%
> Creando ?rbol de dependencias... Hecho
> 0 actualizados, 0 se instalar?n, 1 reinstalados, 0 para eliminar y 1 no actualizados.
> Se necesita descargar 0B/34,0kB de archivos.
> Se utilizar?n 0B de espacio de disco adicional despu?s de desempaquetar.
> Preconfiguring packages ...
> (Leyendo la base de datos ...
> 45379 ficheros y directorios instalados actualmente.)
> Preparando para reemplazar logcheck 1.2.20a (usando .../logcheck_1.2.20a_all.deb) ...
> Desempaquetando el reemplazo de logcheck ...
> Eliminando usuario logcheck...
> Configurando logcheck (1.2.20a) ...
> hecho.
> chown: `logcheck:logcheck': usuario inv?lido
> chown: `logcheck:logcheck': usuario inv?lido
> chgrp: nombre de grupo inv?lido `logcheck'
> chown: `logcheck': usuario inv?lido
> 
> It seems &>/dev/null in preinst is not allowed by dash.
> 
> Patch follows:

ok thanks, i've tested your patch on bash and it works,
commited it to latest cvs on alioth,
could you test the fix on your system:
please add to your sources.list (apt-get update && apt-get upgrade)
# logcheck testing
deb http://debian.stro.at sarge/
deb-src http://debian.stro.at sarge/

you'll get the release canditat for 1.2.21 logcheck,
thanks for your feedback in advance.
i'll hope we can release that nailed down.

a+ maks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040528/ca9a2ac9/attachment.pgp 


More information about the Logcheck-devel mailing list