Difference between revisions of "Portage Dependency Resolution"

From Steak Wiki
Jump to navigationJump to search
(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...")
 
Line 3: Line 3:
 
Here are some examples:
 
Here are some examples:
  
===Example 1:  
+
===Example 1: Basic "The following REQUIRED_USE flag constraints are unsatisfied:"===
 
<pre>
 
<pre>
emerge -av transmission-remote-gtk
+
emerge -av <somepackage>
  
 
These are the packages that would be merged, in order:
 
These are the packages that would be merged, in order:
Line 16: Line 16:
 
   The following REQUIRED_USE flag constraints are unsatisfied:
 
   The following REQUIRED_USE flag constraints are unsatisfied:
 
     vala? ( introspection )
 
     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])
 
 
</pre>
 
</pre>
  

Revision as of 02:17, 31 December 2019

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