EVE PRO/LC version upgrade

EVE Professional or EVE Learning Centre update to the newest version

Steps how to upgrade your EVE-NG Professional or EVE-NG Learning centre edition to the newest version
Pre-rquisities: Internet reachability from your EVE is a must!

RED RULE: DO NOT upgrade your Ubuntu version even it is offered on CLI, EVE-NG OS version is 24.04. Upgrade to the newer Ubuntu will fail all your EVE !

EVE-NG Update/Upgrade steps

IMPORTANT NOTE: Make sure you have stopped all your running labs. All nodes in the EVE must be stopped before upgrade!

1. Free up your EVE Pro from older packages:

apt autoremove

2. make sure you have free space on EVE HDD, to check issue command. vg-root and /boot should not be in 100% or close to that.

df -h
root@eve-ng-mas:~# df -h
Filesystem                         Size  Used Avail Use% Mounted on
tmpfs                              3.2G  1.4M  3.2G   1% /run
efivarfs                           256K   48K  204K  19% /sys/firmware/efi/efivars
/dev/mapper/ubuntu--vg-ubuntu--lv  243G   37G  195G  16% /
tmpfs                               16G  292K   16G   1% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
tmpfs                               16G     0   16G   0% /run/qemu
/dev/sda2                          2.0G  417M  1.4G  23% /boot
/dev/sda1                          1.1G  6.1M  1.1G   1% /boot/efi
tmpfs                              3.2G  4.0K  3.2G   1% /run/user/0
root@eve-ng-mas:~#

3. Verify DNS, example, ping www.google.com, if success, follow step 4. If ping is not success, check your DNS IP assigned for EVE. Some of networks can be protected and disabled outgoing ping, make sure that your DNS is right and you are able reach internet and resolve names.

root@eve-ng-mas:~# ping www.google.com
PING www.google.com (142.250.74.68) 56(84) bytes of data.
64 bytes from arn09s23-in-f4.1e100.net (142.250.74.68): icmp_seq=1 ttl=115 time=30.8 ms
64 bytes from arn09s23-in-f4.1e100.net (142.250.74.68): icmp_seq=2 ttl=115 time=31.0 ms
64 bytes from arn09s23-in-f4.1e100.net (142.250.74.68): icmp_seq=3 ttl=115 time=31.1 ms
^C
--- www.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 30.822/30.967/31.050/0.102 ms
root@eve-ng-mas:~

4. Execute command

apt update

5. Execute command, when it prompt to confirm, answer “Y”

apt dist-upgrade

NOTE: Making upgrade from older EVE Pro version, installation can ask to confirm some of installation steps:

Answer for screenshot above, N