Reference KB : https://linuxconfig.org/how-to-upgrade-ubuntu-to-22-04-lts-jammy-jellyfish
Step 1 : First, make sure your current Ubuntu Linux system is up to date. This will help to ensure that the difference between packages is as small as possible.
Step 2 : When that finishes, run the Ubuntu upgrade utility.