2020-01-07 04:00:49 +00:00
|
|
|
apk-upgrade(8)
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
apk upgrade - upgrade installed packages
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
2020-07-15 00:16:38 +00:00
|
|
|
*apk upgrade* [<_options_>...] [<_packages_>...]
|
2020-01-07 04:00:49 +00:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
*apk upgrade* upgrades installed packages to the latest version available from
|
2020-08-24 12:26:25 +00:00
|
|
|
configured package repositories (see *apk-repositories*(5)). When no packages
|
|
|
|
are specified, all packages are upgraded if possible. If list of packages is
|
|
|
|
provided, only those packages are upgraded along with needed dependencies.
|
2020-01-07 04:00:49 +00:00
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
2020-01-25 15:43:18 +00:00
|
|
|
*apk upgrade* supports the commit options described in *apk*(8), as well as the
|
|
|
|
following options:
|
2020-01-07 04:00:49 +00:00
|
|
|
|
|
|
|
*-a, --available*
|
2020-05-04 12:24:58 +00:00
|
|
|
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.
|
2020-01-07 04:00:49 +00:00
|
|
|
|
2020-08-24 12:26:25 +00:00
|
|
|
*--ignore*
|
|
|
|
Upgrade all other packages than the ones listed. This inverts the given
|
|
|
|
package name list to mean packages that should not be upgraded.
|
|
|
|
|
2020-01-07 04:00:49 +00:00
|
|
|
*-l, --latest*
|
2020-05-04 12:24:58 +00:00
|
|
|
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.
|
2020-01-07 04:00:49 +00:00
|
|
|
|
|
|
|
*--no-self-upgrade*
|
|
|
|
Do not do an early upgrade of the 'apk-tools' package.
|
|
|
|
|
2020-09-28 14:34:01 +00:00
|
|
|
*--prune*
|
|
|
|
Prune the _world_ by removing packages which are no longer available
|
|
|
|
from any configured repository.
|
|
|
|
|
2020-01-07 04:00:49 +00:00
|
|
|
*--self-upgrade-only*
|
|
|
|
Only perform a self-upgrade of the 'apk-tools' package.
|