Problems with setting up the development environment on a linux machine

Hi Everyone,
I have some issues getting started with ODrive development setup on a Linux machine. I think the issue is related to my PC setup, and suggestions will be welcomed.

The steps I follow are from here:

sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
sudo apt-get update
sudo apt-get install gcc-arm-embedded
sudo apt-get install openocd
sudo add-apt-repository ppa:jonathonf/tup && sudo apt-get update && sudo apt-get install tup
sudo apt-get install python3 python3-yaml python3-jinja2 python3-jsonschema

This is the first error I get:

~ sudo apt install gcc-arm-embedded <<<
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gcc-arm-embedded : Depends: libisl15 (>= 0.15) but it is not installable
E: Unable to correct problems, you have held broken packages.

Packages python3-jinja2 and python3-jsonschema cannot be installed getting errors like this:

Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package python3-jinja2
E: Unable to locate package python3-jsonschema

My system is pop-os, based on Ubuntu 18.04. It should be compatible and have access to these packages.
What else would you recommend doing in this situation? What could I do to diagnose the cause of this problem?

One solution would be to make a Docker image, deploy the environment there and grant it hardware access to the STLinkV2 device. This is probably overkill though.

I would appreciate your help in this matter. Thank you for your time devoted to this!


Try sudo apt-get install gcc-arm-embedded libisl15 and apt will probably give you another reason why it couldn’t install libsisl15. (another broken package) repeat by adding that package to the install line, until apt gives you a bunch of packages to remove.
Be careful when removing packages - if any of them are important, it will break your system.

1 Like