Portage Dependency Resolution

From Steak Wiki
Revision as of 02:17, 31 December 2019 by Adminguy (talk | contribs)
Jump to navigationJump to search

In Funtoo/Gentoo There can be times when portage will require adjustments.

Here are some examples:

Example 1: Basic "The following REQUIRED_USE flag constraints are unsatisfied:"

emerge -av <somepackage>

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! The ebuild selected to satisfy "app-arch/gcab" has unmet requirements.
- app-arch/gcab-1.3::gnome-kit USE="vala -doc -introspection -test"

  The following REQUIRED_USE flag constraints are unsatisfied:
    vala? ( introspection )

I have run into this before. The solution is:

  • ego sync (funtoo), emerge -sync (gentoo)

This is done to get the system up to date. Equivalent to apt-get update.

  • Add introspection to vala in package.use
  • Install vala

You can package.mask out things, if you think they aren't needed


You can install programs that are asking for unmet use flags. that might solve the unmet flags.


e.g.:


vala requires use flag (introspection)

I had to ego sync, add the package.use flag for vala of introspection then emerge -av dev-lang/vala


which showed it was a new install.


In this case, Vala was not installed, and required introspection (which may not be a default use flag).