Tryto update your package list.Code:sudo apt-get update
Thento clean up any partial packages.Code:sudo apt-get autoclean
Thento clean up the apt cache.Code:sudo apt-get clean
will clean up any unneeded dependencies.Code:sudo apt-get autoremove
If while doing this you can identify the broken package this code will very forcefully remove it.
Change package name to the real name of course.Code:sudo dpkg --remove -force --force-remove-reinstreq package name
转载于:https://www.cnblogs.com/limei/p/3536258.html