If you encounter the following error say The following packages have been kept back. Then use any one of the below ways.
Contents
Way to solve 1:
sudo apt-get --with-new-pkgs upgrade
2nd Way:
sudo apt-get install <list of all packages that are kept back>
Way 3:
sudo apt-get dist-upgrade
Also Read:
How to install a .deb file via the command line