Should `apt-get autoremove` be automated during `release-upgrade` and/or `upgrade-nonroot`?

No.

I expected automatic autoremove to be perceived as intrusive and unexpected for advanced users. Breaking somewhat the flow of information, consent and might cause confusion.

It might autoremove packages from (third-party) repositories being no longer available.

But this is open for reconsideration because this has never been explicitly discussed.

I guess if it was documented that autoremove happens during release upgrade, that may be acceptable.

Even automatic autoremove as part of “upgrade-nonroot” [1] may be acceptable.

And/or systemcheck could advice to perform autoremove


[1]

1 Like