[Slackbuilds-users] Dependency cleanup after package removal

Dominik Drobek dominik.drobek at o2.pl
Mon Jun 22 19:56:05 UTC 2020


I was wondering how do people manage dependency cleanup when 
uninstalling SBo packages?

Suppose the user first installs package A what depends on packages X, Y 
and Z (all from SBo). Later the user installs package B that depends on 
Y, and finally installs C that depends on X.

When A is removed, then Z is clearly not needed anymore. This is easy to 
figure out in this simple example, but when ~200 SBo packages are 
installed in the system it's not straightforward.

Is there any tool for automatic detection of such "orphaned" 
dependencies that can be safely removed?


More information about the SlackBuilds-users mailing list