Ubuntu – Failing package manager

package-management

I am trying to download kcachegrind after a reinstallation of my OS. But I keep getting "dependency" failures. I have tried going through the Ubuntu software manager (which worked perfectly before…) and Synaptic. With synaptic, I got specific package failures and when I searched for the packages I got more package dependencies. After the 5th time of this I gave up because there must be something else going on.

Please help?

Best Answer

Open a terminal and try this:

sudo apt-get update

sudo apt-get clean

sudo apt-get autoremove

sudo apt-get update && sudo apt-get upgrade

sudo dpkg --configure -a

sudo apt-get install -f