manjaro / pamac

This repo has been archived. Our code is now hosted at

Home Page:https://gitlab.manjaro.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How does Pamac handle unused dependencies?

Madis0 opened this issue · comments

Quoting a post about Arch:

  • Some packages do not need some of their dependencies after the install (i.e. only needed for building)
  • When I fail to install a package from AUR, some of the dependencies remain installed
  • When I remove an AUR package, some of the dependencies remain installed

I'm aware of an option to fix the third problem, but I'm wondering about the first two.

The packages related to the first two point are "Installed as a dependency for another package" so you can find them in the orphans view.

I browsed it a little and now I see how it works. However, why would it not automatically remove the dependencies it no longer needs after installing a package? Is it a compatibility concern?

I prefer to let them installed as it's totally harmless and they can be useful when updating the package.

Right, I forgot that AUR always needs compiling, even when updating. That answered my questions well, thank you!