NVIDIA / nvidia-container-toolkit

Build and run containers leveraging NVIDIA GPUs
Apache License 2.0
2.52k stars 271 forks source link

APT repo is broken #92

Open netsafe opened 1 year ago

netsafe commented 1 year ago

Just tried to update my server today and got this:

on apt update:

Ign:9 https://nvidia.github.io/libnvidia-container/stable/debian11/amd64  InRelease
Err:10 https://nvidia.github.io/libnvidia-container/stable/debian11/amd64  Release
  404  Not Found [IP: 185.199.111.153 443]

packages are already here, so:

# dpkg -l | grep nvidia-container
ii  libnvidia-container-tools       1.13.5-1                       amd64        NVIDIA container runtime library (command-line tools)
ii  libnvidia-container1:amd64      1.13.5-1                       amd64        NVIDIA container runtime library
ii  nvidia-container-runtime        3.13.0-1                       all          NVIDIA container runtime
ii  nvidia-container-toolkit        1.13.5-1                       amd64        NVIDIA Container toolkit
ii  nvidia-container-toolkit-base   1.13.5-1                       amd64        NVIDIA Container Toolkit Base

I'm using Debian 11 stable image, stock kernel, no modifications. Any help, please?

elezar commented 1 year ago

Hi. This is related to #89.

It seems as if your repository list was updated manually. Please ensure that the list file on your system refers to:

https://nvidia.github.io/libnvidia-container/stable/debian10/amd64

For reference, see https://github.com/NVIDIA/libnvidia-container/blob/gh-pages/stable/debian10/nvidia-container-toolkit.list with the contents:

deb https://nvidia.github.io/libnvidia-container/stable/debian10/$(ARCH) /
#deb https://nvidia.github.io/libnvidia-container/experimental/deb/$(ARCH) /
#deb https://nvidia.github.io/libnvidia-container/experimental/debian10/$(ARCH) /
m0wer commented 1 year ago
https://nvidia.github.io/libnvidia-container/stable/debian10/amd64

The link you posted ( https://nvidia.github.io/libnvidia-container/stable/debian10/amd64/) returns:

# Unsupported distribution! # Check https://nvidia.github.io/libnvidia-container

Even though it was working a few days ago.

m0wer commented 1 year ago

Probably caused by https://github.com/NVIDIA/nvidia-container-toolkit/commit/30c08484879b149a9e73505f678d4751f3ca1865

itsthejb commented 1 year ago

Hi all,

Getting the same with:

E: The repository 'https://nvidia.github.io/libnvidia-container/stable/ubuntu22.04/amd64  Release' no longer has a Release file.
elezar commented 1 year ago

@m0wer the URL does not refer to a folder that contains an index.html file, meaning that the generic 404 message that we serve is shown.

The URL https://nvidia.github.io/libnvidia-container/stable/debian10/amd64/InRelease does work.

Please update your /etc/apt/source.list.d/*.list files accordingly.

@itsthejb please see #89.

m0wer commented 1 year ago

@m0wer the URL does not refer to a folder that contains an index.html file, meaning that the generic 404 message that we serve is shown.

The URL https://nvidia.github.io/libnvidia-container/stable/debian10/amd64/InRelease does work.

Please update your /etc/apt/source.list.d/*.list files accordingly.

@itsthejb please see #89.

Thanks. The problem was that that same source but with debian11 does no longer work. Before it was symlinked to debian 10, as stated on https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html

So the sources that work are:

# cat /etc/apt/sources.list.d/nvidia-docker.list
deb https://nvidia.github.io/libnvidia-container/stable/debian10/$(ARCH) /
deb https://nvidia.github.io/nvidia-container-runtime/stable/debian11/$(ARCH) /
deb https://nvidia.github.io/nvidia-docker/debian11/$(ARCH) /

Thanks for your help @elezar !