Baron wrote:
Hi Guys,
When I get an update, I also get a message
"The following packages were automatically installed and are no longer
required:"
But the packages never get removed !
Should they be automatically removed or is there something that I
should do ?
Thanks in advance.
From man apt
autoremove (apt-get(8))
autoremove is used to remove packages that were automatically
installed to satisfy dependencies for other packages and are now no longer
needed as dependencies changed or the package(s) needing them
were removed in the meantime.
You should check that the list does not include applications you
have grown to like even though they were once installed just as a
dependency of another package. You can mark such a package as
manually installed by using apt-mark(8). Packages which you have installed
explicitly via install are also never proposed for automatic
removal.
This means you do
apt autoremove
but should be careful to not remove something you need like a library for
custom application that is not resolved as dependency by package manager
regards