Page 1 of 1

Unable to install VirtualBox in Ubuntu

Posted: 7. Jun 2018, 20:10
by Balamukunda Sahu
Hi,

I am getting below error while installing Virtualbox in Ubuntu.

Code: Select all

sudo apt-get install virtualbox
 Reading package lists... Done
 Building dependency tree       
Reading state information... Done
virtualbox is already the newest version (5.2.12-dfsg-2).
The following packages were automatically installed and are no longer     required:
  libudev1:i386 linux-image-4.4.0-53-generic
 linux-image-extra-4.4.0-53-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up virtualbox-ext-pack (5.2.12) ...
virtualbox-ext-pack: downloading
The file will be downloaded into /usr/share/virtualbox-ext-pack
Hash mismatch Oracle_VM_VirtualBox_Extension_Pack-5.2.12.vbox-extpack
dpkg: error processing package virtualbox-ext-pack (--configure):
 subprocess installed post-installation script returned error exit      status 1
Errors were encountered while processing:
 virtualbox-ext-pack
E: Sub-process /usr/bin/dpkg returned an error code (1)
I also tries the below command..

Code: Select all

$ sudo dpkg --configure -a
But still it's not working.

Please suggest any solution...

Re: Unable to install VirtualBox in Ubuntu

Posted: 8. Jun 2018, 08:39
by socratis
Balamukunda Sahu wrote:Please suggest any solution...
https://www.virtualbox.org/wiki/Linux_Downloads
Did you try that? No apt-get, no nothing. Uninstall all VirtualBox related apps and libs, and download the official version.