Updating Proxmox through the CLI
In this section, we will see how to update a Proxmox node through the command line.
How to do it…
The following steps are used to upgrade only installed packages through the command line:
Log in to the Proxmox node through SSH or directly from the console.
Run the following command to update packages:
# apt-get update && apt-get upgrade
No reboot is necessary for this upgrade.
The following steps will update a node entirely by using the command line:
Log in to the Proxmox node through SSH or directly from the console.
Run the following command to update packages and upgrade the node:
# apt-get update && apt-get dist-upgrade
Reboot the node if necessary. Usually, when there is a kernel update or an update for important dependencies that are related to other major components of an operating system, it becomes necessary to reboot the node.