Unable to install docker on pi4

Hello,

I have openwrt running on pi4 and I'm trying to install docker.
When I try to install I got this
Required dependency package kernel is not available in any repository. In tree list it is under kmod-fs-btrfs

Someone can help me fix this?
Thanks

are you by any chance using a snapshot ?

i just flashed the openwrt-22.03.3-bcm27xx-bcm2711-rpi-4-squashfs-factory.img.gz in the sd card and launched it

did you run opkg update (or the equiv using the web interface), before attempting to install the package ?

sure. I played with some packages. I can try format and restart from scratch but I prefer to fix

care to elaborate ?

i just installed and removed some. I don't remember which ones

ok,

in that case, can you post the exact error message, or a screen shot of it ?

root@OpenWrt:~# opkg install dockerd
Installing dockerd (20.10.22-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/aarch64_cortex-a72/packages/dockerd_20.10.22-1_aarch64_cortex-a72.ipk
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-crypto-hash
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-hash found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-crypto-crc32c
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-crc32c found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-lib-crc32c
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-crc32c found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-crypto-acompress
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-acompress found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-lib-lzo
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-lzo found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-lib-zlib-inflate
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-zlib-inflate found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-lib-zlib-deflate
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-zlib-deflate found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-lib-raid6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-raid6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-lib-xor
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-xor found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-lib-zstd
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-zstd found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-fs-btrfs
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-fs-btrfs found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-reject
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-reject found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-ipt
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-ipt found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-log
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-log found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-ipt-core
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-core found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nfnetlink
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nfnetlink found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-reject6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-reject6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-conntrack
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-conntrack found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-conntrack6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-conntrack6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-nat
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-nat found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-log6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-log6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nft-core
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-core found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nft-compat
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-compat found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-ipt-extra
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-extra found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-ipt6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-ipt6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-ip6tables
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ip6tables found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-nat6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-nat6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-ipt-conntrack
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-conntrack found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-ipt-nat
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-nat found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-ipt-nat6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-nat6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-br-netfilter
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-br-netfilter found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-ipt-physdev
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-physdev found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-ipvs
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-ipvs found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-veth
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-veth found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nft-fib
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-fib found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nf-flow
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-flow found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nft-nat
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-nat found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a) for kmod-nft-offload
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-offload found, but incompatible with the architectures configured
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for dockerd:
 * 	kernel (= 5.10.161-1-61a27be69d8fdf73a5b94559a7a5730a)
 * opkg_install_cmd: Cannot install package dockerd.
root@OpenWrt:~# 

I format to default and now installation is ok.

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