This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-update-ubuntu-packages-on-18-04-bionic-beaver-linux
You said, ”During your initial system update some of the packages may become obsolete, hence are no longer required. To remove all no longer required packages execute:
$ sudo apt autoremove ”
Please are you sure this will remove only the obsolete packages?
Welcome to our forums.
After years working with
apt, yes, I would say it is pretty safe to say only obsoleted packages will be removed, but if you are uncertain that some packages would still be needed, you can review the list of the packages
autoremove would uninstall before allowing it to do so.