summaryrefslogtreecommitdiff
path: root/doc/apk-cache.8.scd
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-01-07 20:19:21 -0500
committerTimo Teräs <timo.teras@iki.fi>2020-01-26 09:01:26 +0200
commit0f2740f067c5bc3ecc0921034d80742ba31eff4e (patch)
tree3255d420878425bf6f46e0f80dfe9a82b044015a /doc/apk-cache.8.scd
parent77ab319958b00e0f972482286704185487577d25 (diff)
downloadapk-tools-0f2740f067c5bc3ecc0921034d80742ba31eff4e.tar.gz
apk-tools-0f2740f067c5bc3ecc0921034d80742ba31eff4e.tar.bz2
apk-tools-0f2740f067c5bc3ecc0921034d80742ba31eff4e.tar.xz
apk-tools-0f2740f067c5bc3ecc0921034d80742ba31eff4e.zip
add apk-cache(8)
Diffstat (limited to 'doc/apk-cache.8.scd')
-rw-r--r--doc/apk-cache.8.scd41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/apk-cache.8.scd b/doc/apk-cache.8.scd
new file mode 100644
index 0000000..2ae6558
--- /dev/null
+++ b/doc/apk-cache.8.scd
@@ -0,0 +1,41 @@
+apk-cache(8)
+
+# NAME
+
+apk cache - manage a local cache of package files
+
+# SYNOPSIS
+
+*apk cache* [<_options_>...] clean
+
+*apk cache* [<_options_>...] download
+
+*apk cache* [<_options_>...] sync
+
+# DESCRIPTION
+
+*apk cache download* will fetch package files from the repositories and store
+them in the cache, which must be enabled upfront (see *apk-cache*(5)).
+
+*apk cache clean* will remove package files which are no longer necessary,
+having been made obsolete by new versions or no longer being transitively
+depended on by packages in _world_.
+
+*apk cache sync* performs both operations.
+
+# OPTIONS
+
+*-l, --latest*
+ Disables normal heuristics for choosing which repository to install a
+ package from, preferring only repositories from which the latest
+ version is available. This has no effect on pinned packages.
+
+*-u, --upgrade*
+ When caching packages which are already installed, prefer their upgrades
+ rather than considering the requirement fulfilled by the current
+ installation.
+
+# AUTHORS
+
+Natanael Copa <ncopa@alpinelinux.org>++
+Timo Teräs <_timo.teras@iki.fi_>