nvidia_docker2 re-install?

After the install of the Jetson OS (Jetpack 4.2.1 Rev2) (Ubuntu 18.04)
I installed all the Linux updates from Ubuntu successfully.
Then I installed babeld, this is Ubuntu AODV protocol.

apt-cache search babeld
sudo apt install babeld

This install said there was a dependency on nvidia_docker2
and said I should run ‘sudo --fix-broken install’
This REMOVED nvidia_docker2 and installed babeld

Can see that it is gone:

nemo@xavier-pavlov1:~$ apt-cache search nvidia-docker2

nemo@xavier-pavlov1:~$ sudo apt install nvidia-docker2
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package nvidia-docker2 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 ‘nvidia-docker2’ has no installation candidate

How/where do I get it and re-install it?



You can install it from sdkmanager.
Just choose the “Jetson SDK Components” which won’t reflash your system but install the missing package.


When I do that it cycle through all the SDK components OK installed.
When it gets to the ‘NVIDIA Container Runtime’ that fails. When I look in the log
I see the .sh script does an scp to get a file to Xavier, then runs an ssh to install.
I manually ran both those commands at the console. The scp worked fine.

The ssh failed like this:

dpkg: dependency problems prevent configuration of nvidia-docker2:
nvidia-docker2 depends on docker.io (= 18.09.2-0ubuntu1~18.04.1); however,
Version of docker.io on system is 18.08.7-0ubuntu~18.04.4.


Are you using the sample sdkmanager as flashed the device?
Suppose the version from same JetPack should be compatible.


Yes, Linux Ubuntu 18.03 laptop has all the NVIDIA software downloaded and we do an offline flash and install via the SDK Manager. There is a wifi connection to the internet on the Xavier too.