installing libbluetooth-dev:armhf
I like to install most reset , working , version 5.50 of libbluetooth-
No matter what I do I always end up with 5.37 amd64 architecture.
I am using this resource
https:/
I have tried -dbg version with same results.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
For diagnostic purposes please provide the output that you receive for the commands
uname -a
lsb_release -crid
dpkg -l | grep blue
apt-cache policy libbluetooth-dev libbluetooth3
dpkg --print-
dpkg --print-
Revision history for this message
|
#2 |
jim@jim-desktop:~$ dpkg --print-
amd64
jim@jim-desktop:~$ dpkg --print-
i386
armhf
jim@jim-desktop:~$ apt-cache policy libbluetooth-dev libbluetotth3
libbluetooth-dev:
Installed: 5.37-0ubuntu5.1
Candidate: 5.37-0ubuntu5.1
Version table:
*** 5.37-0ubuntu5.1 500
500 http://
500 http://
100 /var/lib/
5.37-0ubuntu5 500
500 http://
500 http://
N: Unable to locate package libbluetotth3
jim@jim-desktop:~$ dpkg -l|grep blue
ii bluez 5.37-0ubuntu5.1 amd64 Bluetooth tools and daemons
ii bluez-obexd 5.37-0ubuntu5.1 amd64 bluez obex daemon
ii libbluetooth-dev 5.37-0ubuntu5.1 amd64 Development files for using the BlueZ Linux Bluetooth library
ii libbluetooth3:amd64 5.37-0ubuntu5.1 amd64 Library to use the BlueZ Linux Bluetooth stack
ii libbluetooth3:i386 5.37-0ubuntu5.1 i386 Library to use the BlueZ Linux Bluetooth stack
ii libgnome-
jim@jim-desktop:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
jim@jim-desktop:~$ uname -a
Linux jim-desktop 4.15.0-46-generic #49~16.04.1-Ubuntu SMP Tue Feb 12 17:45:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
jim@jim-desktop:~$
jim@jim-desktop:~$ apt-cache policy libbluetooth-dev libbluetooth3'
Installed: 5.37-0ubuntu5.1
Candidate: 5.37-0ubuntu5.1
Version table:
*** 5.37-0ubuntu5.1 500
500 http://
500 http://
100 /var/lib/
5.37-0ubuntu5 500
500 http://
500 http://
libbluetooth3:
Installed: 5.37-0ubuntu5.1
Candidate: 5.37-0ubuntu5.1
Version table:
*** 5.37-0ubuntu5.1 500
500 http://
500 http://
100 /var/lib/
5.37-0ubuntu5 500
500 http://
500 http://
jim@jim-desktop:~$ '
Revision history for this message
|
#3 |
I cannot tell , but it seems to be searching for wrong repository.
When I run "Software Install " from GUI I get no progress report /trace.
Is there a log I could look at?
This is on of the source files I used
libbluetooth3-
Revision history for this message
|
#4 |
Is it OK for me to use multi-architecture ?
After reading some doc it may not be available in the Unbutu versions I am using.
I am VERY reluctant / hesitant to upgrade to 18 , hab bad experience I trying it couple months ago.
Revision history for this message
|
#5 |
Maybe this will help.
I changed a repository link,
I did try to install l lilbluetoorth-
Here is a output:
jim@jim-
Reading package lists... Done
Building dependency tree
Reading state information... Done
W: Target Packages (main/binary-
times in /etc/apt/
W: Target Packages (main/binary-
in /etc/apt/
W: Target Translations (main/i18n/
times in /etc/apt/
W: Target Translations (main/i18n/
times in /etc/apt/
W: Target DEP-11 (main/dep11/
times in /etc/apt/
W: Target DEP-11-icons (main/dep11/
times in /etc/apt/
W: Target Packages (universe/
times in /etc/apt/
W: Target Packages (universe/
times in /etc/apt/
W: Target Translations (universe/
multiple times in /etc/apt/
W: Target Translations (universe/
multiple times in /etc/apt/
W: Target DEP-11 (universe/
multiple times in /etc/apt/
W: Target DEP-11-icons (universe/
multiple times in /etc/apt/
E: Unable to locate package lubbluetooth-
*AFTER I corrected the typo the output was much terse *
jim@jim-
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libbluetooth-
Of course this still works:
jim@jim-
Reading package lists... Done
Building dependency tree
Reading state information... Done
libbluetooth-dev is already the newest version (5.37-0ubuntu5.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jim@jim-
On Wed, Apr 3, 2019 at 2:17 PM Manfred Hampl <
<email address hidden>> wrote:
> Your question #679753 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> For diagnostic purposes please provide the output that you receive for
> the commands
>
> uname -a
> lsb_release -crid
> dpkg -l | grep blue
> apt-cache policy libbluetooth-dev libbluetooth3
> dpkg --print-
> dpkg --print-
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#6 |
1. As far as I can see you have a system with a CPU that is based on Intel x86 architecture (in dpkg terms amd64 and i386). What do you expect from installing a package for armhf architecture? This is for a different processor architecture (e.g. the CPUs in some kind of mobile phones or a Raspberry Pi) and the programs will not run on your CPU. Do you want to do cross-compiling?
2. If you need to install packages for an architecture different from amd64 and i386 (e.g. armhf), then you have to add a special repository to your package management configuration, namely ports.ubuntu.com.
Something like
deb [arch=i386,amd64] http://
deb [arch=armhf] http://
What is the output of the command
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
Revision history for this message
|
#7 |
And an additional comment:
You are running Ubuntu 16.04 xenial, but trying to add the libbluetooth3-dbg package for Ubuntu 19.04 disco. This does not make any sense.
Revision history for this message
|
#8 |
Manfred,
Many thanks for the reply.
I really appreciate your help.
Do you want to do cross-compiling?
YES!!!!!!!
That is the WHOLE point of this exercise !!
deb [arch=i386,amd64] http://
universe
deb [arch=armhf] http://
I did do that,but I did it wrong.
I need to do some editing.
jim@jim-desktop:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e
"\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 deb http://
xenial main
2 # deb-src http://
xenial main
/etc/apt/
1 deb
http://
main
2 # deb-src
http://
main
/etc/apt/
1 deb http://
main
2 # deb-src http://
xenial main
/etc/apt/
1 deb http://
2 # deb-src http://
/etc/apt/
1 deb https:/
2 deb-src https:/
/etc/apt/
1 deb http://
2 # deb-src http://
xenial main
/etc/apt/
1 deb http://
2 # deb-src http://
xenial main
/etc/apt/
1 # deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64
(20170801)]/ xenial main restricted
2
3 # See http://
upgrade to
4 # newer versions of the distribution.
5 deb http://
6 # deb-src http://
restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
restricted
11 # deb-src http://
main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT
receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://
17 # deb-src http://
18 deb http://
19 # deb-src http://
universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy
yourself as to
23 ## your rights to use the software. Also, please note that
software in
24 ## multiverse WILL NOT receive any review or updates from the
Ubuntu
25 ## security team.
26 deb http://
27 # deb-src http://
28 deb http://
29 # deb-src http://
multiverse
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it
includes
33 ## newer versions of some applications which may provide useful
features.
34 ## Also, please note that software in backports WILL NOT receive
any review
35 ## or updates from the Ubuntu security team.
36 deb http://
restricted universe multiverse
37 # deb-src http://
main restricted universe multiverse
38
39 ## Uncomment the following two lines to add software from
Canonical's
40 ## 'partner' repository.
41 ## This software is not part of Ubuntu, but is offered by
Canonical and the
42 ## respective vendors as a service to Ubuntu users.
43 # deb http://
44 # deb-src http://
45
46 deb http://
restricted
47 # deb-src http://
restricted
48 deb http://
49 # deb-src http://
universe
50 deb http://
51 # deb-src http://
multiverse
52 deb http://
contrib
53 # deb-src http://
contrib
54 deb [arch=amd64,i386] http://
main universe
55 # deb-src [arch=amd64,i386] http://
xenial main universe
56 deb [arch=amd64,amrhf] http://
xenial main universe
57
58 #chnaged CCC to arch=amd64 armhf
59
60 # deb-src [arch=i386,amrhf] http://
xenial main universe
jim@jim-desktop:~$
On Thu, Apr 4, 2019 at 1:53 AM Manfred Hampl <
<email address hidden>> wrote:
> Your question #679753 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> 1. As far as I can see you have a system with a CPU that is based on
> Intel x86 architecture (in dpkg terms amd64 and i386). What do you
> expect from installing a package for armhf architecture? This is for a
> different processor architecture (e.g. the CPUs in some kind of mobile
> phones or a Raspberry Pi) and the programs will not run on your CPU. Do
> you want to do cross-compiling?
>
> 2. If you need to install packages for an architecture different from
> amd64 and i386 (e.g. armhf), then you have to add a special repository to
> your package management configuration, namely ports.ubuntu.com.
> Something like
> deb [arch=i386,amd64] http://
> universe
> deb [arch=armhf] http://
>
> What is the output of the command
> find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"'
> _ '{}' \;
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#9 |
Manfred,
I did try different ways to download the libbluetooth3-dbg and probably did
not pay attention to OS.
My mistake.
I do not want to confuse the issue , but originally I did try to run
"configure" on source package "bluez".
I am pretty sure I forgot to option for cross-complier , hence the library
file created was always for x86-64 architecture.
I just realized that today, sorry.
I may try to go back to try it again, so please stand-by.
I would not want you to waste your time on this if the "bluez"
crosscompiles library of correct architecture.
On Thu, Apr 4, 2019 at 1:53 AM Manfred Hampl <
<email address hidden>> wrote:
> Your question #679753 on Ubuntu changed:
> https:/
>
> Manfred Hampl posted a new comment:
> And an additional comment:
>
> You are running Ubuntu 16.04 xenial, but trying to add the
> libbluetooth3-dbg package for Ubuntu 19.04 disco. This does not make any
> sense.
>
> --
> You received this question notification because you asked the question.
>
Revision history for this message
|
#10 |
It seems that I have to go deeper into details about the required changes for armhf.
It is not just adding a few additional lines, but replacing and duplicating most of the references.
I recommend that you start with a removal of the lines that you have added at the end of /etc/apt/
Each line that starts with "deb" and that refers to an Ubuntu repository server has to be replaced by two lines.
e.g. line 5
deb http://
has to be changed into these two lines
deb [arch=amd64,i386] http://
deb [arch=armhf] http://
Similar changes have to be done for the lines 10, 16, 18, 26, 28, 36, 46, 48, 50
As far as I know, there is no need to change or duplicate the "deb-src ... " lines
And for line 52, I assume that you have to add "[arch=amd64,i386]" but not duplicate the line.
After all these changes, what is the output of the command
sudo apt update
?
Can you help with this problem?
Provide an answer of your own, or ask anne ranch for more information if necessary.