Bug 13197

Summary: opkg download doesn't download older version of a package if newer version is installed
Product: [Yocto Project Subprojects] opkg Reporter: Chaitanya Vadrevu <chaitanya.vadrevu>
Component: opkgAssignee: Alex Stewart <alex.stewart>
Status: ACCEPTED --- QA Contact:
Severity: normal    
Priority: Undecided CC: alex.stewart
Version: 1.0   
Target Milestone: next-patch   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Chaitanya Vadrevu 2019-02-22 22:17:38 UTC
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 <pkgname> as <pkgname-newerversion.ipk>
Collected errors:
 * get_pkg_url: Package <pkgname> 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.