sudo apt-get -f autoremove
lsb_release -a;uname -a;dpkg -l|grep linux-imageNote the current used Linux kernel image so avoid it. Don't worry, if your current image has a dependency, it will warn you and will not remove them.
dpkg --purge <linux-image-not-needed> <linux-image-extra-not-needed>
sudo apt-get -f autoremove