Unable to install VirtualBox in Ubuntu

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Balamukunda Sahu
Posts: 2
Joined: 7. Jun 2018, 19:28
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: CentOS
Location: India
Contact:

Unable to install VirtualBox in Ubuntu

Post 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...
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Unable to install VirtualBox in Ubuntu

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply