I think this should actually be the default, with maybe an option to turn it off instead. Apparently libsolv has a flag CLEANDEPS
which should already do this for us, if we set it properly? Not sure. Feel free to take a look
1 Like
Actually it just means “installed in system
”. (“h” would mean “installed in home”.)
I remember reading about CLEANDEPS, but I don’t think it is exposed-to/used-by PackageKit yet.
Given that (and my lack of skills…), I had more or less an idea of how to implement it (naively, again) using what’s currently there (get deps of the given package, check if they’re --not-required
, add them to the “to uninstall” list).
We’ll see if I can come up with something, or fail miserably instead.
2 Likes