table of contents
- Tumbleweed 3.0.1-1.1
- Leap-16.0
| apk-upgrade(8) | System Manager's Manual | apk-upgrade(8) |
NAME¶
apk upgrade - upgrade installed packages
SYNOPSIS¶
apk upgrade [<options>...] [<packages>...]
DESCRIPTION¶
apk upgrade upgrades installed packages to the latest version available from 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.
If dependencies mentioned in --preupgrade-depends (see apk(8)) match an upgradabable package, a preupgrade step is performed. During the preupgrade step, the installed packages matching the preupgrade dependencies are upgraded if possible - their dependencies are enforced (but not upgraded unless required by the dependencies in the new package).
An implicit preupgrade dependency is generated for the package owning the apk executable.
OPTIONS¶
apk upgrade supports the commit options described in apk(8), as well as the following options:
--available, -a
This is useful to reset system against new set of packages after updating repositories.
--ignore
--latest, -l
--preupgrade[=BOOL]
--preupgrade-only
--prune
| 2025-12-03 |