Linux #1 : Commands useful during update

If the Commands fails you can try these ones:

Update Packages
 sudo apt-get update
 
clean the downloaded packages (where there might be broken ones)
sudo apt-get clean

Remove unneeded packages (careful! If it might list something that is needed but its dependency or such have been removed and left it orphan)
sudo apt-get autoremove

Reconfigure all packages
sudo dpkg --configure -a

Fix broken packages
sudo apt-get install -f

Comments