OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Perry - 09.02.2021

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

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@OpenWrt:~# opkg whatprovides -A batctl
What provides batctl
    batctl-full
    batctl-default
    batctl-tiny
root@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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing