Your message dated Wed, 23 May 2018 11:14:47 +0100
with message-id <20180523101447.ga11...@espresso.pseudorandom.co.uk>
and subject line Re: Bug#899362: preinst: Syntax error: "fi" unexpected 
(expecting "done")
has caused the Debian Bug report #899362,
regarding preinst: Syntax error: "fi" unexpected (expecting "done")
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.)


-- 
899362: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899362
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: bluez
Version: 5.49-2
Severity: serious

Hi,

With last upload, I get the following error when updating:

Préparation du dépaquetage de .../00-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: erreur de traitement de l'archive 
/tmp/apt-dpkg-install-VGH6Uq/00-bluez_5.49-2_amd64.deb (--unpack) :
 new bluez package pre-installation script subprocess returned error exit 
status 2

I would definitely suggest you to use a debian/bluez.maintscript file to remove
that file on upgrade instead, see dh_installdeb manpage.

Kind regards,

Laurent Bigonville

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

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

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

On Wed, 23 May 2018 at 11:32:10 +0200, Laurent Bigonville wrote:
> /var/lib/dpkg/tmp.ci/preinst: 28: /var/lib/dpkg/tmp.ci/preinst: Syntax error: 
> "fi" unexpected (expecting "done")

This appears to be a duplicate of #899340/#899342 which were fixed
in 5.49-3.

> I would definitely suggest you to use a debian/bluez.maintscript file to 
> remove
> that file on upgrade instead

That seems a better plan than doing it the hard way.

    smcv

--- End Message ---

Reply via email to