dpkg 安装问题

dpkg 安装问题

当我尝试安装一个包时,它给出了这个错误。

deb @nvidia:/home/nvidia# sudo dpkg -i cuda-repo-ubuntu1304-6-0-ea_6.0-13_armhfd
dpkg: warning: files list file for package 'cuda-repo-ubuntu1204' missing; assud
dpkg: warning: files list file for package 'cuda-license-6-0' missing; assumingd
dpkg: warning: files list file for package 'cuda-misc-6-0' missing; assuming pad
dpkg: warning: files list file for package 'cuda-command-line-tools-6-0' missind
dpkg: warning: files list file for package 'cuda-extra-libs-6-0' missing; assumd
dpkg: warning: files list file for package 'cuda-core-6-0' missing; assuming pad
dpkg: warning: files list file for package 'cuda-core-libs-6-0' missing; assumid
dpkg: warning: files list file for package 'cuda-samples-6-0' missing; assumingd
dpkg: warning: files list file for package 'cuda-headers-6-0' missing; assumingd
(Reading database ... 40716 files and directories currently installed.)
Preparing to replace cuda-repo-ubuntu1304-6-0-ea 6.0-1 (using cuda-repo-ubuntu1.
Unpacking replacement cuda-repo-ubuntu1304-6-0-ea ...
Setting up cuda-repo-ubuntu1304-6-0-ea (6.0-1) ...
OK

欢迎提出解决方案。

答案1

首先修复损坏的安装:

sudo dpkg -r cuda-repo-ubuntu1304-6-0-ea

跟随这个答案安装cuda工具包。

相关内容