apt update/upgrade - how to not list packages to remove
by mackowiakp from LinuxQuestions.org on (#59N2R)
As you know, sometimes after executing "apt update/upgrade", there is a list of packages that can be removed using "autoremove". However, this list includes several libraries not related to any application installed from the Debian repository but I need it in the applications that I wrote myself. Is it possible to somehow mark these libraries so that I can use "autoremove" but not remove the libraries I need? I have a list of these packages in a text file. Any idea how to do this?

