<?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>8342</bug_id>
          
          <creation_ts>2015-09-20 22:35:36 +0000</creation_ts>
          <short_desc>[internalsolv] Opkg fails to attempt all satisfying dependencies after installing the first one fails (old issue #85)</short_desc>
          <delta_ts>2021-07-08 15:28:48 +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>ACCEPTED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro del Castillo">alejandro.delcastillo</reporter>
          <assigned_to name="Alex Stewart">alex.stewart</assigned_to>
          
          
          
          <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>54320</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2015-09-20 22:35:36 +0000</bug_when>
    <thetext>What steps will reproduce the problem?

#!/usr/bin/python3

import opk, cfg, opkgcl

def cleanup():
	opkgcl.remove(&quot;a&quot;)
	opkgcl.remove(&quot;b&quot;)
	opkgcl.remove(&apos;c&apos;)

opk.regress_init()

o = opk.OpkGroup()
o.add(Package=&quot;a&quot;, Provides=&quot;v&quot;)
o.add(Package=&quot;b&quot;, Provides=&quot;v&quot;, Depends=&quot;b_nonexistant&quot;)
o.add(Package=&quot;c&quot;, Depends=&quot;v&quot;)

o.write_opk()
o.write_list()

opkgcl.update()

# install ``c&apos;&apos; from repository
opkgcl.install(&quot;c&quot;)
if not opkgcl.is_installed(&quot;c&quot;):
	print(__file__, &quot;: package ``c&apos;&apos; not installed.&quot;)
	cleanup()
	exit(False)

cleanup()



What is the expected output? What do you see instead?

Opkg should try subsequent satisfying dependencies in the event of failing to install the first one (e.g. due to missing dependency or conflict).

Originally reported by graham.gower, Oct 24, 2011
-----------------------------------------------------------------------------

#1 paul.betafive (Sep 18, 2013)
I&apos;ll add this to my todo list as Graham isn&apos;t working on opkg anymore. 

#2 paul.betafive (Mar 1, 2014)
This case should occur relatively rarely in well managed package feeds so I see it as less of a priority to fix than other bugs. Tagged for v0.4 for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82561</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2018-12-20 23:34:47 +0000</bug_when>
    <thetext>De-prioritzing internalsolv bugs</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>