Skip to content

Knowledge Base

Updating Alpine, Debian, Ubuntu, and AlmaLinux safely

Read the proposed transaction before confirming it, especially on a production server. Take an application-aware backup before major upgrades.

Debian and Ubuntu

apt update
apt list --upgradable
apt upgrade

AlmaLinux

dnf check-update
dnf upgrade

Alpine Linux

apk update
apk upgrade

A non-zero result from dnf check-update can simply mean updates are available. Do not replace distribution repositories with unrelated mirrors to work around a transient error. After kernel or core-library updates, use the distribution’s reboot guidance and verify services, listening ports, and application health.

Please rate this article to help us improve our Knowledge Base.

0 0