Skip to content

[Bug]: Curl error (77) installing nvidia-container-toolkit on Fedora 44 #1733

@underscorejoser

Description

@underscorejoser

Important Note: NVIDIA AI Enterprise customers can get support from NVIDIA Enterprise support. Please open a case here.

Describe the bug
This happens when running sudo dnf install nvidia-container-toolkit on Fedora 44 (or just anything that fetches the repository)

j@fedora:~$ sudo dnf install nvidia-container-toolkit
Atualizando e carregando reposit�rios:
 nvidia-container-toolkit                                                                           ???% |   0.0   B/s |   0.0   B |  00m01s
>>> Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://nvidia.github.io/libnvidia-container/stable/rpm/x86_64/repodata/repomd.xml [error adding trust anchors from file: /etc/pki/tls/certs/ca-bundle.crt] - https://nvidia.github.io/libnvidia-container/stable/rpm/x86_64/repodata/repomd.xml
>>> An Curl handle error

It goes on but installs a wrong version and outdated version of the package

This happens because of this change: https://fedoraproject.org/wiki/Changes/droppingOfCertPemFile
The fix seems to be replacing sslcacert to sslcacert=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem of nvidia-container-toolkit.repo
Or remove the entire line since it's gonna use DNF defaults AFAIK

To Reproduce

  1. Install Fedora 44
  2. Run:
sudo dnf config-manager addrepo --from-repofile=https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo
sudo dnf install nvidia-container-toolkit

Expected behavior
Install nvidia-container-toolkit without problems

Environment (please provide the following information):

  • nvidia-container-toolkit version: [e.g. v1.18.2]
  • NVIDIA Driver Version: [e.g. 580.105.08]
  • Host OS: [e.g. Ubuntu24.04]
  • Kernel Version: [e.g. 6.8.0-generic]
  • Container Runtime Version: [e.g. containerd 2.0.0]
  • CPU Architecture [e.g. x86_64, arm64 ]
  • GPU Model(s) [e.g. A100, L40, RTX 3090]

If applicable, also provide:

  • Kubernetes Distro and Version: [e.g. K8s, OpenShift, Rancher, GKE, EKS]
  • NVIDIA GPU Operator version
  • CUDA Version

Information to attach (optional if deemed irrelevant)

  • Output of nvidia-smi
  • Container logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue/PR to expose/discuss/fix a bugneeds-triageissue or PR has not been assigned a priority-px label

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions