Oh no... I can't install Luci

Hello All,

I've explored OpenWrt in the past and mainly used ddwrt but I picked up a new BananaPi4 mainly because of the 10g sfp support.

Although I enjoy the terminal, I wanted to install Luci on my new router because some things are easier in the browser. Unfortunately I'm getting conflicts from apk add luci and I've added the terminal output below. I'm also kinda assuming that there is no fix for conflicting packages but figured it doesn't cost to ask. Especially since I really don't know apk all that well.

BTW - with 10gig WAN speeds I am absolutely loving this piece of hardware! Anyway, thanks all for looking and any thoughts you all may have on how to correct the conflicts!

apk update
fetch https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb
fetch https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.71-1-7520f413149ac060ff02685d13815237/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/video/packages.adb
 [https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb]
 [https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.71-1-7520f413149ac060ff02685d13815237/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/video/packages.adb]
OK: 10711 distinct packages available
root@OpenWrt:~# apk add luci
ERROR: unable to select packages:
  libuci20130104-2024.11.26~10f7996e-r1:
    conflicts: libuci20250117-2025.01.17~fb3c2343-r1[libuci=2024.11.26~10f7996e-r1]
    satisfies: world[libuci20130104]
               block-mount-2024.12.02~49d36ba2-r1[libuci20130104]
               libiwinfo20230701-2024.10.20~b94f066e-r1[libuci20130104]
               netifd-2024.12.17~ea01ed41-r1[libuci20130104]
               odhcpd-ipv6only-2024.05.08~a2988231-r1[libuci20130104]
               procd-ujail-2024.12.22~42d39376-r1[libuci20130104]
               ubox-2024.04.26~85f10530-r1[libuci20130104]
               uci-2024.11.26~10f7996e-r1[libuci20130104]
               ucode-mod-uci-2024.12.06~209f041f-r1[libuci20130104]
  libuci20250117-2025.01.17~fb3c2343-r1:
    conflicts: libuci20130104-2024.11.26~10f7996e-r1[libuci=2025.01.17~fb3c2343-r1]
    satisfies: rpcd-2024.12.02~cc9a471c-r1[libuci20250117]

Install 24.10.0-rc5 , few months branching off does not break compatibility, but includes luci by default.

3 Likes

NIce! Thank you Brada4! That will be my Sunday morning task! :zap:

1 Like

You can still do it with snapshots, but as they are updated daily, you'd need to install luci and other packages that you need immediately after downloading/flashing.

2 Likes

From my own experience with this, the "Conflicts" errors can happen when all of the various packages needed by Luci have not completed their builds yet.

In that case, I've just been giving it a few hours before trying it again.

2 Likes

Hello dkachel7258,

Actually I had left the unit in that state and went to bed with the thought that I'll revisit the issue in the morning. In the morning the packages were in the same state. So I did what brada4 suggested and returned to 24.10. I eventually did a custom build with Luci and my few extra packages built in. There is now no issues with the OS packages. I do have other issues that I'm not sure that I should raise them here or ask in a different forum but I suppose I'll ask.

So I have X lan segment (mixed wired and wireless clients) like 192.168.100.x but wireless clients cannot access the other wired devices which does not make sense to me. So for example, I have a ProxMox server running a number of VMs one of which is Home Assistant. My connected wireless clients cannot access the ProxMox VMs with the new BananaPi4 serving wireless. Where previously I had ddwrt on a WRT3200ACM and no issues with wireless clients accessing the ProxMox VMs. I made sure that Isolation mode was off and even went through the step of purposely enabling and then disabling Isolation mode. Still no go.

if unrelated problem/topic, create a new thread.