On 2020-04-21 17:39:55 +0200, n...@dismail.de wrote: > On Tue, Apr 21, 2020 at 17:07:52 +0200, Vincent Lefevre wrote: > > Sometimes packages get renamed. [...] > > > > [...] if one > > wants to remove it, then apt or aptitude will also want to remove > > the new package because this new package has not been installed > > manually and its only reverse dependency (the transitional package) > > has just been removed by this operation. [...] > > > > Is there a way to avoid this behavior automatically, i.e. by > > forwarding the "manually installed" state automatically to the > > new package? > > You can use apt-mark to mark the new package as manually installed.
But I said *automatically*. I want to avoid tracking renames, as it is easy to forget something, and some important package could be removed in case of mistake (if I forget to mark the package as manually installed). -- 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)