Skip to content
Contents
GuidesOpenWrt

OpenWrt cannot install python3-aiohttp: check the Filogic feed and dependency candidates

When installation fails, check for the main package first and then the dependencies named by the package manager. Finding one dependency does not establish that the complete set is installable from compatible trusted feeds. This example uses 25.12.0, mediatek/filogic and aarch64_cortex-a53.

Check the candidates on the router

In an SSH session read release.target and the package architecture. Filogic identifies part of the target platform, while the package directory uses the package architecture name. Fix any signature, download or storage errors during index refresh before interpreting the candidates.

ubus call system board
apk --print-arch
apk update
apk policy python3-aiohttp python3-frozenlist python3-multidict python3-yarl
apk add --simulate python3-aiohttp

If there is no candidate for the main package, check the release, enabled feeds and index refresh result. If a candidate exists but the simulated installation names a missing dependency, record that exact name and the candidate versions. Check the full plan and free space before an actual installation.

Inspect one public index for a specific architecture

Use a checking host with apk, its adbdump command and enough temporary space. This procedure only downloads and reads the index. The screenshot shows an x86/64 guest reading Cortex-A53 metadata. No ARM software was installed or run. If adbdump is unavailable, check exact filenames in the official directory and run the installation preview on the target device.

work=$(mktemp -d) && cd "$work" || exit 1
url=https://downloads.openwrt.org/releases/25.12.0/packages/aarch64_cortex-a53/packages/packages.adb
uclient-fetch -O cortex-packages.adb "$url" || exit 1
sha256sum cortex-packages.adb
apk adbdump cortex-packages.adb > cortex-index.txt || exit 1
for p in python3-aiohttp python3-frozenlist python3-multidict python3-yarl; do
    grep -Fx "  - name: $p" cortex-index.txt || echo "$p: no exact match"
done

Four exact package names are checked against the same official index. It contains python3-frozenlist.

Of the four names, only python3-frozenlist matched this copy of the packages index. This describes the downloaded index, not the repository on release day or other feeds enabled on your device. A source recipe, an unmerged change or a binary from another architecture does not establish an installable plan for the target.

If compatible builds are missing, keep the original feeds and leave the application in its working environment. After a successful installation from matching feeds, run this import in the same Python environment as the service, then use the application's own health check.

python3 -c 'import aiohttp; print(aiohttp.__version__)'

Move from opkg to apk on OpenWrt 25.12

Explore hardware

Comments