Project

General

Profile

Actions

Bug #22775

closed

CUDA pins don't work on Debian 12

Added by Brett Smith 12 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Target version:
Story points:
-
Release relationship:
Auto

Description

In source:tools/ansible/roles/compute_nvidia/files/arvados-nvidia.pref we currently have these pins:

Package: cuda
Pin: version 12.6.*
Pin-Priority: 995

Package: src:libnvidia-container src:nvidia-container-toolkit
Pin: version 1.17.*
Pin-Priority: 995

Package: cuda-drivers src:nvidia-graphics-drivers
Pin: version 560.*
Pin-Priority: 995

They don't work on Debian 12:

The following packages have unmet dependencies:
 nvidia-open : Depends: nvidia-kernel-open-dkms (>= 570.124.06) but it is not going to be installed
               Depends: nvidia-driver (>= 570.124.06) but it is not going to be installed
               Depends: nvidia-driver-cuda (>= 570.124.06) but it is not going to be installed
 nvidia-open-560 : Depends: nvidia-kernel-open-dkms (>= 560.35.05) but it is not going to be installed
                   Depends: nvidia-kernel-open-dkms (< 561) but it is not going to be installed
                   Depends: nvidia-driver (>= 560.35.05) but it is not going to be installed
                   Depends: nvidia-driver (< 561) but it is not going to be installed
                   Depends: libxnvctrl-dev (< 561) but 570.124.06-1 is to be installed
                   Depends: nvidia-modprobe (< 561) but 570.124.06-1 is to be installed
                   Depends: nvidia-settings (< 561) but 570.124.06-1 is to be installed

See packer-build-compute-image: #324

It looks like this might be resolvable by just pinning more nvidia packages. This output makes it look like some packages are unpinned and want to be the latest version 570 while others are pinned to 560 and those two sets can't be reconciled.


Subtasks 1 (0 open1 closed)

Task #22776: Review 22775-cuda-pinsResolved04/11/2025Actions
Actions #1

Updated by Brett Smith 12 months ago

22775-cuda-pins @ c5053c929b57c1f73bfb2e8189066872fc96b6f2 - Note that this branches off of 3.1-staging, not main, for ease of testing. But it should be easy to merge to main as well.

packer-build-compute-image: #325 - Tested on a VM for completeness before starting this build.

Actions #2

Updated by Brett Smith 12 months ago

  • Subtask #22776 added
Actions #3

Updated by Peter Amstutz 12 months ago

Brett Smith wrote in #note-1:

22775-cuda-pins @ c5053c929b57c1f73bfb2e8189066872fc96b6f2 - Note that this branches off of 3.1-staging, not main, for ease of testing. But it should be easy to merge to main as well.

packer-build-compute-image: #325 - Tested on a VM for completeness before starting this build.

I see you're just expanding the coverage of which packages are pinned, this makes sense, LGTM.

Actions #4

Updated by Brett Smith 12 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF