[Solved] Apt-get -f install Error: No apport report written because MaxReports is reached already Errors were…

When installing cuda, I was prompted with the following error, and the error persisted after following the instructions, and the same error persisted after running sudo apt-get update and sudo apt-get upgrade.

sudo apt-get upgrade

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:

cuda-curand-dev-8-0 : Depends: cuda-curand-8-0 (>= 8.0.64) but it is not installed

cuda-cusolver-dev-8-0 : Depends: cuda-cusolver-8-0 (>= 8.0.64) but it is not installed

cuda-cusparse-dev-8-0 : Depends: cuda-cusparse-8-0 (>= 8.0.64) but it is not installed

cuda-nvgraph-dev-8-0 : Depends: cuda-nvgraph-8-0 (>= 8.0.64) but it is not installed

cuda-nvrtc-dev-8-0 : Depends: cuda-nvrtc-8-0 (>= 8.0.64) but it is not installed

cuda-toolkit-8-0 : Depends: cuda-nvml-dev-8-0 (>= 8.0.64) but it is not installed
E: Unmet dependencies. Try using -f.

After trying sudo dpkg –configure -a and sudo apt-get install -f, you need to open status manually

sudo vi /var/lib/dpkg/status

Then type /name on the command line, such as /cuda-curand-8-0, and press Enter (press n for the next keyword) to find the corresponding module record in the file and delete it (press dd for delete). apt-get install –f again.

 

Similar Posts: