Cant Install SAMBA4

I am trying to install luci-app-samba4 for my Bananapi BPI-R3 router. I am getting the following error. I am currently running on the latest snapshot. Any Idea why there are no packages for architecture ARMv8 Processor rev 4 with a target of mediatek/filogic?

What do I need to do to get this installed?

# opkg install luci-app-samba4
Unknown package 'luci-app-samba4'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency samba4-server for luci-app-samba4
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-samba4 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci-app-samba4.

What is the output of:

ubus call system board
cat /etc/opkg/distfeeds.conf
cat /etc/opkg/customfeeds.conf

Here is the requested data:


~# ubus call system board
{
        "kernel": "5.15.110",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 4",
        "model": "Bananapi BPI-R3",
        "board_name": "bananapi,bpi-r3",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r22847-5ca3386c8a",
                "target": "mediatek/filogic",
                "description": "OpenWrt SNAPSHOT r22847-5ca3386c8a"
        }
}
~# cat /etc/opkg/distfeeds.conf
src/gz openwrt_core https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages
src/gz openwrt_base https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base
src/gz openwrt_kmods https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.110-1-868e8f7ccd7266e72a24338f895c798b
src/gz openwrt_luci https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci
src/gz openwrt_packages https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages
src/gz openwrt_routing https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing
src/gz openwrt_telephony https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony
~# cat /etc/opkg/customfeeds.conf
# add your custom package feeds here
#
# src/gz example_feed_name http://www.example.com/path/to/files

What is the output of:

opkg update
opkg install samba4 luci-app-samba4

The samba build is failing as is gnutls on which it depends. This is with snapshot.

1 Like

What can i do to fix this? I can only use snapshots because the Bananapi isn't supported on anything else yet.

Not a direct solution but why not use ksmbd instead of samba4?

A fix is being worked on related to this, I think:

A lot of compile issues have been related to this problem recently. You may have to wait a little bit if you want to use samba4, but it looks like it's almost resolved.

It looks like everything is back to normal with samba4 in snapshot.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.