On 2023-05-15 17:13:31 +0200, Vincent Lefevre wrote: > On 2023-05-15 15:09:24 +0000, Andy Smith wrote: > > On Mon, May 15, 2023 at 04:38:29PM +0200, Vincent Lefevre wrote: > > > Wrong. It got installed automatically. I suppose that this is because > > > this was like that in the past, when I installed the machine in 2015, > > > thus before stretch was out. > > > > If you mean that it got installed automatically in an older install, > > before the package was made optional, and then never removed, this > > would make sense as things don't get removed on upgrades unless > > there is a conflict. You even retain packages that are no longer in > > Debian. > > No, aptitude removes automatically installed packages for which > there are no longer any dependencies.
And there's also "apt autoremove", which I also use. The issue for net-tools is that there is still a dependency (Recommends) from pbuilder. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)