Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openwrt-bot opened this issue Feb 9, 2021 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

pmelange:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant