RafaelSimionato
Posts: 3
Joined: Fri Sep 02, 2016 10:12 pm

Package pi-bluetooth not available for apt-get install

Fri Sep 02, 2016 10:29 pm

Hi all,

I had some problems due accentaly including debian ppas in /etc/apt/sources.list and then, update system. So my bluetooth started faling. Then I removed some things hoping to fix it when re-installing it. One of the packages I removed is pi-bluetooth ... and when I try to re-install it I got the following error :

==================================================================
pi@raspberrypi02:~/ $ sudo apt-get install pi-bluetooth
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package pi-bluetooth is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'pi-bluetooth' has no installation candidate
==================================================================

Now my /etc/apt/sources.list looks like the following and I already updated the system :

==================================================================
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
==================================================================

Does someone has any clue on what is going on and how to fix it ?
Should I use a different ppa to get it ?

User avatar
rpdom
Posts: 17170
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Package pi-bluetooth not available for apt-get install

Sat Sep 03, 2016 2:41 am

You should also have a file in /etc/apt/sources.list.d called something like raspi.list, with the contents

Code: Select all

deb http://archive.raspberrypi.org/debian/ jessie main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui
The main sources.list contains the details for the main Raspbian repository. This extra file adds the RPF's repository with Raspberry Pi specific packages that they have added, like pi-bluetooth.

RafaelSimionato
Posts: 3
Joined: Fri Sep 02, 2016 10:12 pm

Re: Package pi-bluetooth not available for apt-get install

Mon Sep 05, 2016 6:33 pm

Thanks for your reply on this.
It worked fine after your suggestion.

Return to “General discussion”