This is an example snip from lastline_test_appliance:
2024-07-17 21:20:13,418: output: > SOFTWARE:
2024-07-17 21:20:13,418: output: > WARNING: Unapproved packages installed: linux-headers-5.4.0-170-generic (current=5.4.0-170.188~18.04.1, approved-version=not-installed), linux-image-5.4.0-170-generic (current=5.4.0-170.188~18.04.1, approved-version=not-installed), linux-modules-5.4.0-170-generic (current=5.4.0-170.188~18.04.1, approved-version=not-installed), linux-modules-extra-5.4.0-170-generic (current=5.4.0-170.188~18.04.1, approved-version=not-installed)
2024-07-17 21:20:13,418: output: Exiting with error-code 2
2024-07-17 21:20:13,487: output:
2024-07-17 21:20:13,487: Running lastline_test_appliance: return code: 2
System is running on older kernel and has not been rebooted since a newer kernel is installed.
Please raise a support request to validate this before running below command ;
Steps to follow:
--> remove_old_kernels.sh
This script will help in removing the older kernel version from the appliance. After running the script you can proceed with the upgrade if you are in the middle of the upgrade.