How to install NVIDIA driver on Ubuntu Server image?

Dumb question, i am aware, but i cannot install the NVIDIA driver on the Ubuntu image I'm getting this error
dpkg: error processing archive /var/cache/apt/archives/nvidia-compute-utils-550_550.90.07-0ubuntu0.24.04.1_amd64.deb (--unpack):
unable to make backup link of './usr/bin/nvidia-cuda-mps-control' before installing new version: Invalid cross-device link
Preparing to unpack .../nvidia-utils-550_550.90.07-0ubuntu0.24.04.1_amd64.deb ...
Unpacking nvidia-utils-550 (550.90.07-0ubuntu0.24.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/nvidia-utils-550_550.90.07-0ubuntu0.24.04.1_amd64.deb (--unpack):
unable to make backup link of './usr/bin/nvidia-debugdump' before installing new version: Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-compute-utils-550_550.90.07-0ubuntu0.24.04.1_amd64.deb
/var/cache/apt/archives/nvidia-utils-550_550.90.07-0ubuntu0.24.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg: error processing archive /var/cache/apt/archives/nvidia-compute-utils-550_550.90.07-0ubuntu0.24.04.1_amd64.deb (--unpack):
unable to make backup link of './usr/bin/nvidia-cuda-mps-control' before installing new version: Invalid cross-device link
Preparing to unpack .../nvidia-utils-550_550.90.07-0ubuntu0.24.04.1_amd64.deb ...
Unpacking nvidia-utils-550 (550.90.07-0ubuntu0.24.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/nvidia-utils-550_550.90.07-0ubuntu0.24.04.1_amd64.deb (--unpack):
unable to make backup link of './usr/bin/nvidia-debugdump' before installing new version: Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-compute-utils-550_550.90.07-0ubuntu0.24.04.1_amd64.deb
/var/cache/apt/archives/nvidia-utils-550_550.90.07-0ubuntu0.24.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Anyone wanna help?
1 Reply
digigoblin
digigoblin7mo ago
What are you trying to do? Just use a docker image that already has Nvidia drivers installed.
Want results from more Discord servers?
Add your server