当前位置:   article > 正文

apt-get -f install 出錯No apport report written because MaxReports is reached already Errors were...

no apport report written because maxreports is reached already

安裝cuda 時提示以下錯誤,按照要求執行了以後錯誤任然出現,執行sudo apt-get update 和 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.

在嘗試了 sudo dpkg --configure -a 和 sudo apt-get install -f 都還存在同樣問題時需要手動打開status

sudo vi /var/lib/dpkg/status 

然後通過命令行輸入 /name 比如 /cuda-curand-8-0  然後按Enter 鍵(下一個關鍵字按n)查找文件中的對應模塊記錄並將其刪除(刪除按dd),把以上所有模塊記錄全部刪除後 shift+:組合,輸入 wq!保存並退出,最後再次執行sudo apt-get install --f 。


声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/88789
推荐阅读
相关标签
  

闽ICP备14008679号