Page 1 of 1

Automatically Upgrading Major VirtualBox Versions on Ubuntu

Posted: 20. Feb 2020, 19:39
by Scapulomancy
I have VirtuaBox installed on Ubuntu 18.04. Upgrading to a minor version (ex. VirtualBox 6.1.2 to VirtualBox 6.1.3) is as easy as running a

Code: Select all

sudo apt-get update
command. However, when a major revision is released (ex. VirtualBox 6.0 to VirtualBox 6.1), I have to manually uninstall the old version of VirtualBox and install the new one since the package names are different (ex. virtualbox-6.0, virtualbox-6.1, etc.).

The next time there's a major version release (ex. VirtualBox 6.2), I'd like the upgrade to happen automatically. Is there a way to do this?

Thanks in advance to the community for their help!