无法安装任何软件

无法安装任何软件

我尝试安装sudo apt-get 安装 boinc 但我尝试安装另一个 parkket,但我无法在计算机上安装任何软件,它只是说:(sudo apt-get 安装 boinc

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 boinc : Depends: boinc-client (>= 7.6.31+dfsg-6ubuntu1) but it is not going to be installed
         Depends: boinc-manager (>= 7.6.31+dfsg-6ubuntu1) but it is not going to be installed
 nvidia-cuda-toolkit : Depends: nvidia-cuda-dev (= 7.5.18-0ubuntu1) 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 安装仍然不起作用!

我们怎样才能解决这些问题?

编辑 20-02-2020 21:34 这是我的sudo apt-get 更新

hostings@hostings:~$ sudo apt-get update
Get:1 file:/var/cuda-repo-10-2-local-10.2.89-440.33.01  InRelease
Ign:1 file:/var/cuda-repo-10-2-local-10.2.89-440.33.01  InRelease
Get:2 file:/var/cuda-repo-10-2-local-10.2.89-440.33.01  Release [574 B]
Get:2 file:/var/cuda-repo-10-2-local-10.2.89-440.33.01  Release [574 B]
Hit:3 http://dk.archive.ubuntu.com/ubuntu xenial InRelease                                                                                 
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease                                                                          
Hit:5 http://dk.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                                         
Hit:6 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial InRelease                                                                   
Hit:7 http://dk.archive.ubuntu.com/ubuntu xenial-backports InRelease                                                        
Ign:8 http://webmin.mirror.somersettechsolutions.co.uk/repository sarge InRelease                                           
Hit:10 http://webmin.mirror.somersettechsolutions.co.uk/repository sarge Release                       
Ign:11 http://download.webmin.com/download/repository sarge InRelease                                  
Hit:12 http://download.webmin.com/download/repository sarge Release              
Reading package lists... Done

编辑 21-02-2020 11:03

我在这里运行这个命令:(sudo apt-get -f 安装

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  nvidia-cuda-dev
Recommended packages:
  libnvcuvid1
The following NEW packages will be installed:
  nvidia-cuda-dev
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
1 not fully installed or removed.
Need to get 0 B/201 MB of archives.
After this operation, 467 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 194785 files and directories currently installed.)
Preparing to unpack .../nvidia-cuda-dev_7.5.18-0ubuntu1_amd64.deb ...
Unpacking nvidia-cuda-dev (7.5.18-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/nvidia-cuda-dev_7.5.18-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/stubs/libcublas.so', which is also in package libcublas-dev 10.2.2.89-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-cuda-dev_7.5.18-0ubuntu1_amd64.deb

答案1

你可以尝试这个:

sudo apt-get autoclean
sudo apt-get -f install

然后:

sudo apt-get install boinc

相关内容