Bug 8599

Summary: when i use force downgrade option i have to give full ipk path
Product: [Yocto Project Subprojects] opkg Reporter: jatin jain <jatinvatsalya>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided    
Version: 0.3.0   
Target Milestone: 0.4.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description jatin jain 2015-10-28 11:01:51 UTC
when i use force-downgrade then i have to use full ipk path instead of giving package name. how will i downgrade a package if it is on a repository
Comment 1 Alejandro del Castillo 2018-11-16 22:39:40 UTC
Using a build from master, force-downgrade works with packages from repositories:

[adelcast@delcastillo3 tests]$ opkg -o /tmp/opkg list
a - 2.0
a - 1.0
[adelcast@delcastillo3 tests]$ opkg -o /tmp/opkg list-installed
a - 2.0
[adelcast@delcastillo3 tests]$ opkg -o /tmp/opkg install a=1.0 --force-downgrade
Installing a (1.0) on root
Downloading file:/tmp/opk/a_1.0_all.opk.