Bug 12393

Summary: opkg-utils doesn't seem to support Enhances
Product: [Yocto Project Subprojects] opkg Reporter: Chris Tsai <chris.tsai>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided    
Version: unspecified   
Target Milestone: 0.4.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Chris Tsai 2017-12-04 20:57:30 UTC
Looking through opkg-utils I noticed there wasn't a property for Enhances in opkg.py instead you see listed in the __init__:

        self.depends = None
        self.provides = None
        self.replaces = None
        self.conflicts = None
        self.recommends = None
        self.suggests = None

This led down to a discussion whether or not Enhances was actually supported in opkg at all? Probably worth looking into if there is a gap here.

From the Debian policy, Enhances is a option (https://www.debian.org/doc/debian-policy/#s-binarydeps).
Comment 1 Alejandro del Castillo 2020-07-19 14:33:07 UTC
AFAIK, Enhances is a field that is used as a hint to higher level tools, like UIs. Is not an input to the solver. Opkg doesn't have code to handle Enhances, which is correct as the field is a noop for all opkg operations.