Software upgrade --
This seems especially apparent when trying to fix these dependency issues without uninstalling. Some dependencies have to be updated before others. Hypothetically this could be fixed at the package manager level. Afaik however there are no source-install via official repos, and package managers shouldn't have to know the details of a package to install by source. That's literally handled by the scripts of the package itself