Errors were encountered while processing: /var/cuda-repo-ubuntu2004-12-0-local

问题描述

在这里插入图片描述

mac@10-SYS-7048GR-TR:~$ sudo apt-get -y install cuda
Reading package lists... Done
Building dependency tree       
Reading state information... Done
cuda is already the newest version (12.0.0-1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 cuda-cudart-12-0 : Depends: cuda-toolkit-config-common but it is not going to be installed
 cuda-opencl-12-0 : Depends: cuda-toolkit-config-common but it is not going to be installed
 libcublas-12-0 : Depends: cuda-toolkit-config-common but it is not going to be installed
 libcufft-12-0 : Depends: cuda-toolkit-config-common but it is not going to be installed
 libcufile-12-0 : Depends: cuda-toolkit-config-common but it is not going to be installed
 libcurand-12-0 : Depends: cuda-toolkit-config-common but it is not going to be ins
apt-get install nvidia-cuda-toolkit Reading package lists... Done Building dependency tree Reading state information... Done nvidia-cuda-toolkit is already the newest version (10.1.243-3). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libcuinj64-10.1 : Depends: libcuda1 (>= 418.39) or libnvidia-tesla-cuda1 (>= 418.39) but it is not installable or libcuda.so.1 (>= 418.39) or libcuda-10.1-1 libnvidia-ml-dev : Depends: libnvidia-ml1 (>= 418.39) or libnvidia-tesla-440-ml1 (>= 418.39) but it is not installable or libnvidia-tesla-418-ml1 (>= 418.39) but it is not installable or libnvidia-ml.so.1 (>= 418.39) E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). root@DESKTOP-8KINJLC:/mnt/c/Users/师# apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: libnvidia-compute-418-server The following NEW packages will be installed: libnvidia-compute-418-server 0 upgraded, 1 newly installed, 0 to remove and 53 not upgraded. 84 not fully installed or removed. Need to get 0 B/19.8 MB of archives. After this operation, 104 MB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 106263 files and directories currently installed.) Preparing to unpack .../libnvidia-compute-418-server_418.226.00-0ubuntu0.20.04.2_amd64.deb ... Unpacking libnvidia-compute-418-server:amd64 (418.226.00-0ubuntu0.20.04.2) ... dpkg: error processing archive /var/cache/apt/archives/libnvidia-compute-418-server_418.226.00-0ubuntu0.20.04.2_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-ml.so', which is also in package nvidia-340 340.108-0ubuntu5.20.04.2 Errors were encountered while processing: /var/cache/apt/archives/libnvidia-compute-418-server_418.226.00-0ubuntu0.20.04.2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
08-09
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值