<?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>8360</bug_id>
          
          <creation_ts>2015-09-21 01:24:58 +0000</creation_ts>
          <short_desc>[internalsolv] Packages fail to install when Recommends can&apos;t be installed (old issue #165)</short_desc>
          <delta_ts>2021-07-08 15:11:24 +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>0.3.0</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>54339</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2015-09-21 01:24:58 +0000</bug_when>
    <thetext>What steps will reproduce the problem?
1.Create packages &apos;x&apos;, &apos;a&apos;, and &apos;b&apos; such that &apos;a&apos; recommends &apos;b&apos;, and &apos;b&apos; conflicts &apos;x&apos;
2. Install &apos;x&apos;
3. Try to install &apos;a&apos;

What is the expected output? What do you see instead?
I expect &apos;a&apos; to be installed, since &apos;b&apos; is not an absolute dependency of &apos;a&apos;.

Instead, nothing is installed.

What version of the product are you using? On what operating system?
0.3.0

Please provide any additional information below.
There are several other set-ups that cause related problems. For example if &apos;a&apos; recommends &apos;b&apos; and &apos;c&apos;, but &apos;c&apos; conflicts with &apos;x&apos;, then only &apos;b&apos; is installed and &apos;a&apos; remains uninstalled. Note this is different from issue 162 since we do expect the non-conflicting packages to be installed in this case since recommends does not signal an absolute dependency. Similarly, if &apos;a&apos; recommends &apos;b&apos; and &apos;b&apos; recommends &apos;c&apos;, but &apos;c&apos; conflicts with &apos;x&apos;, then only &apos;b&apos; is installed. I will create a test for this issue that covers each of these cases.

Originally reported by ericaustinyu, Jul 17, 2015
-----------------------------------------------------------------------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71786</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2017-03-27 22:51:44 +0000</bug_when>
    <thetext>This issue is no longer internalsolver specific. With change 90220245149a2cf753a33a1ff54683b20e7b627e, the was added (libsolv). A side effect is that case broke.

There is an ongoing discussion on https://github.com/openSUSE/libsolv/issues/63 to fix https://github.com/openSUSE/libsolv/issues/63.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77494</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2017-10-10 16:42:52 +0000</bug_when>
    <thetext>this is fixed on libsolv &gt; 0.6.27</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82560</commentid>
    <comment_count>3</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2018-12-20 23:34:24 +0000</bug_when>
    <thetext>De-prioritzing internalsolv bugs</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>