[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-15 Thread Martin-Éric Racine
Manuel, that fixes something which isn't broken. :) What needs to be fixed are the maintainer scripts, by adding traps to catch command line arguments passed by dpkg. Right now, those scripts are broken. However, looking more closely, the dh_installinit helper from the Debhelper package is what

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-15 Thread Martin-Éric Racine
Looks like this one is needed too. Again, should also be merged upstream at Debian. ** Attachment added: bluez.postrm http://launchpadlibrarian.net/29035580/bluez.postrm -- bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails https://bugs.launchpad.net/bugs/399482 You received this bug

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-15 Thread Martin-Éric Racine
This sample script should fix it. It just needs to be merged upstream at Debian. ** Attachment added: bluez.prerm http://launchpadlibrarian.net/29035533/bluez.prerm -- bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails https://bugs.launchpad.net/bugs/399482 You received this bug

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-15 Thread Martin-Éric Racine
OK, what's needed are an empty prerm and postrm, each with case/esac cases as follow: # summary of how this script can be called: #* prerm `remove' #* old-prerm `upgrade' new-version #* new-prerm `failed-upgrade' old-version #* conflictor's-prerm `remove'

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-15 Thread Martin-Éric Racine
As reported by several people, 4.45-0ubuntu3 did not really fix the issue. Re-opening. ** Changed in: bluez (Ubuntu) Status: Fix Released = New -- bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails https://bugs.launchpad.net/bugs/399482 You received this bug notification because

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-15 Thread Martin-Éric Racine
Mario, can you please check the attachments and merge them in the source package? -- bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails https://bugs.launchpad.net/bugs/399482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-15 Thread Bobby McGee
I found this fix in the Ubuntu Forums and it worked for me: Open a Terminal * sudo gedit /etc/init.d/bluetooth * Find the pkill -TERM bluetoothd line * Replace it with pkill -TERM bluetoothd || true Save it and run sudo apt-get upgrade. It will prompt you if you want to overwrite

Re: [Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-15 Thread Fahim Abdun-Nur
I tried out your instructions and they seem to have done the trick. Thanks! On Wed, Jul 15, 2009 at 7:08 AM, Bobby McGee iaskedalic...@gmail.comwrote: I found this fix in the Ubuntu Forums and it worked for me: Open a Terminal * sudo gedit /etc/init.d/bluetooth * Find the pkill -TERM

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-15 Thread Matt Zimmerman
** Changed in: bluez (Ubuntu) Status: New = Triaged ** Changed in: bluez (Ubuntu) Importance: Undecided = High ** Changed in: bluez (Ubuntu) Importance: High = Undecided ** Changed in: bluez (Ubuntu) Status: Triaged = New ** Changed in: bluez (Ubuntu) Assignee:

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-14 Thread Martin-Éric Racine
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/29023427/Dependencies.txt -- bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails https://bugs.launchpad.net/bugs/399482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-14 Thread Launchpad Bug Tracker
This bug was fixed in the package bluez - 4.45-0ubuntu3 --- bluez (4.45-0ubuntu3) karmic; urgency=low * debian/bluez.bluetooth.init: - Guard the stop action in case bluetoothd isn't running. (LP: #399482) -- Mario Limonciello mario_limoncie...@dell.com Tue, 14 Jul 2009

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-14 Thread Martin-Éric Racine
While I haven't seen what fix was used in 4.45-0ubuntu3 (still waiting for the mirror to be pulsed), I'll point out that the main issue seems to be that prerm misses the case/esac traps to intercept dpkg commands: # summary of how this script can be called: #* prerm `remove' #*

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-14 Thread Sebastian Schepens
Upgrade to 4.45-0ubuntu3 from 0ubuntu1 fails as well with same error: 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 ... invoke-rc.d: initscript bluetooth, action stop

[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails

2009-07-14 Thread Manuel Muradás
You can 'manually' apply the patch by editing '/etc/init.d/bluetooth': - Find the 'pkill -TERM bluetoothd' line - Replace it with 'pkill -TERM bluetoothd || true' I don't know if there is a better way to solve this problem. -- bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails