The desired end state of the system is reviewed to make sure that a solution is possible. During this basic review, pkg checks that a plausible version exists of all dependencies, and that desired packages do not exclude each other.
If an obvious error exists, then pkg prints an appropriate error message and exits.