I need to install gdbserver to my beaglebone board for remote debug. But failed.
root@beaglebone:~# apt-get install gdbserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gdbserver:i386 : Depends: libc6:i386 (>= 2.15) but it is not going to be installed
ti-opencl : Depends: libtiopencl1 (= 01.01.17.01-git20181129.0-0rcnee0~stretch+20190103) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@beaglebone:~#
root@beaglebone:~#
root@beaglebone:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libgpiod0 libllvm5.0 ti-c6000-cgt-v8.1.x-installer
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
libtiopencl1
The following NEW packages will be installed:
libtiopencl1
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
192 not fully installed or removed.
Need to get 3,530 kB of archives.
After this operation, 14.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Fetched 3,530 kB in 2s (1,712 kB/s)
(Reading database ... 74664 files and directories currently installed.)
Preparing to unpack .../libtiopencl1_01.01.17.01-git20181129.0-0rcnee0~stretch+20190103_armhf.deb ...
Unpacking libtiopencl1 (01.01.17.01-git20181129.0-0rcnee0~stretch+20190103) ...
dpkg: error processing archive /var/cache/apt/archives/libtiopencl1_01.01.17.01-git20181129.0-0rcnee0~stretch+20190103_armhf.deb (--unpack):
trying to overwrite '/usr/share/ti/opencl/clc.h', which is also in package libopencl1 01.01.15.03-r0.0rcnee7~stretch+20180809
Errors were encountered while processing:
/var/cache/apt/archives/libtiopencl1_01.01.17.01-git20181129.0-0rcnee0~stretch+20190103_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@beaglebone:~#
root@beaglebone:~#
root@beaglebone:~# apt-get install gdbserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gdbserver:i386 : Depends: libc6:i386 (>= 2.15) but it is not going to be installed
ti-opencl : Depends: libtiopencl1 (= 01.01.17.01-git20181129.0-0rcnee0~stretch+20190103) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@beaglebone:~#
Thanks.