The virtualbox 4.2 series gets a new updates. Here’s how to install or upgrade it in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10 and Ubuntu 12.04.
Virtualbox 4.2.24 is a maintenance release. The following items were fixed and/or added: GUI: experimental HID LEDs synchronization for Windows and Mac OS X hosts: fixed keyboard re-synchronization if the feature is disabled (as done by default; bug #12758) GUI: experimental HID LEDs synchronization for Windows hosts, see the manual for more information GUI: make sure that a minimized guest (using mini toolbar in full screen / seamless mode) keeps the minimized state (bug #12199) AHCI: ejecting a CD/DVD medium failed under certain conditions NAT: transparent handling of host sleep/resume and network configuration changes if the dnsproxy is enabled or if the hostresolver is used (bug #12441) NAT: fixed crash and misbehaviour under some circumstances with ICMP packets having TTL=1 3D support: several fixes, multiscreen fixes (e.g. bug #9124) API: fix crashes in Java API clients using the XPCOM binding, happened with output parameters only (bug #11232) API: fixed guest misbehavior under certain conditions if a storage medium was attached or removed at VM runtime VBoxSVC: documented the handling of host power management events (see the manual for more information) and added an extradata item for configuring the handling of the battery-low event (bug #9925) VBoxSVC: fixed a bug which could trigger a crash if a VM snapshot was restored the second time and the VM has associated bandwidth groups (bug#12569) VBoxSVC: fix segmentation fault on Linux hosts if a very long path exists under /dev (bug #12760) Mac OS X hosts: fixed issue when the application icon was frozen in the dock if the bridging interface was not connected to a network (bug #12241) Linux hosts / guests: don’t warn in kernel log if memory allocation fails (bug #11171) Windows hosts / guests: fixed setting and using a guest user’s process environment variables (relevant for Guest Control) Solaris hosts: fixed autostart SMF script (bug #11720) Windows Additions: several bugfixes for the credential provider auto-logon module Linux / Solaris Additions: don’t automount a shared folder which is already mounted
Method 1: directly download and install the deb package from the official page
Method 2: You can also install virtualbox from its repository and receive updates by running the commands below one by one:
Press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run the commands below one by one:
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-4.2
The first command will add the virtualbox repository to your system, and the second will download and import the key. After that, you’re able to install or upgrade to virtualbox-4.2 via your package manager or via the last 2 commands.