For netOrk MVP 5.
**Live check (OpenWrt 25.12.5, ap-2og, rebooted about 21 h earlier):**
- `apk version` printed only the "opening from cache … No such file" warnings and exited 0, which the old reader turned into "nothing pending".
- With this change it raises.
- `refresh_available_updates()` loaded the index ("OK: 11134 distinct packages available", 6 s), and after that the reader listed **45** pending updates.
```
$ PYTHONPATH=.:../napalm-device-types pytest -q tests
167 passed
```
ruff reports nothing new against `master`.
OpenWrt keeps its package index in RAM. After a reboot `apk version` only
warns that it cannot open its cached index and exits 0, and `opkg
list-upgradable` prints nothing: both read as "no updates". netOrk keeps
"pending since" per package (MVP 5), so the reader now raises instead:
- apk: on apk's own warning ("opening from cache ... No such file"), or a
failed exit status.
- opkg: when /var/opkg-lists is empty.
- refresh_available_updates(): apk update / opkg update, success from the
exit status.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
For netOrk MVP 5.
Live check (OpenWrt 25.12.5, ap-2og, rebooted about 21 h earlier):
apk versionprinted only the "opening from cache … No such file" warnings and exited 0, which the old reader turned into "nothing pending".refresh_available_updates()loaded the index ("OK: 11134 distinct packages available", 6 s), and after that the reader listed 45 pending updates.ruff reports nothing new against
master.OpenWrt keeps its package index in RAM. After a reboot `apk version` only warns that it cannot open its cached index and exits 0, and `opkg list-upgradable` prints nothing: both read as "no updates". netOrk keeps "pending since" per package (MVP 5), so the reader now raises instead: - apk: on apk's own warning ("opening from cache ... No such file"), or a failed exit status. - opkg: when /var/opkg-lists is empty. - refresh_available_updates(): apk update / opkg update, success from the exit status.