After updating through AppCenter I use to verify that everything is OK. When I run
sudo apt upgrade sometimes the command tells me that some packages are not necessary and that I should use
sudo apt autoremove (mostly related to kernel headers and the like).
Is this safe? Should I leave those packages?