Problems using imagebuilder docker image to build my custom image

hi,

i am not sure if my problem is related or not. if not please move away from this thread.

i try to use imagebuilder docker image to build my custom image with the packages of my choice. but since launching 24.10.1 i cannot complete the build due to similar errors for some of the packages:

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/li                                            bnl-tiny1_2025.03.19~c0df580a-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download libnl-tiny1. Perhaps you need to run 'opkg update'?

other packages are downloaded and installed though. sometimes i receive similar error while downloading packages.gz or packages.sig. could it be in relation to OP problem or side effect of that problem?

This looks a lot like a regular OpenWrt installation with opkg install.

Can you show us the commands that you used that generated this error?

within imagebuilder i am using:

make clean
make -j$(nproc) image ROOTFS_PARTSIZE="512" PACKAGES="${packages}" DISABLED_SERVICES="${disabled_services}"

so nothing fancy

And are you able to ping downloads.openwrt.org?

Hmm, seems to work for me:

host$  podman run -it ghcr.io/openwrt/imagebuilder:x86-64-24.10.1

Then inside the container:

$ make -j$(nproc) image ROOTFS_PARTSIZE="512" PACKAGES=libnl-tiny1
...
Installing packages...
Installing libc (1.2.5-r4) to root...
Installing libgcc1 (13.3.0-r4) to root...
Downloading https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/packages/libgcc1_13.3.0-r4_x86_64.ipk
Configuring libgcc1.
Configuring libc.
Installing kernel (6.6.86~af351158cfb5febf5155a3aa53785982-r1) to root...
Configuring kernel.
Installing libnl-tiny1 (2025.03.19~c0df580a-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/libnl-tiny1_2025.03.19~c0df580a-r1_x86_64.ipk
...
Configuring kmod-nf-flow.
Configuring libnl-tiny1.
Configuring kmod-lib-crc-ccitt.
...
... more junk until it finishes successfully ...

Is the container's feeds list current and complete?

$ cat repositories.conf
## Remote package repositories
src/gz openwrt_core https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base
src/gz openwrt_kmods https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.6.86-1-af351158cfb5febf5155a3aa53785982
src/gz openwrt_luci https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/telephony

## This is the local package repository, do not remove!
src imagebuilder file:packages

option check_signature

yes.

ping downloads.openwrt.org
PING dualstack.j.sni.global.fastly.net (151.101.2.132) 56(84) bytes of data.
64 bytes from 151.101.2.132 (151.101.2.132): icmp_seq=1 ttl=56 time=16.5 ms
64 bytes from 151.101.2.132 (151.101.2.132): icmp_seq=2 ttl=56 time=15.9 ms
64 bytes from 151.101.2.132 (151.101.2.132): icmp_seq=3 ttl=56 time=15.0 ms
64 bytes from 151.101.2.132 (151.101.2.132): icmp_seq=4 ttl=56 time=16.0 ms
64 bytes from 151.101.2.132 (151.101.2.132): icmp_seq=5 ttl=56 time=16.7 ms

glad to hear but this does not really help to me :wink:

let me elaborate: since the new release launch i try to use the docker image without success. i thought due new release there is big load on first day but i tries next day and next day in various times with the same result. at same point some content is failed to download, not always the same packages, sometimes as i wrote the opkg update fails for example timeout to download packages.gz. i also tried setting different DNS upstream for docker ... this time this is the full log:

Summary
Creating docker image: openwrt/imagebuilder:x86-64-v24.10.1
Unable to find image 'ghcr.io/openwrt/imagebuilder:x86-64-v24.10.1' locally
x86-64-v24.10.1: Pulling from openwrt/imagebuilder
014ac6453c34: Pull complete
31369e20b98e: Pull complete
1bcaaa4e2341: Pull complete
70c294cdc1db: Pull complete
64eaae1619b6: Pull complete
8e3a365d41e1: Pull complete
af756eab433c: Pull complete
0e531a2c65d2: Pull complete
4f4fb700ef54: Pull complete
ccbdc681a71a: Pull complete
2c39902aefba: Pull complete
fc3ad0063299: Pull complete
Digest: sha256:94775ad21d78d7095d00990154b307632a7c8c70cf74cd3b625920ffe8b5be1d
Status: Downloaded newer image for ghcr.io/openwrt/imagebuilder:x86-64-v24.10.1
rm -rf /builder/tmp /builder/dl /builder/build_dir/target-x86_64_musl/root-x86 /builder/bin/t                                                          argets/x86/64
Generate local signing keys...
Generate local certificate...
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'ldconfig-stub'... ok.
Building images for x86 - Generic x86/64
Packages: luci-proto-wireguard diffutils ddns-scripts-services jq resize2fs ddns-scripts ethe                                                          rwake lsblk procps-ng-watch ddns-scripts-noip block-mount luci-app-ddns tcpdump whois docker                                                           dockerd ethtool luci-ssl logrotate curl tune2fs drill luci-app-upnp ipmitool htop fdisk wget-                                                          ssl base-files ca-bundle dnsmasq dropbear e2fsprogs firewall4 fstools grub2-bios-setup kernel                                                           kmod-amazon-ena kmod-amd-xgbe kmod-bnx2 kmod-button-hotplug kmod-drm-i915 kmod-dwmac-intel k                                                          mod-e1000 kmod-e1000e kmod-forcedeth kmod-fs-vfat kmod-igb kmod-igc kmod-ixgbe kmod-nft-offlo                                                          ad kmod-r8169 kmod-tg3 libc libgcc libustream-mbedtls logd mkf2fs mtd netifd nftables odhcp6c                                                           odhcpd-ipv6only opkg partx-utils ppp ppp-mod-pppoe procd-ujail uci uclient-fetch urandom-see                                                          d urngd

Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/packages/Packages.g                                                          z
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../..                                                          /../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/packages/Packages.s                                                          ig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../..                                                          /../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.6.86-1-af35                                                          1158cfb5febf5155a3aa53785982/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../..                                                          /../builder/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.6.86-1-af35                                                          1158cfb5febf5155a3aa53785982/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../..                                                          /../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/packages/Packages.                                                          gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../..                                                          /../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/packages/Packages.                                                          sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/routing/Packages.g                                                          z
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../..                                                          /../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/routing/Packages.s                                                          ig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/telephony/Packages                                                          .gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../..                                                          /../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/telephony/Packages                                                          .sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../..                                                          /../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.

Installing packages...
Installing libc (1.2.5-r4) to root...
Installing libgcc1 (13.3.0-r4) to root...
Downloading https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/packages/libgcc1_13                                                          .3.0-r4_x86_64.ipk
Configuring libgcc1.
Configuring libc.
Installing kernel (6.6.86~af351158cfb5febf5155a3aa53785982-r1) to root...
Configuring kernel.
Installing luci-proto-wireguard (25.109.65286~63b5ed6) to root...
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/luci/luci-proto-wi                                                          reguard_25.109.65286~63b5ed6_all.ipk
Installing libnl-tiny1 (2025.03.19~c0df580a-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/libnl-tiny1_2                                                          025.03.19~c0df580a-r1_x86_64.ipk
[..]
Installing libubox20240329 (2024.03.29~eb9bcb64-r1) to root...
Configuring kmod-dma-buf.
Configuring kmod-i2c-core.
Configuring kmod-backlight.
Configuring kmod-fb.
Configuring kmod-drm.
Configuring terminfo.
Configuring libopenssl3.
Configuring libcap-ng.
Configuring libmnl0.
Configuring librt.
Configuring libuuid1.
Configuring libnftnl11.
Configuring miniupnpd-nftables.
Configuring diffutils.
Configuring ddns-scripts-services.
Configuring jq.
Configuring bnx2-firmware.
Configuring libattr.
Configuring libacl.
Configuring liblzo2.
Configuring kmod-drm-ttm.
Configuring kmod-drm-ttm-helper.
Configuring i915-firmware-dmc.
Configuring kmod-ppp.
Configuring kmod-pppox.
Configuring kmod-pppoe.
Configuring kmod-fb-sys-fops.
Configuring kmod-fb-cfb-copyarea.
Configuring kmod-fb-cfb-fillrect.
Configuring kmod-fb-cfb-imgblt.
Configuring kmod-fb-sys-ram.
Configuring kmod-drm-kms-helper.
Configuring kmod-drm-buddy.
Configuring kmod-drm-exec.
Configuring kmod-input-core.
Configuring libmbedtls21.
Configuring libustream-mbedtls20201210.
Configuring ddns-scripts.
Configuring kmod-nft-offload.
Configuring nftables-json.
Configuring firewall4.
Configuring libubus20250102.
Configuring dnsmasq.
Configuring kmod-mii.
Configuring libblkid1.
Configuring libmount1.
Configuring rpcd-mod-ucode.
Configuring etherwake.
Configuring ddns-scripts-noip.
Configuring kmod-drm-display-helper.
Configuring luci-base.
Configuring luci-app-firewall.
Configuring grub2-bios-setup.
Configuring whois.
Configuring ubox.
Configuring fstools.
Configuring uclient-fetch.
Configuring docker.
Configuring kmod-acpi-video.
Configuring ethtool.
Configuring dropbear.
Configuring libpopt0.
Configuring logrotate.
Configuring libpcre2.
Configuring libnghttp2-14.
Configuring ca-bundle.
Configuring libcurl4.
Configuring curl.
Configuring kmod-nls-base.
Configuring kmod-nls-cp437.
Configuring e2fsprogs.
Configuring tune2fs.
Configuring luci-proto-ipv6.
Configuring kmod-libphy.
Configuring libldns.
Configuring drill.
Configuring kmod-e1000.
Configuring ca-certificates.
Configuring kmod-drm-suballoc-helper.
Configuring luci-app-upnp.
Configuring kmod-phylink.
Configuring zlib.
Configuring kmod-i2c-algo-bit.
Configuring kmod-drm-i915.
Configuring kmod-amazon-ena.
Configuring kmod-button-hotplug.
Configuring wget-ssl.
Configuring kmod-bnx2.
Configuring ppp-mod-pppoe.
Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/li                                            bnl-tiny1_2025.03.19~c0df580a-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download libnl-tiny1. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package luci-proto-wireguard.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/packages                                            /libpthread_1.2.5-r4_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download libpthread. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package resize2fs.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/ls                                            blk_2.40.2-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download lsblk. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package lsblk.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/li                                            bncurses6_6.4-r2_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download libncurses6. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package procps-ng-watch.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/li                                            bubox20240329_2024.03.29~eb9bcb64-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download libubox20240329. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package block-mount.
 * opkg_install_pkg: Checksum or size mismatch for package libubox20240329. Either the opkg or the package                                             index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package luci-app-ddns.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/li                                            bpcap1_1.10.5-r2_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download libpcap1. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package tcpdump.
 * opkg_install_pkg: Checksum or size mismatch for package libpthread. Either the opkg or the package index                                             are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package dockerd.
 * opkg_install_pkg: Checksum or size mismatch for package libnl-tiny1. Either the opkg or the package inde                                            x are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package luci-ssl.
 * opkg_install_pkg: Checksum or size mismatch for package libncurses6. Either the opkg or the package inde                                            x are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package ipmitool.
 * opkg_install_pkg: Checksum or size mismatch for package libncurses6. Either the opkg or the package inde                                            x are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package htop.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/li                                            bsmartcols1_2.40.2-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download libsmartcols1. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package fdisk.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/packages                                            /base-files_1658~0425664679_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download base-files. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package base-files.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.                                            6.86-1-af351158cfb5febf5155a3aa53785982/kmod-amd-xgbe_6.6.86-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download kmod-amd-xgbe. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package kmod-amd-xgbe.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.                                            6.86-1-af351158cfb5febf5155a3aa53785982/kmod-pcs-xpcs_6.6.86-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download kmod-pcs-xpcs. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package kmod-dwmac-intel.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.                                            6.86-1-af351158cfb5febf5155a3aa53785982/kmod-ptp_6.6.86-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download kmod-ptp. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package kmod-e1000e.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.                                            6.86-1-af351158cfb5febf5155a3aa53785982/kmod-forcedeth_6.6.86-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download kmod-forcedeth. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package kmod-forcedeth.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.                                            6.86-1-af351158cfb5febf5155a3aa53785982/kmod-nls-iso8859-1_6.6.86-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download kmod-nls-iso8859-1. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package kmod-fs-vfat.
 * opkg_install_pkg: Checksum or size mismatch for package kmod-ptp. Either the opkg or the package index a                                            re corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package kmod-igb.
 * opkg_install_pkg: Checksum or size mismatch for package kmod-ptp. Either the opkg or the package index a                                            re corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package kmod-igc.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.                                            6.86-1-af351158cfb5febf5155a3aa53785982/kmod-ixgbe_6.6.86-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download kmod-ixgbe. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package kmod-ixgbe.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/r8                                            169-firmware_20241110-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download r8169-firmware. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package kmod-r8169.
 * opkg_install_pkg: Checksum or size mismatch for package kmod-ptp. Either the opkg or the package index a                                            re corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package kmod-tg3.
 * opkg_install_pkg: Checksum or size mismatch for package libubox20240329. Either the opkg or the package                                             index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package logd.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/mk                                            f2fs_1.16.0-r3_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download mkf2fs. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package mkf2fs.
 * opkg_install_pkg: Checksum or size mismatch for package libubox20240329. Either the opkg or the package                                             index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package mtd.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/li                                            buci20250120_2025.01.20~16ff0bad-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download libuci20250120. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package netifd.
 * opkg_install_pkg: Checksum or size mismatch for package libubox20240329. Either the opkg or the package                                             index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package odhcp6c.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/od                                            hcpd-ipv6only_2024.05.08~a2988231-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download odhcpd-ipv6only. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package odhcpd-ipv6only.
 * opkg_install_pkg: Checksum or size mismatch for package libubox20240329. Either the opkg or the package                                             index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package opkg.
 * opkg_install_pkg: Checksum or size mismatch for package libsmartcols1. Either the opkg or the package in                                            dex are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package partx-utils.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.                                            6.86-1-af351158cfb5febf5155a3aa53785982/kmod-lib-crc-ccitt_6.6.86-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download kmod-lib-crc-ccitt. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package ppp.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/pr                                            ocd-ujail_2024.12.22~42d39376-r1_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download procd-ujail. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package procd-ujail.
 * opkg_install_pkg: Checksum or size mismatch for package libuci20250120. Either the opkg or the package i                                            ndex are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package uci.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/ur                                            andom-seed_3_x86_64.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download urandom-seed. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package urandom-seed.
 * opkg_install_pkg: Checksum or size mismatch for package libubox20240329. Either the opkg or the package                                             index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package urngd.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:161: _call_image] Error 2
make: *** [Makefile:337: image] Error 2
ERROR: OpenWrt build failed()

as you can see some content is downloaded fine but not all ( i hid some lines due to comment size limit where downloading was successful). so i was wondering if asu and co rely on downloads.openwrt.org server is there any network problem, queue limit etc other then the disk issue mentioned in the other thread. as it is strange that some content can be donwloaded so it is not likely a dns problem.

what i can think of, maybe dual stack is the problem: i dont use ipv6 on wan yet it looks opkg/wget requests A and AAAA records as well, maybe trying to connect over ipv6 ... is there any way to force opkg to use ipv4 only?

but i am open to any suggestion.

there is another thread Access to sysupgrade.openwrt.org is blocked which gave me the idea to verify routes. something is fishy either with my ISP, or peer intermediate ISPs or openwrt.org's ISP or not sure, but using wan6 route has problems for sure. when i disabled wan6 it starts working.
so, no clue if openwrt server infra, ISP either end and ipv6 or whatnot caused the inconsistent downloading but it works now (via ipv4 wan).
thanks for the replies.

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