apk fails to locate database on read-only root
That's completely understandable to refuse to do any system-modifying commands, however ANY command (even such as apk search
or apk info
) will fail with:
ERROR: Failed to open apk database: No such file or directory
contents of /lib/apk/db
:
installed
lock
scripts.tar
triggers
If I try the same commands on root mounted as rw - everything works as expected.