linux命令dpkg强制安装CUDA包

sudo dpkg --force-overwrite -i ./cuda-repo-ubuntu1604_9.0.176-1_amd64.deb

(Reading database ... 196035 files and directories currently installed.)
Preparing to unpack .../cuda-repo-ubuntu1604_9.0.176-1_amd64.deb ...
Unpacking cuda-repo-ubuntu1604 (9.0.176-1) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/apt/sources.list.d/cuda.list', which is also in package cuda-repo-ubuntu1804 10.0.130-1
Setting up cuda-repo-ubuntu1604 (9.0.176-1) ...
Installing new version of config file /etc/apt/sources.list.d/cuda.list ...

搞软件真是到处都是坑!

 

你可能感兴趣的:(python的荒野)