DEB822-STYLE format for Ubuntu 24.04+ apt repository instructions (.sources)

Open
#774 11 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
ubuntu
Domain
documentation

Research direction

Start by reviewing the NVIDIA Container Toolkit install guide and the linked Ubuntu DEB822-STYLE sources documentation. Check the reported .sources examples and the Ubuntu 24.04+ repository behavior, including the Release-file error on Ubuntu 24.10. Done means the install guide clearly documents the supported source-file format and key configuration options.

Written by the indexing model from the issue text.

Description

feature lifecycle/frozen package-management

Ubuntu from 24.04 is now migrating to defaulting to the use of DEB822-STYLE sources.list.d format files, in particularly when you use add-apt-repository. There should be instructions of creating a /etc/apt/sources.list.d/nvidia-container-toolkit.sources file in the https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html website.

My current sources file looks like below, but it's also possible to embed the GPG key into the file as well, the key needs to be indented by one space below Signed-By.

Enabled: yes
Types: deb
URIs: https://nvidia.github.io/libnvidia-container/
Suites: stable
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/nvidia-container-toolkit-keyring.gpg

Or

Enabled: yes
Types: deb
URIs: https://nvidia.github.io/libnvidia-container/
Suites: stable
Components: main
Architectures: amd64
Signed-By: -----BEGIN PGP PUBLIC KEY BLOCK-----
 .
 ${ GPG KEY CONTENTS }
 -----END PGP PUBLIC KEY BLOCK-----

My source file looks like the above, however, I am receiving an error Error: The repository 'https://nvidia.github.io/libnvidia-container stable Release' does not have a Release file. . I'm currently on Ubuntu 24.10, but this method was previously working for me on Ubuntu 24.04. Either way, having some instructions for the new source file format would be beneficial. I'll see in the meantime if I can resolve my error.

Dominant language
Go
Stars
4.6k
Forks
609
Avg merge
3d 8h
Merged PRs (30d)
36

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/nvidia-container-toolkit

All issues in NVIDIA/nvidia-container-toolkit

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.