First I install a program A, lets say openssh-client
.
And, to work in my server, I would always need a program B alongside A, lets say zip
, for example.
Is it possible to configure apt
to set B (zip
) as a "dependency" of A (openssh-client
), in such a way that if I uninstall A, B will be automatically marked as auto-installed
, and therefore will be removed next time apt autoremove
is invoked; BUT as long as A is installed, B will not be uninstalled when running apt autoremove
.
Note that I am not interested in setting B as "manually installed" because I would have to check it once A is uninstalled.
Thanks in advance.