Install VirtualBox 5.1.14 on Ubuntu 16.10, Ubuntu 16.04 and other Ubuntu Derivatives. Virtualbox 5.1.14 for Linux is released with Linux Kernel 4.10 fixes for Linux Hosts and it allows cloning of snapshots when the VM is running.
VirtualBox 5.1.14 (released 2017-01-17) is a maintenance release. The following items were fixed and/or added:
- VMM: fixed emulation of certain instructions for 64-bit guests on 32-bit hosts
- VMM: properly handle certain MSRs for 64-bit guests on ancient CPUs without VT-x support for MSR bitmaps (bug #13886)
- GUI: fixed a crash with multimonitor setups under certain conditions
- GUI: allow cloning of snapshots when the VM is running
- NVMe: fixed compatibility with the Storage Performance Development Kit (SPDK, bug #16368)
- VBoxSVC: fixed a crash under rare circumstances
- VBoxManage: added a sanity check to modifymedium –resize to prevent users from resizing their hard disk from 1GB to 1PB (bug #16311)
- Windows hosts: another fix for recent Windows 10 hosts
- Linux hosts: Linux 4.10 fixes
- Linux Additions: fixed protocol error during certain operations on shared folders (bug #8463)
Install VirtualBox 5.1.14 for Linux
Run the following commands to ass the following line to your /etc/apt/sources.list:
sudo apt-get update
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'
According to your distribution, replace ‘xenial’ by ‘vivid’, ‘utopic’, ‘trusty’, ‘raring’, ‘quantal’, ‘precise’, ‘lucid’, ‘jessie’, ‘wheezy’, or ‘squeeze’. Please note that up to version 3.2 the packages were located in the non-free section. Starting with version 4.0 they are located in the contrib section.
Now run these commands:
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-5.1
Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules are properly updated if the linux kernel version changes during the next apt-get upgrade. The dkms package can be installed through the following command:
sudo apt-get install dkms
Experiencing “The following signatures were invalid: BADSIG …” error. Run the commands given below to fix this error when refreshing the packages from the repository:
# sudo -s -H
# apt-get clean
# rm /var/lib/apt/lists/*
# rm /var/lib/apt/lists/partial/*
# apt-get clean
# apt-get update
Note: The package architecture has to match the Linux kernel architecture, that is, if you are running a 64-bit kernel, install the appropriate AMD64 package. To install VirtualBox anyway you need to setup a 64-bit chroot environment.