On Tue, Mar 20, 2007 at 12:21:37PM +0000, Marcos Marado wrote: > > [EMAIL PROTECTED]:~# rm /etc/init.d/bluetooth > rm: remove symbolic link `/etc/init.d/bluetooth'? y > [EMAIL PROTECTED]:~# apt-get install --reinstall bluez-utils > [EMAIL PROTECTED]:~# ls /etc/init.d/bl* > ls: /etc/init.d/bl*: No such file or directory > [EMAIL PROTECTED]:~# > > Now I don't have the bluetooth init script at all! > How can I fix this? > And what more can I do to help solving this issue? >
Hmm. [EMAIL PROTECTED]:~ $ dpkg -L bluez-utils | grep init.d /etc/init.d /etc/init.d/bluetooth [EMAIL PROTECTED]:~ $ sudo rm /etc/init.d/bluetooth [EMAIL PROTECTED]:~ $ sudo apt-get install --reinstall bluez-utils Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0B/252kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 191841 files and directories currently installed.) Preparing to replace bluez-utils 3.7-1 (using .../bluez-utils_3.7-1_i386.deb) ... Unpacking replacement bluez-utils ... Setting up bluez-utils (3.7-1) ... Creating device nodes ... udev active, devices will be created in /dev/.static/dev/ [EMAIL PROTECTED]:~ $ ls /etc/init.d/bluetooth ls: /etc/init.d/bluetooth: No such file or directory So, it is in the package, but you are right that --reinstall doesn't fix it. Which is odd. Try this (although if you have configured /etc/default/bluetooth, you should back it up and replace it later; this will erase it) [EMAIL PROTECTED]:~ $ sudo dpkg --purge --force-depends bluez-utils dpkg: bluez-utils: dependency problems, but removing anyway as you request: kdebluetooth depends on bluez-utils; however: Package bluez-utils is to be removed. bluemon depends on bluez-utils. bluez-pcmcia-support depends on bluez-utils (= 3.7-1). (Reading database ... 191841 files and directories currently installed.) Removing bluez-utils ... Purging configuration files for bluez-utils ... [EMAIL PROTECTED]:~ $ sudo apt-get install --reinstall bluez-utils Reading package lists... Done Building dependency tree... Done Suggested packages: bluez-firmware The following NEW packages will be installed bluez-utils 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/252kB of archives. After unpacking 766kB of additional disk space will be used. Selecting previously deselected package bluez-utils. (Reading database ... 191791 files and directories currently installed.) Unpacking bluez-utils (from .../bluez-utils_3.7-1_i386.deb) ... Setting up bluez-utils (3.7-1) ... Creating device nodes ... udev active, devices will be created in /dev/.static/dev/ Starting bluetooth: hcid sdpd sdp_options rfcomm. [EMAIL PROTECTED]:~ $ ls /etc/init.d/bluetooth /etc/init.d/bluetooth Matt -- Matthew Johnson
signature.asc
Description: Digital signature