<?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>8343</bug_id>
          
          <creation_ts>2015-09-20 22:39:09 +0000</creation_ts>
          <short_desc>Downgrade to Prefer (old issue #111)</short_desc>
          <delta_ts>2021-07-08 16:57:20 +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.2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>0.5.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro del Castillo">alejandro.delcastillo</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>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>54321</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2015-09-20 22:39:09 +0000</bug_when>
    <thetext>OPKG Version used is 0.2:

Several Packets were installed locally, it was observed that at every Package installation, the previous version is flagged as PREFER.

It is also noticed that using the following command:

opkg install PackageName* -forcedowngrade

The OLDEST version in cache is installed.

The Objective is to install the PREFER Version (previous) not specifying in the command the Version Number (i.e. Using PackageName*)
 
Thank you very much.

Originally reported by mingenz, Nov 2, 2013
-----------------------------------------------------------------------------

#1 paul.betafive (Nov 12, 2013)
How about adding a &apos;--previous&apos; flag to request the installation of the previous version?
 
#2 mingenz (May 13, 2014)
Dear paul,

adding &apos;--previous&apos; flag to request the installation of the previous version would be great, we really need such a feature for the firmware &apos;upgrade on air&apos; in our project .
Do you think such a feature might be available soon?

Cheers

#3 paul.betafive (May 13, 2014)
I&apos;m very busy at the moment and only maintaining opkg part-time. This feature isn&apos;t really a priority to me so you&apos;d need to add it yourself if you need it to be available soon. I can provide help and advice via the mailing list if you do wish to add this yourself.

Sorry I can&apos;t do much better than that at the minute :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82570</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2018-12-20 23:56:29 +0000</bug_when>
    <thetext>Re-targeting before 0.4 release</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90896</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Stewart">alex.stewart</who>
    <bug_when>2021-07-08 16:57:20 +0000</bug_when>
    <thetext>Closing this feature request, since it is very old and realistically won&apos;t get traction until a user has a specific need and the desire to drive its implementation.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>