[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
** 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: (unassigned) => Canonical Desktop Team (canonical-desktop-team) ** Changed in: bluez (Ubuntu) Status: New => Triaged ** Changed in: bluez (Ubuntu) Importance: Undecided => High -- 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. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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 wrote: > 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 the /etc/init.d/bluetooth file, hit N to keep your changes. Then > hit enter and it should update correctly. > > Source: http://ubuntuforums.org/showthread.php?t=1213573 > > -- > 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 direct subscriber > of the bug. > -- 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. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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 the /etc/init.d/bluetooth file, hit N to keep your changes. Then hit enter and it should update correctly. Source: http://ubuntuforums.org/showthread.php?t=1213573 -- 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. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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 you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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: #* `remove' #* `upgrade' #* `failed-upgrade' #* `remove' `in-favour' #* `deconfigure' `in-favour' #`removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # summary of how this script can be called: #* `remove' #* `purge' #* `upgrade' #* `failed-upgrade' #* `abort-install' #* `abort-install' #* `abort-upgrade' #* `disappear' overwrit>r> # for details, see /usr/doc/packaging-manual/ -- 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. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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 notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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 notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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 appears to be broken, because it inserts an if/then loop to stop the daemon, without any case/esac traps to catch dpkg arguments. -- 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. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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 https://bugs.launchpad.net/bugs/399482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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" failed. dpkg: error processing /var/cache/apt/archives/bluez_4.45-0ubuntu3_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 postinst called with unknown argument `abort-upgrade' -- 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. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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: #* `remove' #* `upgrade' #* `failed-upgrade' #* `remove' `in-favour' #* `deconfigure' `in-favour' #`removing' # This is what made the upgrade fail. -- 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. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
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 LimoncielloTue, 14 Jul 2009 17:02:42 -0500 ** Changed in: bluez (Ubuntu) Status: New => Fix Released -- 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. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399482] Re: bluez: upgrade from 4.45-0ubuntu1 to 4.45-0ubuntu2 fails
** 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 Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs