<?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>10277</bug_id>
          
          <creation_ts>2016-09-14 18:48:17 +0000</creation_ts>
          <short_desc>[internalsolv] Package install upgrades provider of virtual dependency incorrectly</short_desc>
          <delta_ts>2021-07-08 15:06:10 +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.3</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="Michael Hansen">michael.j.hansen</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>66151</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Hansen">michael.j.hansen</who>
    <bug_when>2016-09-14 18:48:17 +0000</bug_when>
    <thetext>Probably related to #9802, packages will be upgraded incorrectly when referenced through a virtual dependency:

Given:
    Package a depends on bapi-1.0
    Package b-1.0 provides bapi-1.0
    Package b-2.0 provides bapi-2.0

Perform:
    Install package b-1.0
    Install package a

Expected:
    a is installed, b is kept at version 1.0

Actual:
    b is upgraded to 2.0, and a is successfully installed despite broken dependency</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66167</commentid>
    <comment_count>1</comment_count>
      <attachid>3417</attachid>
    <who name="Michael Hansen">michael.j.hansen</who>
    <bug_when>2016-09-14 23:22:21 +0000</bug_when>
    <thetext>Created attachment 3417
Test case for issue 10277</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82559</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2018-12-20 23:33:57 +0000</bug_when>
    <thetext>De-prioritzing internalsolv bugs</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>3417</attachid>
            <date>2016-09-14 23:22:21 +0000</date>
            <delta_ts>2016-09-14 23:22:21 +0000</delta_ts>
            <desc>Test case for issue 10277</desc>
            <filename>issue10277.py</filename>
            <type>text/x-python</type>
            <size>600</size>
            <attacher name="Michael Hansen">michael.j.hansen</attacher>
            
              <data encoding="base64">IyEvdXNyL2Jpbi9lbnYgcHl0aG9uCgppbXBvcnQgb3MKaW1wb3J0IG9waywgY2ZnLCBvcGtnY2wK
Cm9way5yZWdyZXNzX2luaXQoKQoKbyA9IG9way5PcGtHcm91cCgpCm8uYWRkKFBhY2thZ2U9ImEi
LCBEZXBlbmRzPSJiYXBpLTEuMCIpCm8uYWRkKFBhY2thZ2U9ImIiLCBWZXJzaW9uPSIxLjAiLCBQ
cm92aWRlcz0iYmFwaS0xLjAiKQpvLmFkZChQYWNrYWdlPSJiIiwgVmVyc2lvbj0iMi4wIiwgUHJv
dmlkZXM9ImJhcGktMi4wIikKby53cml0ZV9vcGsoKQpvLndyaXRlX2xpc3QoKQoKb3BrZ2NsLnVw
ZGF0ZSgpCgpvcGtnY2wuaW5zdGFsbCgiYl8xLjBfYWxsLm9wayIpCmlmIG5vdCBvcGtnY2wuaXNf
aW5zdGFsbGVkKCJiIiwgIjEuMCIpOgogICAgb3BrLmZhaWwoIlBhY2thZ2UgJ2InIGZhaWxlZCB0
byBpbnN0YWxsIikKCm9wa2djbC5pbnN0YWxsKCJhIikKaWYgbm90IG9wa2djbC5pc19pbnN0YWxs
ZWQoImEiKToKICAgIG9way5mYWlsKCJQYWNrYWdlICdhJyBmYWlsZWQgdG8gaW5zdGFsbCIpCmlm
IG5vdCBvcGtnY2wuaXNfaW5zdGFsbGVkKCJiIiwgIjEuMCIpOgogICAgb3BrLmZhaWwoIlBhY2th
Z2UgJ2InIHVwZ3JhZGVkIGluY29ycmVjdGx5IikK
</data>

          </attachment>
      

    </bug>

</bugzilla>