Created
May 18, 2023 16:18
-
-
Save alexeldeib/e1415a9d5ae71e900828bcb8ee5b663a to your computer and use it in GitHub Desktop.
poking at nvidia/canonical package sources
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for context, this is a 22.04 hetzner machine upgraded from 20.04 with maybe a kernel I rebuilt (?) I forgot. | |
root@Ubuntu-2004-focal-64-minimal ~ # cat /etc/os-release | |
PRETTY_NAME="Ubuntu 22.04.2 LTS" | |
NAME="Ubuntu" | |
VERSION_ID="22.04" | |
VERSION="22.04.2 LTS (Jammy Jellyfish)" | |
VERSION_CODENAME=jammy | |
ID=ubuntu | |
ID_LIKE=debian | |
HOME_URL="https://www.ubuntu.com/" | |
SUPPORT_URL="https://help.ubuntu.com/" | |
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" | |
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" | |
UBUNTU_CODENAME=jammy | |
root@Ubuntu-2004-focal-64-minimal ~ # uname -a | |
Linux Ubuntu-2004-focal-64-minimal 5.15.0-53-generic #59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux | |
root@Ubuntu-2004-focal-64-minimal ~ # apt update | |
Hit:1 https://nvidia.github.io/libnvidia-container/stable/ubuntu22.04/amd64 InRelease | |
Hit:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease | |
Hit:3 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu22.04/amd64 InRelease | |
Hit:4 http://de.archive.ubuntu.com/ubuntu jammy InRelease | |
Hit:5 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease | |
Hit:6 https://packages.microsoft.com/ubuntu/22.04/prod testing InRelease | |
Hit:7 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease | |
Get:8 https://nvidia.github.io/nvidia-docker/ubuntu22.04/amd64 InRelease [1,474 B] | |
Hit:9 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease | |
Hit:10 http://security.ubuntu.com/ubuntu jammy-security InRelease | |
Get:11 https://nvidia.github.io/nvidia-docker/ubuntu22.04/amd64 Packages [4,488 B] | |
Fetched 5,962 B in 1s (6,952 B/s) | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
29 packages can be upgraded. Run 'apt list --upgradable' to see them. | |
# okay, nvidia-compute-utils-525-server is exactly 525.105.17 | |
root@Ubuntu-2004-focal-64-minimal ~ # apt-cache madison nvidia-compute-utils-525-server | |
nvidia-compute-utils-525-server | 525.105.17-0ubuntu0.22.04.1 | http://de.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages | |
nvidia-compute-utils-525-server | 525.105.17-0ubuntu0.22.04.1 | http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages | |
# hmm...we don't know what version this is? hopefully they match. | |
root@Ubuntu-2004-focal-64-minimal ~ # apt-cache madison linux-modules-nvidia-525-server-generic | |
linux-modules-nvidia-525-server-generic | 5.15.0-72.79 | http://de.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages | |
linux-modules-nvidia-525-server-generic | 5.15.0-72.79 | http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages | |
# nvidia themselves have all versions of 525 available, ubuntu has only latest | |
root@Ubuntu-2004-focal-64-minimal ~ # apt-cache madison cuda-drivers-fabricmanager-525 | |
cuda-drivers-fabricmanager-525 | 525.105.17-1 | https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages | |
cuda-drivers-fabricmanager-525 | 525.105.17-0ubuntu0.22.04.1 | http://de.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages | |
cuda-drivers-fabricmanager-525 | 525.105.17-0ubuntu0.22.04.1 | http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages | |
cuda-drivers-fabricmanager-525 | 525.85.12-1 | https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages | |
cuda-drivers-fabricmanager-525 | 525.60.13-1 | https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages | |
root@Ubuntu-2004-focal-64-minimal ~ # apt install linux-modules-nvidia-525-server-generic -y | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
libegl-mesa0 libegl1 libfontenc1 libgles2 libnvidia-cfg1-525 libnvidia-common-525 libnvidia-decode-525 libnvidia-encode-525 libnvidia-extra-525 libnvidia-fbc1-525 libnvidia-gl-525 | |
libopengl0 libvdpau1 libwayland-client0 libxcvt0 libxfont2 libxkbfile1 linux-headers-5.15.0-52 linux-headers-5.15.0-52-generic linux-image-5.15.0-52-generic linux-modules-5.15.0-52-generic | |
linux-modules-extra-5.15.0-52-generic nvidia-compute-utils-525 nvidia-kernel-source-525 nvidia-modprobe nvidia-settings nvidia-utils-525 python3-xkit screen-resolution-extra x11-xkb-utils | |
xserver-common xserver-xorg-core xserver-xorg-video-nvidia-525 | |
Use 'apt autoremove' to remove them. | |
The following additional packages will be installed: | |
linux-modules-nvidia-525-server-5.15.0-72-generic nvidia-kernel-common-525-server | |
The following NEW packages will be installed: | |
linux-modules-nvidia-525-server-5.15.0-72-generic linux-modules-nvidia-525-server-generic nvidia-kernel-common-525-server | |
0 upgraded, 3 newly installed, 0 to remove and 29 not upgraded. | |
Need to get 0 B/42.4 MB of archives. | |
After this operation, 63.9 MB of additional disk space will be used. | |
Preconfiguring packages ... | |
(Reading database ... 227477 files and directories currently installed.) | |
Preparing to unpack .../nvidia-kernel-common-525-server_525.105.17-0ubuntu0.22.04.1_amd64.deb ... | |
Unpacking nvidia-kernel-common-525-server (525.105.17-0ubuntu0.22.04.1) ... | |
dpkg: error processing archive /var/cache/apt/archives/nvidia-kernel-common-525-server_525.105.17-0ubuntu0.22.04.1_amd64.deb (--unpack): | |
trying to overwrite '/usr/bin/nvidia-powerd', which is also in package nvidia-compute-utils-525 525.105.17-0ubuntu1 | |
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) | |
Selecting previously unselected package linux-modules-nvidia-525-server-5.15.0-72-generic. | |
Preparing to unpack .../linux-modules-nvidia-525-server-5.15.0-72-generic_5.15.0-72.79_amd64.deb ... | |
Unpacking linux-modules-nvidia-525-server-5.15.0-72-generic (5.15.0-72.79) ... | |
Selecting previously unselected package linux-modules-nvidia-525-server-generic. | |
Preparing to unpack .../linux-modules-nvidia-525-server-generic_5.15.0-72.79_amd64.deb ... | |
Unpacking linux-modules-nvidia-525-server-generic (5.15.0-72.79) ... | |
Errors were encountered while processing: | |
/var/cache/apt/archives/nvidia-kernel-common-525-server_525.105.17-0ubuntu0.22.04.1_amd64.deb | |
E: Sub-process /usr/bin/dpkg returned an error code (1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment