hello,
I have BBGw out of the box, I want to implement a bluetooth configuration project: https://www.maker.io/en/blogs/seeed-studio-beaglebone-green-wireless-bluetooth-proximity-detection/d998851bfe9e49349d10a59d0cf43819
As specified in the instructions, i need to install following package:
sudo apt-get install build-essential python-dev libbluetooth-dev
But I get following error:
sudo apt-get install build-essential python-dev libbluetooth-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version.
python-dev is already the newest version.
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies:
bb-doc-bone101-jekyll : Depends: bonescript but it is not going to be installed
libbluetooth-dev : Depends: libbluetooth3 (= 5.23-2+b1) but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
When I try apt-get -f install
apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following package was automatically installed and is no longer required:
libfuse2
Use ‘apt-get autoremove’ to remove it.
The following extra packages will be installed:
bonescript
The following NEW packages will be installed:
bonescript
0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
26 not fully installed or removed.
Need to get 2749 kB of archives.
After this operation, 24.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://repos.rcn-ee.com/debian/ jessie/main bonescript armhf 0.5.0-0rcnee17~bpo80+20160709+1 [2749 kB]
Fetched 2749 kB in 35s (77.6 kB/s)
(Reading database … 63394 files and directories currently installed.)
Preparing to unpack …/bonescript_0.5.0-0rcnee17~bpo80+20160709+1_armhf.deb …
Unpacking bonescript (0.5.0-0rcnee17~bpo80+20160709+1) …
dpkg: error processing archive /var/cache/apt/archives/bonescript_0.5.0-0rcnee17~bpo80+20160709+1_armhf.deb (–unpack):
trying to overwrite ‘/lib/systemd/system/bonescript.socket’, which is also in package bb-bonescript-installer-beta 0.5.0~beta7-0rcnee1~bpo80+20160526+1
Errors were encountered while processing:
/var/cache/apt/archives/bonescript_0.5.0-0rcnee17~bpo80+20160709+1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can anybody suggest how to resolve this?
I am new to beaglebone (and linux :p)