4

How do I fix broken packages when it is not working? When I try to fix broken packages, it tells me to "fix broken packages."

bntser
  • 1,456
Warrick
  • 41
  • 1
  • 2

3 Answers3

6

My standard commands when trying to fix packages:

sudo apt-get update
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get check
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update
blade19899
  • 26,704
4
sudo apt-get install -f

or if it does not work (somehow deb did not finish installing)

sudo dpkg --configure -a
0

Try using aptitude : sudo aptitude install <package-name>
If you don't have aptitude installed, run sudo apt-get install aptitude.

Good luck !!!