[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cleanly getting rid of manually installed transitional packages due to rename



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.

-- Nito


Reply to: