1. Check the current OS version:
lsb_release -aThe output should show version 22.04.
2. Update the agent and any other outdated packages:
sudo apt update
sudo apt upgradeWhen prompted, press 'Y' and Enter to confirm the upgrade process.
This update should rename the agent package to auvik-agent. You can verify this by running:
dpkg -l auvik-agentThe package should be listed in the output.
3. Proceed with the OS upgrade:
sudo DEBIAN_FRONTEND=noninteractive do-release-upgrade -f DistUpgradeViewNonInteractiveThis will launch the upgrade to 24.04 in non-interactive mode and proceed with the default installation.
4. Reboot the VM.
5. Verify the upgraded OS version:
lsb_release -a6. Modify auvik-agent source configuration:
Ubuntu doesn’t automatically expect noble versions of all packages, so an extra step is required to enable future APT updates for the auvik-agent.
Run the following commands:
sudo sed -i 's/jammy/noble/g' /etc/apt/sources.list.d/auvik-agent.list.distUpgrade
sudo mv /etc/apt/sources.list.d/auvik-agent.list.distUpgrade /etc/apt/sources.list.d/auvik-agent.list
sudo systemctl enable --now auvik-agent
