#17395: opkg: force-downgrade option is broken, does not downgrade a package
----------------------------------+----------------------------------
Reporter: braveheart_leo@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: base system | Version: Trunk
Keywords: opkg force downgrade |
----------------------------------+----------------------------------
I'm trying to downgrade wpad-mini on my system running CHAOS CALMER
(Bleeding Edge, r42002), which is running from a pivot overlay-ed external
storage. I'm doing this because of r41982.
{{{
# opkg info wpad-mini
Package: wpad-mini
Version: 2014-06-03-1
Depends: libc, libnl-tiny, libubus
Status: unknown ok not-installed
Section: net
Architecture: ramips_24kec
Maintainer: Felix Fietkau <[email protected]>
MD5Sum: dc694abaee40be556bcc6582d90a0b5c
Size: 217623
Filename: wpad-mini_2014-06-03-1_ramips_24kec.ipk
Source: package/network/services/hostapd
Description: This package contains a minimal IEEE 802.1x/WPA Authenticator
and Supplicant (WPA-PSK only).
Package: wpad-mini
Version: 2014-07-29-1
Depends: libc, libnl-tiny, libubus
Status: install user installed
Architecture: ramips_24kec
Installed-Time: 1406723405
}}}
However, if I do this:
{{{
# opkg --force-downgrade install
http://downloads.openwrt.org/snapshots/trunk/ramips/packages/base/wpad-
mini_2014-06-03-1_ramips_24kec.ipk
Downloading
http://downloads.openwrt.org/snapshots/trunk/ramips/packages/base/wpad-
mini_2014-06-03-1_ramips_24kec.ipk
Package wpad-mini (2014-07-29-1) installed in root is up to date.
# opkg list-installed |grep wpad-mini
wpad-mini - 2014-07-29-1
}}}
As can be seen from above, the --force-downgrade option did not downgrade
the package.
Was such option ever meant to work?
--
Ticket URL: <https://dev.openwrt.org/ticket/17395>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets