Your message dated Wed, 23 May 2018 17:57:56 +0900
with message-id 
<cabmqnvj7cc7jv2nghad41jluvytimi2j+aw6vawuq_-m6v+...@mail.gmail.com>
and subject line Re: bluez: Syntax error in bluez preinst script: 28: : "fi" 
unexpected (expecting "done")
has caused the Debian Bug report #899340,
regarding bluez 5.49-2 preinst is improperly authored and fails during 
preinstall
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
899340: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899340
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: bluez
Version: 5.49-3

This bug has been fixed in 5.49-3.
I closed this bug.

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6

--- End Message ---

Reply via email to