The same tree package worked after correcting one path. On our isolated x86/64 guest we deliberately broke the index URL, key directory and temporary storage separately. Use the symptom that matches your screen.
Which package manager and feed belong here?
Read /etc/openwrt_release first. This guest runs OpenWrt 25.12.6, x86/64, apk 3.0.5 and kernel 6.12.112. Its packages.adb indexes include one for this kernel build. On a 24.10 installation with opkg, inspect /etc/opkg/distfeeds.conf and the Packages.gz index. Record the original configuration before changing mirrors.

A DNS answer and a reachable port are separate checks
The lab resolver returned 198.51.100.10 for probe.lab.test. Separately the mirror refused port 8089 and served the same index on 8088. For a public HTTPS feed check its hostname from the router, then its real URL. If TLS fails, inspect the router clock and certificate chain before changing the repository.

curl error 60 and the server name
Connecting by IP to the guest's HTTPS service produced error 60: the name did not match and the CA was not trusted. For a repository use its published hostname, check time and trust chain, and retry the same URL. HTTP 200 on the separate internal test mirror only proves that mirror's path works.

The server answers 404 but apk says unexpected end of file
Probe the full index URL. Adding /old/ returned HTTP 404 and apk update exited with 1. Restoring the signed index at its actual path yielded 4,829 available packages in this test. Compare release, target and full filename before changing DNS. The 10.81.0.2 address in the screenshot belongs to this lab.

UNTRUSTED signature
An empty key directory reproduced the warning while the URL still worked. Retry with the firmware's original trusted keys; here openwrt-25.12.pem made the index usable. For a third-party feed obtain its signing key and verify the fingerprint independently. Keep signature checking on.

Kernel package missing from the base feed
With only the base index, apk policy kmod-dummy listed no candidate. Adding the matching kmods index made 6.12.112-r1 visible. The release, target and full kernel build suffix in the feed path matter. Our matching feed installed wireguard-tools 1.0.20260223-r1 and kmod-wireguard; the later two-client test exercised the kernel module.

OpenWrt x86/64 · kmods · 6.12.112
Which filesystem filled up?
Our 192 KiB scratch mount filled while the root filesystem still had 64.4 MiB available. curl reported write error 23. Run df -h against the download destination and the installation destination separately. A larger temporary cache helps only if the installed files also fit.

Install one known package
The guest fetched the official signed index and tree from a private mirror inside its container. apk policy listed 2.2.1-r2; apk add installed it and tree --version returned v2.2.1. Record the result from the executable as well as the solver. To undo this trial remove only the test package you added.


OpenWrt packages 25.12.6 • x86_64
Read-only checks on your router
Run these in a LAN management session. On apk compare the installed release, architecture and kernel with the full distfeeds URLs. On opkg compare the configured feeds with opkg print-architecture. Check the specific failed index with the tool reporting the error. A Not Found response concerns the requested path; a signature error after a download concerns trust. Testing either with a different URL cannot confirm the repair.
ubus call system board
uname -r
date -u
df -h / /tmp
if command -v apk >/dev/null; then
apk --print-arch
cat /etc/apk/repositories.d/distfeeds.list
else
opkg print-architecture
cat /etc/opkg/distfeeds.conf
fi
Mirrors, duplicate feeds and snapshots
Save the current feed files to your computer before editing. For a mirror test change only the host for one feed, preserve its release and subdirectories, and keep the firmware's trust keys. Disable a duplicate third-party entry while comparing the candidate version and repository. If a snapshot feed has advanced beyond the running kernel ABI, use a compatible retained build or plan a complete matching firmware upgrade with a backup. Restore the saved feed files to revert, refresh the indexes, then query the original package again.
References and media
| Type | Attachment | Source | Language | Version or date |
|---|---|---|---|---|
| Diagram | Which package manager and feed belong here? | GeeksMeta | en | 2026-11-27 |
| Document | OpenWrt apk | OpenWrt | en | — |
| Document | OpenWrt opkg | OpenWrt | en | — |
| Diagram | A DNS answer and a reachable port are separate checks | GeeksMeta | en | 2026-11-27 |
| Diagram | curl error 60 and the server name | GeeksMeta | en | 2026-11-27 |
| Document | TLS certificate verification | curl project | en | — |
| Diagram | The server answers 404 but apk says unexpected end of file | GeeksMeta | en | 2026-11-27 |
| Diagram | UNTRUSTED signature | GeeksMeta | en | 2026-11-27 |
| Diagram | Kernel package missing from the base feed | GeeksMeta | en | 2026-11-27 |
| Document | OpenWrt x86/64 · kmods · 6.12.112 | OpenWrt | en | — |
| Diagram | Which filesystem filled up? | GeeksMeta | en | 2026-11-27 |
| Diagram | Install one known package | GeeksMeta | en | 2026-11-27 |
| Diagram | LuCI package manager on the lab guest | GeeksMeta | en | 2026-11-27 |
| Document | OpenWrt packages 25.12.6 • x86_64 | OpenWrt | en | — |
| Document | tree 2.2.1-r2 · x86_64 | OpenWrt | en | — |
Comments