<?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>13197</bug_id>
          
          <creation_ts>2019-02-22 22:17:38 +0000</creation_ts>
          <short_desc>opkg download doesn&apos;t download older version of a package if newer version is installed</short_desc>
          <delta_ts>2021-07-08 16:59:46 +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>1.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>normal</bug_severity>
          <target_milestone>next-patch</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chaitanya Vadrevu">chaitanya.vadrevu</reporter>
          <assigned_to name="Alex Stewart">alex.stewart</assigned_to>
          <cc>alex.stewart</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83096</commentid>
    <comment_count>0</comment_count>
    <who name="Chaitanya Vadrevu">chaitanya.vadrevu</who>
    <bug_when>2019-02-22 22:17:38 +0000</bug_when>
    <thetext>If a newer version of a package is installed on a system and the feed points to an older version, `opkg download` gives the following output

------------------------------------------------------
Downloaded &lt;pkgname&gt; as &lt;pkgname-newerversion.ipk&gt;
Collected errors:
 * get_pkg_url: Package &lt;pkgname&gt; is not available from any configured src.

------------------------------------------------------

And although the output says newer version of the package is downloaded (when it should have tried to download the older version), nothing is downloaded to working directory.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>