| 45Drives Knowledge Base |
KB450413 - Updating PetaSAN to Latest Version https://knowledgebase.45drives.com/kb/kb450413-updating-petasan-to-latest-version/ |

This article will cover how to update your PetaSAN nodes to the latest version. It may be necessary to perform this when standing up a second cluster with the intent of replicating data between the two.


cat /etc/apt/sources.list
apt update
This command gives us a list of all the packages that can be updated and prepares everything to be updated.
export DEBIAN_FRONTEND=noninteractive

Since it's likely there will be many packages that need to be updated, we'll be making this update process occur without user input.
apt -o Dpkg::Options::="--force-confdef" upgrade

apt install petasan

Make sure everything is installed with the following command
dpkg -s petasan | grep Version