<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9830</bug_id>
          
          <creation_ts>2016-06-27 15:11:22 +0000</creation_ts>
          <short_desc>Opkg&apos;s pre-depends not being honored appropriately</short_desc>
          <delta_ts>2022-03-04 21:45:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>opkg</product>
          <component>opkg</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>0.6.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bryan Krause">bryan.krause</reporter>
          <assigned_to name="Shruthi Ravichandran">shruthi.ravichandran</assigned_to>
          <cc>shruthi.ravichandran</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63342</commentid>
    <comment_count>0</comment_count>
    <who name="Bryan Krause">bryan.krause</who>
    <bug_when>2016-06-27 15:11:22 +0000</bug_when>
    <thetext>The control file&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82567</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2018-12-20 23:54:31 +0000</bug_when>
    <thetext>Re-targeting before 0.4 release</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92729</commentid>
    <comment_count>2</comment_count>
    <who name="Shruthi Ravichandran">shruthi.ravichandran</who>
    <bug_when>2022-03-04 21:45:11 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>