We found after some packages had shipped that opkg apparently ignores malformed relationships in control files. For example, if you have the following: Depends: a >= 2.0 opkg ignores the '>= 2.0' because the relationship omitted parentheses. opkg info just shows 'Depends: a' Similarly, if you have: Depends: a (>= 2.0), b (>= 3.0) c (>= 4.0) opkg ignores the 'c' relationship because there is no comma. opkg info just shows 'Depends a (>= 2.0), b (>= 3.0)' This issue applies to all forms of relationship (such as Recommends)
This functionality shouldn't be on opkg proper, since the opkg functionality is meant to be limited (save space, etc). A linter should catch this sort of errors. Reusing debian linters or extending them might provide the required functionality.