Jetpack 4.2 installation gives errors on ubuntu 18.04.01

I am trying to install Jetpack 4.2 on ubuntu 18.04.01 computer(host computer).
I am getting errors while trying to install the sdkmanager which is a .deb file.

I try running the file using dpkg -i sdkmanager.deb command which leads to the following error —
Processing triggers for hicolor-icon-theme(0.17-2) …
errors were encountered while processing:
sdkmanager

link to error screenshot —>https://drive.google.com/file/d/0BwyxZO6r38xaUlNqcUsyaWhWZ2hwVGVmSVN6QnRtckxjOEZr/view?usp=sharing

When i try running using the sudo apt install ./sdkmanager.deb, i get unmet dependencies error
link to screenshot of error —>https://drive.google.com/file/d/0BwyxZO6r38xaYl9MZHJVNTJ1N1pIUUppVTRGalZFVm1EbWlB/view?usp=sharing

Can someone help?

You may find the error message provides the solution. Python2 is required, and might also need to be added. So try the following from the host PC, and then try adding the sdkmanager.deb again after:

sudo apt update
sudo apt --fix-broken install
sudo apt-get install libgconf-2-4 libcanberra-gtk-module
sudo apt-get install python

Thank you! It worked perfectly :)

Did not work for me:

sudo apt-get install libgconf-2-4 libcanberra-gtk-module
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libcanberra-gtk-module is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libgconf-2-4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘libgconf-2-4’ has no installation candidate
E: Package ‘libcanberra-gtk-module’ has no installation candidate

Thank you in advance for any help.

Don’t know what may have changed since the original issue was quite some time back relative to package updates. However, does this part at least work?

sudo apt update
sudo apt --fix-broken install
sudo apt-get install python

Note that the “python” part is because of a need for both older Python 2.x and new 3.x (I forget which one is included by default).

I found the issue, somehow the apt lists were not correct. I used the Software & Updates application to set the correct list entries.

Thanks!

1 Like