Draft: db: skip cache automatically when permission to update is missing
This improves usability when a non-root user wants to use apk and the cache doesn't exist.
Not sure if always ignoring EACCES
is a good idea though.
Fixes abuild#10136
Edited by Sertonix