[FS#3612] opkg installs unexpected packages depending on order of to-be-installed packages

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Tue Feb 9 11:00:58 EST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Perry (pmelange) 

Attached to Project - OpenWrt/LEDE Project
Summary - opkg installs unexpected packages depending on order of to-be-installed packages
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - I noticed this on a freshly installed 19.07.6 on a TP-Link WDR4900.

When installing the packages "batctl-full kmod-batman-adv" the order seems to matter.

For example,
opkg install batctl-full kmod-batman-adv

results in the following packages being installed
kmod-crypto-hash
kmod-lib-crc16
kmod-crypto-crc32c
kmod-lib-crc32c
librt
batctl-full
kmod-batman-adv

But as a counter-example (reversing the order),
opkg install kmod-batman-adv batctl-full

results in the following packages being installed
kmod-crypto-hash
kmod-lib-crc16
kmod-crypto-crc32c
kmod-lib-crc32c
librt
batctl-full
kmod-batman-adv
batctl-tiny

In this case both batctl-full and batctl-tiny get installed.

Just for clarity, here are the results of a few other related commands.

root at OpenWrt:~# opkg whatprovides -A batctl
What provides batctl
    batctl-full
    batctl-default
    batctl-tiny
root at OpenWrt:~# opkg whatdepends -A batctl
Root set:
  batctl-full
  batctl-default
  batctl-tiny
What depends on root set
	kmod-batman-adv 4.14.215+2019.2-10	depends on batctl


I feel like this is not working as expected.  Since batctl-full is explicitly listed on the command line, one would expect that the dependency on "batctl" should be met and as a result batctl-tiny is not needed.

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3612

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list