Package: bluez
Version: 5.49-2
Severity: important

The installation of this package fails with the following error:

Preparing to unpack .../01-bluez_5.49-2_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 28: /var/lib/dpkg/tmp.ci/preinst: Syntax error: 
"fi" unexpected (expecting "done")
dpkg: error processing archive 
/tmp/apt-dpkg-install-WpvNhe/01-bluez_5.49-2_amd64.deb (--unpack):
 new bluez package pre-installation script subprocess returned error exit 
status 2

preinst has a number of unclosed loops dpanning lines 16-26:

        for conffile in \
                /etc/bluetooth/rfcomm.conf \
                /etc/bluetooth/serial.conf \
                /etc/bluetooth/audio.conf; do \
                dpkg-maintscript-helper rm_conffile \
                        ${conffile} 5.21-2 bluez -- "$@"
!>>> missing done here <<<<

        for conffile in \
                /etc/bluetooth/proximity.conf; do \
                dpkg-maintscript-helper rm_conffile \
                        ${conffile} 5.47-1 bluez -- "$@"
!>>> missing done here <<<<

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bluez depends on:
ii  dbus          1.12.8-2
ii  kmod          25-1
ii  libasound2    1.1.6-1
ii  libc6         2.27-3
ii  libdbus-1-3   1.12.8-2
ii  libdw1        0.170-0.4
ii  libglib2.0-0  2.56.1-2
ii  libreadline7  7.0-5
ii  libudev1      238-4
ii  lsb-base      9.20170808
ii  udev          238-4

bluez recommends no packages.

Versions of packages bluez suggests:
pn  pulseaudio-module-bluetooth  <none>

-- no debconf information

Reply via email to