Nvidia-docker - unsupported distribution

Hi everyone,

I am trying to install the nvidia-container-toolkit using the following instructions "Unable to locate package nvidia-container-toolkit" on Debian x86_64 · Issue #1238 · NVIDIA/nvidia-docker · GitHub.

I get the following error: Unsupported distribution!

What should I do?

I am guessing... on this...
But it sounds like the file is referencing your lsb_release file to check if it is a supported distro.
You might try temporarily changing your /etc/lsb-release file to read as Ubuntu 20.04, upon which Zorin OS 16 is based.

DISTRIB_ID=Zorin
DISTRIB_RELEASE=16
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Zorin OS 16.2"

To

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Zorin OS 16.2"

Once you have installed the software, revert your lsb-release file back to original.

1 Like

Thanks for the help.

Instead of:

curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

I tried the following:

curl -s -L https://nvidia.github.io/nvidia-docker/ubuntu20.04/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

and it worked :+1:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.