Successfully updated Ubuntu 16.04 to 18.04 on Linode

Just a quick “tutorial” how I upgraded my Linode running Ubuntu 16.04 to 18.04.

  1. Make sure all updates are installed.
  2. Run: do-release-upgrade
  3. Keep all config files the way they are. Press N to all changes (default).
  4. After the install is finished, press y to restart server.
  5. Edit /etc/apt/sources.list, and uncomment the Virtualmin repositories. Then change any references of xenial in those repositories to bionic.
    Run this command, and make sure the new apt config works properly:
    apt-get update
  6. Verify DNS Config Edit /etc/resolv.conf, and verify that the nameserver line is configured to use as a nameserver.
  7. Manually edit OS version: Webmin > Webmin Configuration > Operating System and Environment - Set Operating system according to Webmin to the detected version.
  8. Run: sudo update-grub and reboot after
  9. Now, log into Virtualmin, and go into System Settings -> Re-Check Config, and verify that it doesn’t detect any problems.
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.