Here is a debdiff with a prerm for bluez catching the error from the old prerm script and exiting with return code 0 (nothing has to be done as the deamon is already stopped else the bug won't occur).
Preparing to replace bluez 4.45-0ubuntu1 (using .../bluez_4.45-0ubuntu4_amd64.deb) ...
invoke-rc.d: initscript bluetooth, action "stop" failed.
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement bluez ...
Setting up bluez (4.45-0ubuntu4) ...
Here is a debdiff with a prerm for bluez catching the error from the old prerm script and exiting with return code 0 (nothing has to be done as the deamon is already stopped else the bug won't occur).
Preparing to replace bluez 4.45-0ubuntu1 (using .../bluez_ 4.45-0ubuntu4_ amd64.deb) ...
invoke-rc.d: initscript bluetooth, action "stop" failed.
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement bluez ...
Setting up bluez (4.45-0ubuntu4) ...