Error
sudo apt upgrade ... dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb #具体看你出错的路径 ...
解决办法:
格式 sudo dpkg -i --force-overwrite <filename> 执行(红色部分需要替换成你出错的路径+filename) sudo dpkg -i --force-overwrite /var/cache/apt/archives/python-problem-report_2.0.1-0ubuntu9_all.deb
然后再执行
sudo apt update && sudo apt upgrade