Ubuntu

problem in using bluetooth in ubuntu 11.04

Asked by !ncredible on 2011-06-28

i have installed bluetooth manager, blue who, blueproximity softwares in my ubuntu 11.04. but whenever i try to connect my phone to the phone and try to search the phone from the laptop it gives me the error " BLUEZ DEAMON IS NOT RUNNING"

WHAT TO DO??

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu bluez Edit question
Assignee:
No assignee Edit question
Solved by:
!ncredible
Solved:
2011-07-04
Last query:
2011-07-04
Last reply:
2011-07-02

This question was reopened

Rohith Kumar (rohithkumar-av) said : #1

In a terminal,
check to type this
su -
bluetoothd -u
exit
exit

check Bluetooth Manager and see if your device is listed.

Ubfan (ubfan1) said : #2

Try installing the bluez package too.

!ncredible (atul498) said : #3

bluez deamon is already installed.

and the suggested command is not working. when i type this " su - " and press enter in the terminal it asks me for the password. when i type the password. it gives me the following error " su : Authentication failure"
and when i type "bluetoothd -u" in the terminal it do nothing

Rohith Kumar (rohithkumar-av) said : #4

Try to run this commands:

sudo killall bluetoothd
sudo bluetoothd

Rohith Kumar (rohithkumar-av) said : #5

If still its not working, try to install the older version of BlueZ

Rohith Kumar (rohithkumar-av) said : #6

or try this in terminal - sudo service bluetooth restart

!ncredible (atul498) said : #7

i have run all the commands specified by you. here's the output.

incredible@incredible-Inspiron-N5010:~$ sudo killall bluetoothd
[sudo] password for incredible:
bluetoothd: no process found
incredible@incredible-Inspiron-N5010:~$ sudo bluetoothd
incredible@incredible-Inspiron-N5010:~$ sudo service bluetooth restart
 * Stopping bluetooth [ OK ]
 * Starting bluetooth [ OK ]
incredible@incredible-Inspiron-N5010:~$

after that i tried to run the bluetooth manager and it gave me the following error again..i was having the same problem when i was running ubuntu 10.10...i dont know whats wrong....

connection to BlueZ failed [in title]

BlueZ deamon not running. Blueman-manager cannot continue [error message]

Ubfan (ubfan1) said : #8

bluetooth-applet is the manager bluez uses, and its icon sits in the taskbar -- left click on it to pair a device. If icon not present, run it directly:
sudo bluetooth-applet

!ncredible (atul498) said : #9

i can see the bluetooth icon on the taskbar above. when i left click it, it shows me the following menu.

bluetooth:on[faded]
Turn off bluetooth
Preferences

when i click on the prefrences, it shows me a dialog box with title: Bluetooth Prefrences

in the dialog box, there is a message" Bluetooth is Disabled " and a button in the middle containing the text " turn on bluetooth" [faded](means button is not active)

the strange thing is even if, i "turn on" the bluetooth from the menu, it shows the message" bluetooth is disabled" in bluetooth preferences and a small "RED CROSS " on the bluetooth icon even then. but, when i " Turn OFF" the Bluetooth from the menu it activates the button "Turn on Bluetooth" in the Preferences menu, but even after turning it ON it don't work.

I'v also run the command " sudo bluetooth-applet" in the terminal. It gives me the following output.

incredible@incredible-Inspiron-N5010:~$ sudo bluetooth-applet
[sudo] password for incredible:
** Message: adding killswitch idx 1 state KILLSWITCH_STATE_UNBLOCKED
** Message: killswitch 1 is KILLSWITCH_STATE_UNBLOCKED
** Message: killswitches state KILLSWITCH_STATE_UNBLOCKED
** Message: killswitch 1 is KILLSWITCH_STATE_UNBLOCKED
** Message: killswitches state KILLSWITCH_STATE_UNBLOCKED
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

Ubfan (ubfan1) said : #10

Sometimes bluetooth uses a switch -- please type:
rfkill list
to see the state of the software/hardware switches
You should have "no"s on the Soft and Hard blocked lines for bluetooth.

!ncredible (atul498) said : #11

there are all NO's on the output....

incredible@incredible-Inspiron-N5010:~$ rfkill list
0: dell-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: no
1: dell-bluetooth: Bluetooth
 Soft blocked: no
 Hard blocked: no
2: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
incredible@incredible-Inspiron-N5010:~$

so what now..??

!ncredible (atul498) said : #12

i mistakenly clicked on solved answer button

Ubfan (ubfan1) said : #13

Under the classic menu system/preferences/startup applications, is the "bluetooth manager" checked off? You should have a menu choice "setup new devices" when you left click on the bluetooth icon in the task bar. If not, under system/preferences/bluetooth you should have a button to "setup new device".

!ncredible (atul498) said : #14

first, there is not any "setup new device" when i click on the bluetooth icon on the taskbar.

in the system settings, when i click on the "startup and shutdown" icon , it opens the new window containing three items :

Autostart
service manager
session management

under Autostart there is nothing dscribed about Bluetooth

under Service Manager, there are again two categories 1. Load-on-demand services, 2. startup services.

under 1 there is nothing realted to bluetooth.
under2 there is a process BLUEDEVIL- blutooth management service, which was "not runnning". i changed it to "running"

When i click on the Bluetooth icon in the system settings, it opens a window containing three categories.

Devices
file Transfer
Adapters

under each category there is one thing common i.e. a message " No Bluetooth Adapters have been found"

Ubfan (ubfan1) said : #15

"Startup Applications" is not "Startup and Shutdown", which I never heard of. It may also be found in Natty's new interface under applications, all applications, Tweaks... It should open a window with about two dozen items, starting with Bluetooth manager, which should be checked.

Sounds like you have some other bluetooth software installed, which does not work. The below package are what I see installed on my system, and the two running processes for bluetooth. I don't even recall having to install bluez, I think it was the default. I'd sudo apt-get purge blueWhatever from your system and then sudo apt-get install bluez.
See if the other support packages are automatically brought in, install them if not.

$ dpkg -l |fgrep blue
ii bluez 4.91-0ubuntu1 Bluetooth tools and daemons
ii bluez-alsa 4.91-0ubuntu1 Bluetooth ALSA support
ii bluez-cups 4.91-0ubuntu1 Bluetooth printer driver for CUPS
ii bluez-gstreamer 4.91-0ubuntu1 Bluetooth GStreamer support
ii gnome-bluetooth 2.91.2.is.2.32.0-0ubuntu3 GNOME Bluetooth tools
ii libbluetooth3 4.91-0ubuntu1 Library to use the BlueZ Linux Bluetooth stack
ii libgnome-bluetooth8 2.91.2.is.2.32.0-0ubuntu3 GNOME Bluetooth tools - support library
ii pulseaudio-module-bluetooth 1:0.9.22+stable-queue-24-g67d18-0ubuntu3.1 Bluetooth module for PulseAudio sound server

$ ps auxwww |grep bl[u]
root 1023 0.0 0.0 4176 1868 ? Ss 20:50 0:00 /usr/sbin/bluetoothd --udev
kshaf 1550 0.0 0.4 45408 8964 ? Sl 20:51 0:00 bluetooth-applet

!ncredible (atul498) said : #16

i'v found what you were talking about.... and bluetooth manager as well as bluetooth-applet was checked on that.

after that i'v uninstalled all the bluetooth softwares from the system "bluetooth manger" "bluetooth proximity" and "bluewho" using ubuntu software center.

after that i reinstalled them using apt-get command... the following is the output..
plz chck it... and the bluetooth z still not working :(

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install bluez
Reading package lists... Done
Building dependency tree
Reading state information... Done
bluez is already the newest version.
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ dpkg -| |fgrep blue
bash: syntax error near unexpected token `|'
incredible@incredible-Inspiron-N5010:~$ dpkgrep-| fgrep blue
dpkgrep-: command not found

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install bluez
Reading package lists... Done
Building dependency tree
Reading state information... Done
bluez is already the newest version.
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install bluez-alsa
Reading package lists... Done
Building dependency tree
Reading state information... Done
bluez-alsa is already the newest version.
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install bluez-cups
Reading package lists... Done
Building dependency tree
Reading state information... Done
bluez-cups is already the newest version.
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install bluez-gstreamer
Reading package lists... Done
Building dependency tree
Reading state information... Done
bluez-gstreamer is already the newest version.
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install gnome-bluetooth
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  gnome-user-share
Suggested packages:
  apache2.2-bin libapache2-mod-dnssd
The following NEW packages will be installed:
  gnome-bluetooth gnome-user-share
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/327 kB of archives.
After this operation, 1,868 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package gnome-bluetooth.
(Reading database ... 200370 files and directories currently installed.)
Unpacking gnome-bluetooth (from .../gnome-bluetooth_2.91.2.is.2.32.0-0ubuntu3_i386.deb) ...
Selecting previously deselected package gnome-user-share.
Unpacking gnome-user-share (from .../gnome-user-share_2.30.2-0ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gconf2 ...
Processing triggers for libglib2.0-0 ...
Processing triggers for python-support ...
Setting up gnome-bluetooth (2.91.2.is.2.32.0-0ubuntu3) ...
Setting up gnome-user-share (2.30.2-0ubuntu2) ...

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install gnome-bluetooth
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnome-bluetooth is already the newest version.
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install libbluetooth3
Reading package lists... Done
Building dependency tree
Reading state information... Done
libbluetooth3 is already the newest version.
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install libgnome-bluetooth8Reading package lists... Done
Building dependency tree
Reading state information... Done
libgnome-bluetooth8 is already the newest version.
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install pulseaudio-module-bluetooth
Reading package lists... Done
Building dependency tree
Reading state information... Done
pulseaudio-module-bluetooth is already the newest version.
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ ps auxwww |grep bl[u]
1000 1557 0.0 0.0 1912 508 ? S 09:53 0:00 /bin/sh /usr/bin/blueproximity
1000 1559 1.1 0.6 60192 20440 ? Sl 09:53 0:57 python /usr/share/blueproximity/proximity.py
1000 1562 0.0 0.7 104496 20784 ? Sl 09:53 0:00 /usr/bin/python /usr/bin/blueman-applet
1000 1564 0.0 0.2 102048 8432 ? Sl 09:53 0:00 bluetooth-applet
incredible@incredible-Inspiron-N5010:~$ ^C
incredible@incredible-Inspiron-N5010:~$

Ubfan (ubfan1) said : #17

The idea behind doing "sudo apt-get purge <every bluetooth package> is to get rid of all (unwanted) bluetooth config files. Then when you reinstall bluez, it wont say "bluez isalready the newest version" and give up, but it should reinstall all the bluez config files as well as the bluetoothd (which is still not running from your last ps listing). the dpkg command take a lower case L for the "listing", piped to grep to list just bluetooth related packages:
dpkg -l | fgrep blue

!ncredible (atul498) said : #18

So, Following is the Whole Output..... i'v done everything again from the MARK... installation and uninstallation... and bluetooth is still not working

check out the following output, if there is anything wrong I'v done.....

---------------------------------------------------------------------------------------------------------------------------------------------************************************ UNINSTALLATION STARTS HERE ***************************************************
---------------------------------------------------------------------------------------------------------------------------------------------
incredible@incredible-Inspiron-N5010:~$ dpkg -l|fgrep blue
ii bluedevil 1.1-0ubuntu1 The KDE bluetooth stack
rc blueman 1.21-4.1build1 A Graphical bluetooth manager
rc blueproximity 1.2.5-5 locks/unlocks your desktop tracking a bluetooth device
ii bluez 4.91-0ubuntu1 Bluetooth tools and daemons
ii bluez-alsa 4.91-0ubuntu1 Bluetooth ALSA support
ii bluez-cups 4.91-0ubuntu1 Bluetooth printer driver for CUPS
ii bluez-gstreamer 4.91-0ubuntu1 Bluetooth GStreamer support
ii gnome-bluetooth 2.91.2.is.2.32.0-0ubuntu3 GNOME Bluetooth tools
ii libbluedevil1 1.9-0ubuntu1 A Qt wrapper for bluez
ii libbluetooth3 4.91-0ubuntu1 Library to use the BlueZ Linux Bluetooth stack
ii libgnome-bluetooth8 2.91.2.is.2.32.0-0ubuntu3 GNOME Bluetooth tools - support library
ii pulseaudio-module-bluetooth 1:0.9.22+stable-queue-24-g67d18-0ubuntu3.1 Bluetooth module for PulseAudio sound server

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge bluedevil
[sudo] password for incredible:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  bluedevil*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,319 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 200649 files and directories currently installed.)
Removing bluedevil ...
Purging configuration files for bluedevil ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
Processing triggers for python-support ...

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge blueman
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbluedevil1 libotr2 quassel-data libmsn0.3
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  blueman*
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
incredible@incredible-Inspiron-N5010:~$ apt-get autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

incredible@incredible-Inspiron-N5010:~$ sudo apt-get autoremove blueman
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package blueman is not installed, so not removed
The following packages will be REMOVED:
  libbluedevil1 libmsn0.3 libotr2 quassel-data
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 4,506 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 200599 files and directories currently installed.)
Removing libbluedevil1 ...
Removing libmsn0.3 ...
Removing libotr2 ...
Removing quassel-data ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for hicolor-icon-theme ...

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge blueproximity
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  blueproximity*
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get autoremove blueproximity
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package blueproximity is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge blueZ
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  bluez* bluez-alsa* bluez-gstreamer* gnome-bluetooth* gnome-user-share*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 3,850 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 200516 files and directories currently installed.)
Removing gnome-user-share ...
Purging configuration files for gnome-user-share ...
Removing gnome-bluetooth ...
Purging configuration files for gnome-bluetooth ...
Removing bluez-gstreamer ...
Removing bluez-alsa ...
Removing bluez ...
 * Stopping bluetooth [ OK ]
Purging configuration files for bluez ...
Processing triggers for gconf2 ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for libglib2.0-0 ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for python-support ...

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge blueZ-alsa
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package bluez-alsa is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge blueZ-cups
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  bluez-cups*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 123 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 200133 files and directories currently installed.)
Removing bluez-cups ...

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge blueZ-gstreamer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package bluez-gstreamer is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge gnome-bluetooth
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gnome-bluetooth is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge libbluedevil1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libbluedevil1*
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge libbluedevil3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libbluedevil3

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge libbluetooth3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  gvfs-backends* kubuntu-desktop* libbluetooth3* libgps19* obex-data-server* obexd-client* plasma-dataengines-workspace* plasma-desktop* plasma-netbook*
  plasma-widgets-addons* plasma-widgets-workspace* pulseaudio-module-bluetooth* totem-plugins*
0 upgraded, 0 newly installed, 13 to remove and 0 not upgraded.
After this operation, 17.6 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 200124 files and directories currently installed.)
Removing gvfs-backends ...
Removing kubuntu-desktop ...
Removing pulseaudio-module-bluetooth ...
Removing totem-plugins ...
Removing obexd-client ...
Removing obex-data-server ...
Purging configuration files for obex-data-server ...
Removing plasma-netbook ...
Removing plasma-desktop ...
Removing plasma-widgets-workspace ...
Purging configuration files for plasma-widgets-workspace ...
Removing plasma-widgets-addons ...
Removing plasma-dataengines-workspace ...
Removing libgps19 ...
Purging configuration files for libgps19 ...
Removing libbluetooth3 ...
Purging configuration files for libbluetooth3 ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for hicolor-icon-theme ...

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge libgnome-bluetooth8
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  libgnome-bluetooth8* network-manager-gnome*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 2,134 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 199449 files and directories currently installed.)
Removing network-manager-gnome ...
Purging configuration files for network-manager-gnome ...
Removing libgnome-bluetooth8 ...
Purging configuration files for libgnome-bluetooth8 ...
Processing triggers for gconf2 ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge pulse-audio-bluetooth
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pulse-audio-bluetooth

incredible@incredible-Inspiron-N5010:~$ sudo apt-get purge pulseaudio-module-bluetooth
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package pulseaudio-module-bluetooth is not installed, so not removed
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ ^C
---------------------------------------------------------------------------------------------------------------------------------------------************************************ UNIINSTALLATION ENDS HERE ***************************************************
---------------------------------------------------------------------------------------------------------------------------------------------

incredible@incredible-Inspiron-N5010:~$ ps auxwww |grep bl[u]
1000 1517 0.0 0.2 85640 8392 ? Sl 10:48 0:00 bluetooth-applet

incredible@incredible-Inspiron-N5010:~$ dpkg -l|fgrep blue
rc blueman 1.21-4.1build1 A Graphical bluetooth manager
rc blueproximity 1.2.5-5 locks/unlocks your desktop tracking a bluetooth device
rc libbluedevil1 1.9-0ubuntu1 A Qt wrapper for bluez

---------------------------------------------------------------------------------------------------------------------------------------------************************************** INSTALLATION STARTS HERE ***************************************************
---------------------------------------------------------------------------------------------------------------------------------------------
incredible@incredible-Inspiron-N5010:~$ sudo apt-get install blueZ
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libbluetooth3
The following NEW packages will be installed:
  bluez libbluetooth3
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 571 kB of archives.
After this operation, 1,778 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main libbluetooth3 i386 4.91-0ubuntu1 [56.0 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ natty/main bluez i386 4.91-0ubuntu1 [515 kB]
Fetched 571 kB in 16s (35.3 kB/s)
Selecting previously deselected package libbluetooth3.
(Reading database ... 199308 files and directories currently installed.)
Unpacking libbluetooth3 (from .../libbluetooth3_4.91-0ubuntu1_i386.deb) ...
Selecting previously deselected package bluez.
Unpacking bluez (from .../bluez_4.91-0ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libbluetooth3 (4.91-0ubuntu1) ...
Setting up bluez (4.91-0ubuntu1) ...
 * Starting bluetooth [ OK ]
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
incredible@incredible-Inspiron-N5010:~$ sudo apt-get install blueZ-alsa
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  bluez-alsa
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 41.5 kB of archives.
After this operation, 180 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main bluez-alsa i386 4.91-0ubuntu1 [41.5 kB]
Fetched 41.5 kB in 2s (17.4 kB/s)
Selecting previously deselected package bluez-alsa.
(Reading database ... 199401 files and directories currently installed.)
Unpacking bluez-alsa (from .../bluez-alsa_4.91-0ubuntu1_i386.deb) ...
Setting up bluez-alsa (4.91-0ubuntu1) ...

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install blueZ-cups
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  bluez-cups
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.0 kB of archives.
After this operation, 123 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main bluez-cups i386 4.91-0ubuntu1 [22.0 kB]
Fetched 22.0 kB in 5s (4,218 B/s)
Selecting previously deselected package bluez-cups.
(Reading database ... 199411 files and directories currently installed.)
Unpacking bluez-cups (from .../bluez-cups_4.91-0ubuntu1_i386.deb) ...
Setting up bluez-cups (4.91-0ubuntu1) ...

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install blueZ-gstreamer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  bluez-gstreamer
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.9 kB of archives.
After this operation, 209 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main bluez-gstreamer i386 4.91-0ubuntu1 [56.9 kB]
Fetched 56.9 kB in 5s (9,666 B/s)
Selecting previously deselected package bluez-gstreamer.
(Reading database ... 199420 files and directories currently installed.)
Unpacking bluez-gstreamer (from .../bluez-gstreamer_4.91-0ubuntu1_i386.deb) ...
Setting up bluez-gstreamer (4.91-0ubuntu1) ...

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install gnome-bluetooth
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  gnome-user-share gvfs-backends libgnome-bluetooth8 obex-data-server obexd-client
Suggested packages:
  apache2.2-bin libapache2-mod-dnssd
The following NEW packages will be installed:
  gnome-bluetooth gnome-user-share gvfs-backends libgnome-bluetooth8 obex-data-server obexd-client
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 904 kB/1,271 kB of archives.
After this operation, 4,788 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main obexd-client i386 0.40-1 [60.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ natty/main obex-data-server i386 0.4.6-0ubuntu1 [78.3 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ natty/main gvfs-backends i386 1.8.0-0ubuntu2 [765 kB]
Fetched 904 kB in 27s (32.5 kB/s)
Selecting previously deselected package libgnome-bluetooth8.
(Reading database ... 199428 files and directories currently installed.)
Unpacking libgnome-bluetooth8 (from .../libgnome-bluetooth8_2.91.2.is.2.32.0-0ubuntu3_i386.deb) ...
Selecting previously deselected package obexd-client.
Unpacking obexd-client (from .../obexd-client_0.40-1_i386.deb) ...
Selecting previously deselected package obex-data-server.
Unpacking obex-data-server (from .../obex-data-server_0.4.6-0ubuntu1_i386.deb) ...
Selecting previously deselected package gnome-bluetooth.
Unpacking gnome-bluetooth (from .../gnome-bluetooth_2.91.2.is.2.32.0-0ubuntu3_i386.deb) ...
Selecting previously deselected package gnome-user-share.
Unpacking gnome-user-share (from .../gnome-user-share_2.30.2-0ubuntu2_i386.deb) ...
Selecting previously deselected package gvfs-backends.
Unpacking gvfs-backends (from .../gvfs-backends_1.8.0-0ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gconf2 ...
Processing triggers for libglib2.0-0 ...
Processing triggers for python-support ...
Setting up libgnome-bluetooth8 (2.91.2.is.2.32.0-0ubuntu3) ...
Setting up obexd-client (0.40-1) ...
Setting up obex-data-server (0.4.6-0ubuntu1) ...
Setting up gnome-bluetooth (2.91.2.is.2.32.0-0ubuntu3) ...
Setting up gnome-user-share (2.30.2-0ubuntu2) ...
Setting up gvfs-backends (1.8.0-0ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install libbluetooth3
Reading package lists... Done
Building dependency tree
Reading state information... Done
libbluetooth3 is already the newest version.
libbluetooth3 set to manually installed.
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
incredible@incredible-Inspiron-N5010:~$ sudo apt-get install libgnome-bluetooth8
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgnome-bluetooth8 is already the newest version.
libgnome-bluetooth8 set to manually installed.
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

incredible@incredible-Inspiron-N5010:~$ sudo apt-get install pulseaudio-module-bluetooth
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kdebase-workspace freespacenotifier plasma-dataengines-addons libplasma-geolocation-interface4 libplasmaclock4b systemsettings plasma-widget-message-indicator
  kinfocenter libweather-ion6 libqca2-plugin-ossl libkunitconversion4
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  pulseaudio-module-bluetooth
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 65.1 kB of archives.
After this operation, 295 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main pulseaudio-module-bluetooth i386 1:0.9.22+stable-queue-24-g67d18-0ubuntu3.1 [65.1 kB]
Fetched 65.1 kB in 5s (11.8 kB/s)
Selecting previously deselected package pulseaudio-module-bluetooth.
(Reading database ... 199801 files and directories currently installed.)
Unpacking pulseaudio-module-bluetooth (from .../pulseaudio-module-bluetooth_1%3a0.9.22+stable-queue-24-g67d18-0ubuntu3.1_i386.deb) ...
Setting up pulseaudio-module-bluetooth (1:0.9.22+stable-queue-24-g67d18-0ubuntu3.1) ...

incredible@incredible-Inspiron-N5010:~$ dpkg -l |fgrep blue
rc blueman 1.21-4.1build1 A Graphical bluetooth manager
rc blueproximity 1.2.5-5 locks/unlocks your desktop tracking a bluetooth device
ii bluez 4.91-0ubuntu1 Bluetooth tools and daemons
ii bluez-alsa 4.91-0ubuntu1 Bluetooth ALSA support
ii bluez-cups 4.91-0ubuntu1 Bluetooth printer driver for CUPS
ii bluez-gstreamer 4.91-0ubuntu1 Bluetooth GStreamer support
ii gnome-bluetooth 2.91.2.is.2.32.0-0ubuntu3 GNOME Bluetooth tools
rc libbluedevil1 1.9-0ubuntu1 A Qt wrapper for bluez
ii libbluetooth3 4.91-0ubuntu1 Library to use the BlueZ Linux Bluetooth stack
ii libgnome-bluetooth8 2.91.2.is.2.32.0-0ubuntu3 GNOME Bluetooth tools - support library
ii pulseaudio-module-bluetooth 1:0.9.22+stable-queue-24-g67d18-0ubuntu3.1 Bluetooth module for PulseAudio sound server

incredible@incredible-Inspiron-N5010:~$ ps auxwww |grep bl[u]
1000 1517 0.0 0.2 85640 8452 ? Sl 10:48 0:00 bluetooth-applet
incredible@incredible-Inspiron-N5010:~$

Ubfan (ubfan1) said : #19

Did you reboot afterwards? Then take another look at the running processes with blue in their names (the ps command). You should see one named bluetoothd. From the above, the only thing I can see that might have caused files not to be removed is that there were still running bluetooth processes when the packages were deleted. Another possibility is that the package scripts dont do a complete job removing their files -- the safe (paranoid?) thing is to look for files still around after the package deletes.

!ncredible (atul498) said : #20

;0 :)

Atlast,, my problem has been solved. but, the strange thing is that the problem was not in Ubuntu or any Package, it was hidden somewhere else.

I have also installed Window 7 with ubuntu. yesterday i noticed that i'v disabled BLUETOOTH in Win7 since i dont use it while using windows. So, i enabled it and then switched to Ubuntu..... and BINGO--- its working, bluetooth start working in Ubuntu also.

but, one thing am failed to understand, how can settings of windows can effect the ubuntu? i mean, I am using a completly different operating system and win7's settings should work only in win7, it should not effect the LINUX.

plz, tell me if you have any information on this issue...

so, a special thanx to "ubfan" for taking so much interest into my problem and also for trying to solve my problem with every possible way.

plz do a last favour to me... tell me how can i learn the terminal commands to run the linux? i really want to learn the linux, but i don't know anything about these commands and how they work. Should i learn the UNIX?

Ubfan (ubfan1) said : #21

Good to hear you got things working. Looks like Ubuntu does not fully initialize the bluetooth hardware when booting, probably worth a bug report. Happens sometimes with some kernels -- once the optical mice lost their laser when some peripheral chip voltage was not set, which was fixed next kernel.

Passing along Grant Bowman's thoughts on learning shell commands:
A FAQ I hear from time to time at Linux User Groups is: where can I
learn about Bourne/Bourne Again SHell (BASH) scripting?

Michael Paoli also has an excellent guide online.
http://www.rawbw.com/~mp/unix/sh/ From experience teaching scripting
he recommends starting with the six page 1979 sh man page!
http://plan9.bell-labs.com/7thEdMan/v7vol1.pdf

Another good answer seems to be the "Advanced Bash-Scripting Guide"
http://tldp.org/LDP/abs/html/ which despite the title doesn't start at
the Advanced level. That's where you will end up after reading it.
If you are not already familiar with it, the Linux Documentation
Project is a fantastic resource for FAQ and HOWTO documents that many
people (including myself) have used to teach themselves a number of
related topics. This guide is also recommended from
http://www.linuxmafia.com/kb/Devtools