Required dependency package libubus20210630 is not available in any repository

Hi, I get this error when I tried to install the hostapd package on a Openwrt x86 OpenWrt 21.02.0-rc3 r16172-2aba3e9784 .

I try to install the wifi stack: kmod-cfg80211, hostapd, wireless-regdb, iw, and iwinfo,kmod-mt76x2u

How can I fix this?

Thanks a lot!

1 Like

Thanks for your fast respons!

22 hours later, it still is not avaible....I hope is will be there soon :wink:

Hmm, so I'm still confused. I'm seeing similar trouble to the original poster here.
I've downloaded openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64.tar.xz from https://downloads.openwrt.org/releases/21.02.0-rc3/targets/ipq806x/generic/ (where everything is currently dated June 15th).
Using that image builder, I'm currently getting this failure from make manifest:

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency libubus20210630 for netifd
 * pkg_hash_fetch_best_installation_candidate: Packages for netifd found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency libubus20210630 for ubox
 * pkg_hash_fetch_best_installation_candidate: Packages for ubox found, but incompatible with the architectures configured
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for base-files:
 * 	libubus20210630
 * opkg_install_cmd: Cannot install package base-files.

(and more like that)

In the downloads area, https://downloads.openwrt.org/releases/21.02.0-rc3/targets/ipq806x/generic/packages/ (core packages?) are all dated June 15th, with libubus at 20210603

But the imagebuilder packages are downloaded from places like https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4 , which has packages dated July 1st.

make manifest PROFILE=$PROFILE PACKAGES="$PACKAGES_NETGEAR" DISABLED_SERVICES="$DISABLED_SERVICES_HOME"
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/targets/ipq806x/generic/packages/Packages.gz
Updated list of available packages in /home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/targets/ipq806x/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
Updated list of available packages in /home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../home/osboxes/openwrt-imagebuilder-21.02.0-rc3-ipq806x-generic.Linux-x86_64/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.sig
Signature check passed.

So it seems to me there's an incompatibility between the RC3 built on June 15th (targets and core packages) and newer builds of RC3 content built on July 1st.

Is there some build-bot work needed to rebuild the rc3 targets? Or should it rebuild the rc3 packages using original target dependencies?

What's currently published as -rc3 is not a working set of targets + packages.

The RC3 images point to the snapshot directories for downloading packages, leading to inevitable conflicts as the snapshots track OpenWRT github changes.

If you edit /etc/opkg/distfeeds.conf to point to

https://downloads.openwrt.org/releases/21.02.0-rc3/
instead of
https://downloads.openwrt.org/snapshots/
then you should be able to download packages that match the ones built when the RC3 image was built.

If you log in to your OpenWRT device you can just issue

sed -i=bak 's#snapshots#releases/21.02.0-rc3#' /etc/opkg/distfeeds.conf

(Not sure why this isn’t the default for these RC images tbh.)

I wish that worked, but there's still a fracture here.
the image builder repository.conf already points to what you suggest:

## Place your custom repositories here, they must match the architecture and version.
# src/gz %n https://downloads.openwrt.org/releases/21.02.0-rc3
# src custom file:///usr/src/openwrt/bin/ipq806x/packages

## Remote package repositories
src/gz openwrt_core https://downloads.openwrt.org/releases/21.02.0-rc3/targets/ipq806x/generic/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/base
src/gz openwrt_luci https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/21.02.0-rc3/packages/arm_cortex-a15_neon-vfpv4/telephony

option check_signature

If I go to one of those packages, we see the links eventually go to newer images, not a stable set of images published when rc3 was first built.
https://downloads.openwrt.org/releases/21.02.0-rc3/ :


Index of (root) / releases / 21.02.0-rc3 /
File Name	File Size	Date
packages/ -> ../packages-21.02	-	Sat Jul 3 13:14:23 2021
targets/	-	Wed Jun 16 03:49:13 2021

and there it breaks, because https://downloads.openwrt.org/releases/packages-21.02/ is not a matched -rc3 package collection.

Yes, there are still some mis-matched paclages. It’s better, but not perfect :frowning:

The only full solution is to build your own images from scratch unfortunately.

Sigh. Not much of a release candidate if it's not a stable set :frowning:

1 Like

Thanks!!!!!

sed -i=bak 's#snapshots#releases/21.02.0-rc3#' /etc/opkg/distfeeds.conf

Fixt it for me!!

Thanks again!