ramindk
06/08/2023, 7:18 PM/etc/apt/apt.conf.d/99_local_policy
APT::Install-Recommends "false";
APT::Install-Suggests "false";
APT::Delete-Unused "true";
something like this solves it for everything though might be a bit heavy handed. https://www.debian.org/doc/manuals/aptitude/ch02s05s05.en.html#configAptPurge-Unused if you want to live dangerously. Probably fine for dev environments.