<?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>9477</bug_id>
          
          <creation_ts>2016-04-18 15:26:42 +0000</creation_ts>
          <short_desc>Conflicted packages get installed incorrectly</short_desc>
          <delta_ts>2016-05-04 16:53:15 +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.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9059</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>0.3.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Alejandro del Castillo">alejandro.delcastillo</assigned_to>
          <cc>liezhi.yang</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>61348</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-18 15:26:42 +0000</bug_when>
    <thetext>(more details in bug #9464)

$ opkg install nativesdk-buildtools-perl-dummy nativesdk-texinfo

The log would say nativesdk-buildtools-perl-dummy conflicts with nativesdk-perl so that nativesdk-texinfo is not installed, but the first one provides nativesdk-perl, so this is incorrect.

Similar issue to reproduce:

PACKAGE_CLASSES = &quot;package_ipk&quot;

$ bitbake buildtools-tarball, we will say that nativesdk-perl and nativesdk-buildtools-perl-dummy are installed, but it shouldn&apos;t since nativesdk-buildtools-perl-dummy provides nativesdk-perl, and it is required by user to install. (in TOOLCHAIN_HOST_TASK which is translated into command line).

In this native nativesdk-buildtools-perl-dummy has conflicts and provides on perl, but no replaces.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61755</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2016-04-27 22:07:59 +0000</bug_when>
    <thetext>This is the same issue reported on 9059</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61814</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-28 17:28:41 +0000</bug_when>
    <thetext>*** Bug 9464 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61946</commentid>
    <comment_count>3</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2016-05-04 16:53:15 +0000</bug_when>
    <thetext>Same as issue reported on bug 9059

*** This bug has been marked as a duplicate of bug 9059 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>