> On every distro uninstalling packages never really reverts the system to its previous state, always leaves some junk behind.
Not at all. Apt has been able to remove everything for the last 20 years.
Not at all. Apt has been able to remove everything for the last 20 years.
Not really. It can remove configuration files etc. it knows about, but it can't know about files later created by the application itself.
That's also not what's being asked for here. The basic request is this: track which packages were manually vs automatically installed, and give the user the ability to remove automatically-installed orphans whose manually-installed reverse-dependencies are no longer installed. This is what APT does and it works fine 99% of the time.