Package: libsane Version: 1.0.25+git20150927-1 I saw this when upgrading libsane:
Preparing to unpack .../libsane_1.0.25+git20150927-1_i386.deb ... /var/lib/dpkg/tmp.ci/preinst: 9: [: -l: unexpected operator -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'experimental') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages libsane depends on: ii acl 2.2.52-2 ii adduser 3.113+nmu3 ii libavahi-client3 0.6.31-5 ii libavahi-common3 0.6.31-5 ii libc6 2.19-22 ii libexif12 0.6.21-2 ii libgphoto2-6 2.5.8-1 ii libgphoto2-port12 2.5.8-1 ii libieee1284-3 0.2.11-12 ii libjpeg62-turbo 1:1.4.1-2 ii libsane-common 1.0.25+git20150927-1 ii libtiff5 4.0.5-1 ii libusb-1.0-0 2:1.0.20-1 ii udev 226-3 -- Jakub Wilk