Bug 8599 - when i use force downgrade option i have to give full ipk path
Summary: when i use force downgrade option i have to give full ipk path
Status: RESOLVED NOTABUG
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.3.0
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.4.0
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-10-28 11:01 UTC by jatin jain
Modified: 2018-11-16 22:39 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.