Hi, I’m using CUDA11.8 and cuDNN 8.6 for tensorflow.
Ubuntu 20.04 and nvidia-driver 520.56.06
everythig was fine.
But when i try to install another packages, error occures.
root@c01fec5b273e:/# sudo apt-get install ros-noetic-rqt
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
cuda-drivers-545 : Depends: nvidia-compute-utils-545 (>= 545.23.08) but it is not going to be installed
Depends: nvidia-utils-545 (>= 545.23.08) but it is not going to be installed
nvidia-driver-545 : Depends: nvidia-compute-utils-545 (= 545.23.08-0ubuntu1) but it is not going to be installed
Depends: nvidia-utils-545 (= 545.23.08-0ubuntu1) but it is not going to be installed
Recommends: libnvidia-compute-545:i386 (= 545.23.08-0ubuntu1)
Recommends: libnvidia-decode-545:i386 (= 545.23.08-0ubuntu1)
Recommends: libnvidia-encode-545:i386 (= 545.23.08-0ubuntu1)
Recommends: libnvidia-fbc1-545:i386 (= 545.23.08-0ubuntu1)
Recommends: libnvidia-gl-545:i386 (= 545.23.08-0ubuntu1)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
so i type the apt --fix-broken install
Preparing to unpack .../nvidia-compute-utils-545_545.23.08-0ubuntu1_amd64.deb ...
Unpacking nvidia-compute-utils-545 (545.23.08-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/nvidia-compute-utils-545_545.23.08-0ubuntu1_amd64.deb (--unpack):
unable to make backup link of './usr/bin/nvidia-cuda-mps-control' before installing new version: Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../nvidia-utils-545_545.23.08-0ubuntu1_amd64.deb ...
Unpacking nvidia-utils-545 (545.23.08-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/nvidia-utils-545_545.23.08-0ubuntu1_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-545_545.23.08-0ubuntu1_amd64.deb
/var/cache/apt/archives/nvidia-utils-545_545.23.08-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I’m stuck in the loop.
In terminal, nvidia-smi and nvcc -V are works well.
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 520.56.06 Driver Version: 520.56.06 CUDA Version: 11.8 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 On | N/A |
| N/A 50C P8 21W / N/A | 565MiB / 8192MiB | 1% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
Is there are any problem here?
thanks