Control: tag -1 moreinfo

Hi!

On Fri, 2019-12-20 at 13:20:30 +0100, Thorsten Alteholz wrote:
> Package: dpkg
> Version: 1.17.27

> During installation of a package, that has some problems, the return code of
> dpkg is still 0:
> 
> dpkg -i libgdk-pixbuf2.0-common_2.31.1-2+deb8u8_all.deb 
> libgdk-pixbuf2.0-0_2.31.1-2+deb8u8_amd64.deb
> 
> Selecting previously unselected package libgdk-pixbuf2.0-common.
> (Reading database ... 135769 files and directories currently installed.)
> Preparing to unpack libgdk-pixbuf2.0-common_2.31.1-2+deb8u8_all.deb ...
> Unpacking libgdk-pixbuf2.0-common (2.31.1-2+deb8u8) ...
> Selecting previously unselected package libgdk-pixbuf2.0-0:amd64.
> Preparing to unpack libgdk-pixbuf2.0-0_2.31.1-2+deb8u8_amd64.deb ...
> Unpacking libgdk-pixbuf2.0-0:amd64 (2.31.1-2+deb8u8) ...
> Setting up libgdk-pixbuf2.0-common (2.31.1-2+deb8u8) ...
> Setting up libgdk-pixbuf2.0-0:amd64 (2.31.1-2+deb8u8) ...
> g_module_open() failed for 
> /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so:
>  
> /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so:
> undefined symbol: g_uint_checked_mul
> Processing triggers for libc-bin (2.19-18+deb8u10) ...
> root@test-jessie-amd64-extern:~/gdk-pixbuf/fail# echo $?
> 0

> Is this the intended behaviour?
> 
> I admit that this is a rather old version of dpkg, but I did not find any
> hint in the changelog that something had changed.

I'd assume that's because the postinst does not «set -e» or explicitly
ignores the return code of whatever command is emitting that error.

Thanks,
Guillem

Reply via email to