Author Options:

autoremove and dependencies? Answered

Does autoremove check for any dependencies before deleting a package or only for dependencies with the package that was purged. In the lesson, it stated:

"For example, if you installed package Z, it might install package X and Y in order for Z to run correctly. When you use purge to uninstall package Z it does not remove packages X and Y. Autoremove does that:"

Does autoremove have any mechanism to prevent it from deleting X if a third package, say package B, also uses X?