Lars Heide, your patch works great for me, I think it should be applied upstream. But some people may find "differential" behavior (now_auto_removable-pkgs_auto_removable) safer. Then the right solution may be: implementing logic described in #7 (in addition to patch from #4) with adding new config option like "Remove-Unused-Dependencies-NewOnly".
Lars Heide, your patch works great for me, I think it should be applied upstream. But some people may find "differential" behavior (now_auto_ removable- pkgs_auto_ removable) safer. Then the right solution may be: implementing logic described in #7 (in addition to patch from #4) with adding new config option like "Remove- Unused- Dependencies- NewOnly" .