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."
Asked
Active
Viewed 3,740 times
4
-
1Please put the error you are seeing in your question, thanks! – Jorge Castro Apr 25 '13 at 22:43
-
Seems like a case of trying to define loop - "loop: see loop" :-) – Parto Feb 14 '14 at 20:31
3 Answers
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

Stefano Mtangoo
- 2,780
0
Try using aptitude : sudo aptitude install <package-name>
If you don't have aptitude installed, run sudo apt-get install aptitude
.
Good luck !!!