Cannot install anything after failed upgrade on BeagleBone Black

361 views
Skip to first unread message

Eduljee Chikhliwala

unread,
Dec 7, 2018, 4:49:52 PM12/7/18
to BeagleBoard
Hello:

I am a newbie trying to develop a touchscreen application using a Beaglebone Black.

I was trying to install tightvncserver and first did a  sudo apt-get upgrade

This took a lot of time and had some errors.

Subsequently things have gone wrong and I really cannot install anything. I have tried doing sudo apt --fix-broken install and that does not work too.

I would appreciate if anyone can give me any guidance, I am new to Linux (below please find a screen capture of my error messages).

Thank you in advance.
Edul

=========================

debian@beaglebone:~$ sudo apt install tightvncserver
[sudo] password for debian:
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:
 ti-opencl : Depends: libtiopencl1 (= 01.01.15.03-git20180817.2-0rcnee4~stretch+20180817) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
debian@beaglebone:~$
debian@beaglebone:~$ sudo 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 'sudo 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 1 not upgraded.
176 not fully installed or removed.
Need to get 3,531 kB of archives.
After this operation, 14.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://repos.rcn-ee.com/debian stretch/main armhf libtiopencl1 armhf 01.01.15.03-git20180817.2-0rcnee4~stretch+20180817 [3,531 kB]
Fetched 3,531 kB in 10s (321 kB/s)
(Reading database ... 80523 files and directories currently installed.)
Preparing to unpack .../libtiopencl1_01.01.15.03-git20180817.2-0rcnee4~stretch+20180817_armhf.deb ...
Unpacking libtiopencl1 (01.01.15.03-git20180817.2-0rcnee4~stretch+20180817) ...
dpkg: error processing archive /var/cache/apt/archives/libtiopencl1_01.01.15.03-git20180817.2-0rcnee4~stretch+20180817_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.15.03-git20180817.2-0rcnee4~stretch+20180817_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian@beaglebone:~$ ^C
debian@beaglebone:~$

Robert Nelson

unread,
Dec 7, 2018, 4:56:09 PM12/7/18
to Beagle Board, edulchi...@gmail.com
On your BeagleBone Black, just run:

sudo apt purge libtiopencl1

Regards,

--
Robert Nelson
https://rcn-ee.com/

Eduljee Chikhliwala

unread,
Dec 7, 2018, 5:08:22 PM12/7/18
to BeagleBoard
Dear R C Nelson:

Thank you for your prompt response.

I did what you suggested however I still get the same error. Here's what I see.

Thank you

debian@beaglebone:~$ sudo apt purge libtiopencl1
[sudo] password for debian:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libtiopencl1' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 ti-opencl : Depends: libtiopencl1 (= 01.01.15.03-git20180817.2-0rcnee4~stretch+                                 20180817) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or speci                                 fy a solution).
debian@beaglebone:~$

Robert Nelson

unread,
Dec 7, 2018, 5:47:08 PM12/7/18
to Beagle Board, edulchi...@gmail.com
On Fri, Dec 7, 2018 at 4:08 PM Eduljee Chikhliwala
<edulchi...@gmail.com> wrote:
>
> Dear R C Nelson:
>
> Thank you for your prompt response.
>
> I did what you suggested however I still get the same error. Here's what I see.

ah, it's also ti-opencl (its' for the x15, not used by the beagles..)

sudo apt purge ti-opencl

Eduljee Chikhliwala

unread,
Dec 7, 2018, 6:03:42 PM12/7/18
to BeagleBoard
Dear Robert:

Thank you very much for your prompt responses. 

The second command worked and now my system is stable and I am able to install programs.

Have a great weekend and thank you again!

Edul

====================

On Friday, December 7, 2018 at 3:49:52 PM UTC-6, Eduljee Chikhliwala wrote:
Reply all
Reply to author
Forward
0 new messages