Bug#805406: libatlas3-base: Syntax error in preinst maintainer script

Wolfgang Karall-Ahlborn lists+debian-bugs at karall-edv.at
Tue Nov 17 20:34:12 UTC 2015


Package: libatlas3-base
Version: 3.10.2-8
Severity: normal

Dear Maintainer,

today while upgrading a sid system I noticed the following:

.
.
Preparing to unpack .../libatlas3-base_3.10.2-8_i386.deb ...
/var/lib/dpkg/tmp.ci/preinst: line 7: [: argument expected
.
.

Looking at the preinst in /var/lib/dpkg/info/libatlas3-base.preinst this
looks wrong

if [ $1 = "upgrade" -a `dpkg --compare-versions "$2" ge 3.8.4-4~exp1` -a `dpkg --compare-versions "$2" lt 3.10.1-1` ]

which probably is meant to be:

if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" ge 3.8.4-4~exp1 && dpkg --compare-versions "$2" lt 3.10.1-1

Cheers
Wolfgang

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.2.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages libatlas3-base depends on:
ii  libblas-common  1.2.20110419-11
ii  libc6           2.19-22
ii  libgcc1         1:5.2.1-23
ii  libgfortran3    5.2.1-23

libatlas3-base recommends no packages.

libatlas3-base suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list