Skip to content
Contents
GuidesOpenWrt

Why 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.

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.

Check the repositories over SSH

Record the build and architecture. Check each index URL for download or signature errors before reading the candidates.

ubus call system board
apk --print-arch
apk update
apk policy libpcre2
apk policy snmpd-ssl snmpd-nossl

libpcre2 · snmpd

On OpenWrt 25.12.6 x86/64, base supplies libpcre2 10.47-r1 and packages supplies both snmpd variants. Never copy these URLs to the WR2100.

Restore and verify

No library candidate? Back up /etc/apk/repositories.d and compare it with the defaults for this build. Restore a missing base entry and repeat the checks. If base loaded, check the release directory. A snapshot that has moved on may require a matching image and package set.

If a candidate exists, follow “required by” and select just one compatible service variant. After installation, read uptime from the usual authorized monitor over the management LAN and check the next poll. If conflicts grow, restore the saved feeds, refresh and stop.

Stable Releases vs SNAPSHOT: How They Affect an OpenWrt Purchase

OpenWrt cgi-io needs dated libubox and libubus packages

Explore hardware

Devices mentioned

Comments