How to fix broken packages?(转)
TryCode:sudo apt-get updateto update your package list.ThenCode:sudo apt-get autocleanto clean up any partial packages.ThenCode:sudo apt-get cleanto clean up the apt cache.Code:sudo apt-get autoremovewill clean up any unneeded dependencies.If while doing this you can identify the broken package this