summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-07-23 14:39:38 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-07-23 14:39:38 +0300
commit3d203e8f5f35cd5e34c3d0b80ebdcc7d8d33bee7 (patch)
treef8a421a49e402a94ee164a5894ffb9d8e97f02e3 /src/print.c
parenta0e9c909f74293354935c5d5c530812b5d705822 (diff)
downloadapk-tools-3d203e8f5f35cd5e34c3d0b80ebdcc7d8d33bee7.tar.gz
apk-tools-3d203e8f5f35cd5e34c3d0b80ebdcc7d8d33bee7.tar.bz2
apk-tools-3d203e8f5f35cd5e34c3d0b80ebdcc7d8d33bee7.tar.xz
apk-tools-3d203e8f5f35cd5e34c3d0b80ebdcc7d8d33bee7.zip
db: allow read-only operations without cache
fixes #10748
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c
index 558527e..1248995 100644
--- a/src/print.c
+++ b/src/print.c
@@ -56,6 +56,7 @@ const char *apk_error_str(int error)
case APKE_PACKAGE_NOT_FOUND: return "could not find a repo which provides this package (check repositories file and run 'apk update')";
case APKE_INDEX_STALE: return "package mentioned in index not found (try 'apk update')";
case APKE_FILE_INTEGRITY: return "file integrity error";
+ case APKE_CACHE_NOT_AVAILABLE: return "cache not available";
case APKE_UVOL: return "uvol error";
default:
return strerror(error);