To see what package updates are available on an Alpine Linux system, you can use the apk
command and the update
option.
For example, to check for available updates, you can use the following command:
ret refo:lautturi.comapk update
This will check the package repositories for updates and display a list of available updates.
To view more detailed information about the available updates, you can use the -u
option. For example:
apk update -u
This will display a list of available updates, along with the current version and the version that will be installed after the update.
You can also use the apk version
command to list the available updates. For example:
apk version -u
This will display a list of available updates, along with the current version and the version that will be installed after the update.
Note that these commands only check for updates to installed packages. To see all available packages, including those that are not currently installed, you can use the apk search
command. For example:
apk search --update
This will search the package repositories for available packages and display a list of packages that have updates available.