summaryrefslogtreecommitdiff
path: root/doc/apk-upgrade.8.scd
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-05-04 15:24:58 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-05-06 13:05:25 +0300
commit791f93fcbe7a543e0bb844887ba395be8ed8ea44 (patch)
treea507ab39c1832769433a4e8e4b036643c191878f /doc/apk-upgrade.8.scd
parent5258b484bf13441d3d5c199e3c8d70cf2a75b3ca (diff)
downloadapk-tools-791f93fcbe7a543e0bb844887ba395be8ed8ea44.tar.gz
apk-tools-791f93fcbe7a543e0bb844887ba395be8ed8ea44.tar.bz2
apk-tools-791f93fcbe7a543e0bb844887ba395be8ed8ea44.tar.xz
apk-tools-791f93fcbe7a543e0bb844887ba395be8ed8ea44.zip
man pages: make more friendly for help generation
Also few minor fixups added.
Diffstat (limited to 'doc/apk-upgrade.8.scd')
-rw-r--r--doc/apk-upgrade.8.scd17
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/apk-upgrade.8.scd b/doc/apk-upgrade.8.scd
index 49b9cb0..8825dc5 100644
--- a/doc/apk-upgrade.8.scd
+++ b/doc/apk-upgrade.8.scd
@@ -19,14 +19,19 @@ configured package repositories (see *apk-repositories*(5)).
following options:
*-a, --available*
- Resets version constraints in _world_ (see *apk-world*(5)) and prefers
- replacing or downgrading packages if the currently installed package is
- no longer available from any repository (instead of holding them).
+ Reset all packages to versions available from current repositories.
+ This resets all versioned dependencies in _world_ (see *apk-world*(5)).
+ Additionally, packages are selected from active repositories if possible
+ even if it means replacing or downgrading the package.
+
+ This is useful to reset system against new set of packages after updating
+ repositories.
*-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.
+ Always choose the latest package by version. However, the versions
+ considered are based on the package pinning. Primarily this overrides
+ the default heuristic and will cause an error to displayed if all
+ dependencies cannot be satisfied.
*--no-self-upgrade*
Do not do an early upgrade of the 'apk-tools' package.