Guides
OpenWrt installation and firmware guides · apk
Identify the hardware revision before choosing firmware. For installation and recovery, follow the branch for your computer and the mode the device enters.
Before you choose
Source linkedOpenWrt apk reports “Unable to lock database”: find the unfinished installation
After the LuCI progress indicator disappears, apk update over SSH may still report Resource temporarily unavailable. When installing ddns-scripts on an Archer C7 v2 running 25.12.2, check whether the installer or a post-install script is still running. The existence of a lock file does not identify its owner.
Read guide 02Source linkedWhy apk replaces jq with jq-full on OpenWrt. Understanding virtual providers
The APK virtual dependency allows different packages to provide the same functionality. When installing jq-full, it will replace jq; the replacement plan shall be based on the simulation transaction plan.
Read guide 03Source linkedapk reports I/O error for a SourceForge repository. Check the libuclient backend
The repository returns an I/O error, which may occur during name resolution, connection, redirection, or certificate verification. First, identify the actual failed URL and network path.
Read guide 04Source linkedStable Releases vs SNAPSHOT: How They Affect an OpenWrt Purchase
Official support does not mean an exact device has an image in every stable release. SNAPSHOT may support newer hardware while introducing different package, update and troubleshooting requirements. Check release availability before purchasing, and match the maintenance effort to the network's role rather than treating either label as a universal quality guarantee.
Read guide 05Source linkedOpenWrt DDNS reports a missing ip dependency: check ip-tiny and ip-full
Verify the virtual dependencies, update script, and authoritative records for the test domain before making any changes to the routing tool, and confirm exactly what is missing.
Read guide 06Source linkedOpenWrt upgrade: diagnose a stalled ddns-scripts installation without losing your settings
After restoring settings from 24.10.1 on 25.12.2, installation of ddns-scripts 2.8.2-r90 can stall in the post-install script. Note the last line. A ddns.apk-new message identifies a candidate configuration. Check the running transaction and the installed service files separately.
Read guide 07Source linkedDoes your OpenWrt dnsmasq package include a specific security fix?
Compare three fixed release tags with the installed dnsmasq package and binary to check whether your image includes a particular fix.
Read guide 08Source linkedOpenWrt fish removal reports a post-deinstall error: check login and package state
Keep the current SSH session open if removal reports post-deinstall and exit status 127. Record the package version, target architecture and script name from the error. Check new logins, the package database and possible leftover files separately.
Read guide 09Source linkedOpenWrt cannot find libncursesw6 for gawk: check which package provides it
Locate issues with index, interface, or the program itself by comparing LuCI dependency warnings, APK provider information, and gawk execution results.
Read guide 10Source linkedOpenWrt ImageBuilder rejects packages/packages.adb. Is the path or the index wrong?
On an x86/64 snapshot using apk, start with the first warning that names a repository file and line. A later missing package may simply mean apk skipped the local index.
Read guide 11Source linkedFirmware Selector fails on packages.adb even with the default ipq807x package list
When a Dynalink DL-WRX36 or Xiaomi AX3600 build reports many missing packages, locate the first index download error before removing anything from the requested image.
Read guide 12Source linkedOpenWrt jq-full cannot load libonig.so.5: check the symlink target
If apk lists oniguruma5 as installed but the loader cannot open libonig.so.5, verify the file the symlink points to. A package record alone does not prove the target exists. Copy the exact library name from the error before checking the following.
Read guide 13Source linkedWhy LuCI downloads about 11.85 MB of package lists again after a single update
After a single-package update, if large traffic reappears, it might be downloading software index instead of reinstalling the same package. The requested URL, the triggering entity, and the transfer size can distinguish between the two.
Read guide 14Source linkedWhere are LuCI page files in OpenWrt 25.12? Trace a view to its package
Finding /www/cgi-bin/luci gets you to the request handler. To find the code that displays uptime, start with the file your browser loads and ask apk which package installed it.
Read guide 15Source linkedOpenSSH settings missing from an OpenWrt backup? Check sshd and PAM files
The upgrade backup includes sshd configuration, but does not guarantee that PAM rules or the referenced access control files are also bundled. First, list all components involved, then verify a complete login flow.
Read guide 16Source linkedMove from opkg to apk on OpenWrt 25.12
First read ubus call system board to check the actual package manager version.
Read guide 17Source linkedWhy does OpenWrt contact repositories for a local apk? Install offline with a signed index
A local file supplies one package. apk can still consult repositories for dependencies and trust information. Point this transaction at a local index and request the package by name.
Read guide 18Source linkedOpenWrt apk says “breaks: world”. Where did the requested version come from?
Read the failing command alongside /etc/apk/world. A version in the error can come from the current request. Check before editing persistent constraints.
Read guide 19Source linkedCan OpenWrt install aria2 with only 2 MB free?
Check which libraries are missing. In our OpenWrt 25.12.6 x86/64 VM, aria2 alone listed 1374 KiB. All six proposed additions came to about 9.6 MiB. With just 2 MiB writable, skip this combination. Your router may already have some libraries.
Read guide 20Source linkedOpenWrt cgi-io needs dated libubox and libubus packages
Keep the date suffix in each dependency name. An installed library with another date may expose a different ABI.
Read guide 21Source linkedOpenWrt 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.
Read guide 22Source linkedWhich rclone version is available on OpenWrt 25.12, and which one runs your job?
An upstream release, the OpenWrt build recipe, a package offered to your router and the binary used by a scheduled job can all have different versions. Start with the service that actually performs the transfer.
Read guide 23Source linkedWhy does OpenWrt find snmpd but miss libpcre2?
On a Cudy WR2100 running a ramips/mt7621 snapshot, libnetsnmp-nossl may require libpcre2. Even a large package count after apk update says nothing about which index supplied that library.
Read guide 24Source linkedOpenWrt is short of space for vim-full. Can you leave out vim-runtime?
Start with the solver's actual error. A missing runtime of the required version calls for a repository check. A valid transaction that will not fit calls for a storage decision. The OpenWrt 25.12 package requires a matching vim-runtime version and package revision.
Read guide