Bug 8343 - Downgrade to Prefer (old issue #111)
Summary: Downgrade to Prefer (old issue #111)
Status: RESOLVED NOTABUG
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.2.4
Hardware: x86 Multiple
: Undecided enhancement
Target Milestone: 0.5.0
Assignee: Alex Stewart
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-09-20 22:39 UTC by Alejandro del Castillo
Modified: 2021-07-08 16:57 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro del Castillo 2015-09-20 22:39:09 UTC
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 '--previous' flag to request the installation of the previous version?
 
#2 mingenz (May 13, 2014)
Dear paul,

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

Cheers

#3 paul.betafive (May 13, 2014)
I'm very busy at the moment and only maintaining opkg part-time. This feature isn't really a priority to me so you'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't do much better than that at the minute :(
Comment 1 Alejandro del Castillo 2018-12-20 23:56:29 UTC
Re-targeting before 0.4 release
Comment 2 Alex Stewart 2021-07-08 16:57:20 UTC
Closing this feature request, since it is very old and realistically won't get traction until a user has a specific need and the desire to drive its implementation.