Environment
- OS: Ubuntu 24.04.x (Noble Numbat)
- Architecture: x86_64
- CUDA Repository: Index of /compute/cuda/repos/ubuntu2404/x86_64
- Driver version: 570.195.03
Problem Description
When running apt upgrade, the upgrade fails with:
The following packages have unmet dependencies:
nvidia-compute-utils-570 : Conflicts: nvidia-persistenced
E: Unable to correct problems, you have held broken packages.
Root Cause Analysis
The CUDA repository version of libnvidia-compute-570 (570.195.03-0ubuntu1) declares a dependency on nvidia-persistenced:
Depends: nvidia-persistenced (>= 570.195.03-0ubuntu1)
However, nvidia-compute-utils-570 (570.195.03-0ubuntu1) from the same repository declares a conflict with nvidia-persistenced:
Conflicts: nvidia-persistenced
This creates an unsatisfiable dependency cycle - upgrading libnvidia-compute-570 requires nvidia-persistenced, but nvidia-compute-utils-570 refuses to coexist with it.
Comparison with Ubuntu Packages
Ubuntu’s official package libnvidia-compute-570 (570.195.03-0ubuntu0.24.04.1) does not have this dependency on nvidia-persistenced, so the conflict doesn’t occur when using Ubuntu’s packages exclusively.
Workaround
Pin Ubuntu’s NVIDIA packages to higher priority than the CUDA repository:
sudo tee /etc/apt/preferences.d/nvidia-ubuntu-priority << ‘EOF’
Package: nvidia libnvidia
Pin: origin us.archive.ubuntu.com
Pin-Priority: 1001
Package: nvidia libnvidia
Pin: origin security.ubuntu.com
Pin-Priority: 1001
EOF
sudo apt update && sudo apt upgrade
Expected Behavior
The CUDA repository packages should have consistent dependency relationships that allow clean installation and upgrades.
Request
Could the CUDA packaging team review the dependency declarations for the 570.x driver packages in the ubuntu2404 repository? Either:
- Remove the nvidia-persistenced dependency from libnvidia-compute-570, or
- Remove the conflict declaration from nvidia-compute-utils-570
Thank you for your attention to this issue.