How can we help?

How to update collector from Ubuntu 24.04 to 26.04

Follow
  1. Check current version lsb_release -a. Should output 24.04image-20260916-141347.png
     

  2. Update agent and any other outdated packages.

    sudo apt update sudo apt-get upgrade -o APT::Get::Always-Include-Phased-Updates=true
     

  3. When prompted, press 'Y' and ‘Enter’ to confirm the upgrade process. image-20260916-144058.png

     

  4. Proceed with OS upgrade.

    sudo DEBIAN_FRONTEND=noninteractive do-release-upgrade -d -f DistUpgradeViewNonInteractive

    The need for -d should be recorded as a current limitation of the Noble-to-Resolute test path because at the time of writing this document Resolute was not enabled in the normal LTS upgrade channel.
     

  5. If the release-upgrade tool installed is not found, install it, then repeat step #3.

    sudo apt install update-manager-core

    This will launch the upgrade to 26.04 in non interactive mode, will go through a default installation.
     

  6. Reboot the VM.
     

  7. Check for upgraded version with lsb_release -a

    image-20260916-180458.png

     

  8. Modify auvik-agent’s source. Ubuntu doesn’t automatically expect resolute versions of all it’s packages, there’s an additional step to enable further apt updates of the auvik-agent.
    These steps will point the update sources of the package to the resolute version and re-enable it:
     

    sudo sed -i 's/^# deb/deb/' /etc/apt/sources.list.d/auvik-agent.list.disabled sudo sed -i 's/noble/resolute/g' /etc/apt/sources.list.d/auvik-agent.list.disabled sudo mv /etc/apt/sources.list.d/auvik-agent.list.disabled /etc/apt/sources.list.d/auvik-agent.list sudo systemctl enable --now auvik-agent

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Auvik System Status

Check system status