Nvidia установка CUDA выпускает поврежденный кэш

На команде $ sudo apt-get install cuda :


Reading package lists... Done
Building dependency tree       
Reading state information... Done
cuda is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 cuda-drivers : Depends: nvidia-opencl-icd-346 (>= 346.46) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Я использовал эту команду $ sudo apt-get -f install :


Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer     required:
  linux-image-generic
    Use 'apt-get autoremove' to remove it.
    The following extra packages will be installed:
  nvidia-opencl-icd-346
The following NEW packages will be installed:
  nvidia-opencl-icd-346
0 upgraded, 1 newly installed, 0 to remove and 57 not upgraded.
30 not fully installed or removed.
Need to get 0 B/7,829 kB of archives.
After this operation, 26.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 293998 files and directories currently installed.)
Preparing to unpack .../nvidia-opencl-icd-346_346.72-0ubuntu0~xedgers14.04.2_amd64.deb ...
Unpacking nvidia-opencl-icd-346 (346.72-0ubuntu0~xedgers14.04.2) ...
dpkg: error processing archive /var/cache/apt/archives/nvidia-opencl-icd-346_346.72-0ubuntu0~xedgers14.04.2_amd64.deb (--unpack):
 trying to overwrite '/etc/OpenCL/vendors/nvidia.icd', which is also in     package nvidia-opencl-icd-331-updates 331.113-0ubuntu0.0.4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-opencl-icd-346_346.72-0ubuntu0~xedgers14.04.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



Я пытался установить драйверы и CUDA Nvidia однако при установке CUDA. Это показывает поврежденный кэш, и я не могу восстановить его с помощью данных команд.



0
задан 8 July 2015 в 21:21

1 ответ

Лучше следовать официальной документации от NVIDIA. Для установки CUDA на ноутбуке следуйте за этим руководство .

0
ответ дан 4 October 2019 в 01:03

Другие вопросы по тегам:

Похожие вопросы: