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.
Simulate the installation over SSH
On a router using apk, run the following read-only checks. In df, read Available on the writable filesystem. On SquashFS, locate the actual overlay mount. An ext4 root can have a different layout.
df -h
apk info --depends vim-full | head -4
apk add --simulate vim-full
apk list --installed vim-full

On an isolated OpenWrt 25.12.6 x86/64 guest, vim-full 9.2.1014-r1 required vim-runtime of exactly the same version. The simulation selected four packages and installed none. “33.8 MiB in 186 packages” describes the resulting package set, not the download size or extra space required. Read your own results on 25.12.2 ramips/mt7620.
What to do with the result
If apk cannot select the exact revision, check release, architecture, repository and index freshness. Keep feeds on the same release. If only space is short, try command -v vi and simulate a smaller Vim variant available from that feed. For a full build, check image limits and recovery on a spare system first. Save the old image and configuration. After installation, open a temporary file and inspect :version and :scriptnames for the features and scripts you need. Move from opkg to apk on OpenWrt 25.12
Comments