Bug 9830

Summary: Opkg's pre-depends not being honored appropriately
Product: [Yocto Project Subprojects] opkg Reporter: Bryan Krause <bryan.krause>
Component: opkgAssignee: Shruthi Ravichandran <shruthi.ravichandran>
Status: RESOLVED NOTABUG QA Contact:
Severity: major    
Priority: Undecided CC: shruthi.ravichandran
Version: unspecified   
Target Milestone: 0.6.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Bryan Krause 2016-06-27 15:11:22 UTC
The control file's pre-depends field does not appear to be honored appropriately. It only appears to pull the package down as part of the dependencies. As such any package expecting the pre-depends package to exist will fail.
Comment 1 Alejandro del Castillo 2018-12-20 23:54:31 UTC
Re-targeting before 0.4 release
Comment 2 Shruthi Ravichandran 2022-03-04 21:45:11 UTC
Bryan,

This behavior is as intended. The pre-depends support in opkg is limited. As you suspected, opkg does not differentiate between dependencies and pre-dependencies during installation. Opkg sequentially installs dependencies and pre-dependencies of a package before installing the package itself, and lastly, configures all the packages in order. If you require this support, I request you to send a patch adding pre-depends support to the opkg mailing list.