Portage Dependency Resolution

From Steak Wiki
Revision as of 02:16, 31 December 2019 by Adminguy (talk | contribs) (Created page with "In Funtoo/Gentoo There can be times when portage will require adjustments. Here are some examples: ===Example 1: <pre> emerge -av transmission-remote-gtk These are the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

Here are some examples:

===Example 1:

emerge -av transmission-remote-gtk

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 )

(dependency required by "dev-libs/appstream-glib-0.7.14::gnome-kit" [ebuild])
(dependency required by "net-p2p/transmission-remote-gtk-1.4.1::net-kit" [ebuild])
(dependency required by "transmission-remote-gtk" [argument])

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).