Home Oracle VirtualBox How to Fix ‘Failed to install the Extension pack’ error in Ubuntu

How to Fix ‘Failed to install the Extension pack’ error in Ubuntu

By sk
Published: Last Updated on 2.9K views

This short tutorial explains how to fix 'Failed to install the Extension pack' error in Ubuntu Linux operating system.

Recently, I tested Bodhi Linux's default desktop environment "Moksha desktop". The Bodhi Linux developer has replaced Enlightenment desktop, which is default DE of Bodhi previous versions, with Moksha desktop due to lack of support and issues. Moksha DE is the fork Enlightenment desktop that has added features and bug fixes.

For more details about Moksha desktop, please refer the following link.

After playing with Moksha desktop for a couple of days, I uninstalled it. After uninstalling Moksha desktop and Bodhi desktop, I had many issues. Some software are not working after uninstall the Moksha desktop. Even, I can't update VirtualBox Extension packs to the latest version. Whenever I tried to update the Extension Pack, I got the following error:

The installer failed with exit code 1: Traceback (most recent call last):
  File "/usr/bin/gksudo", line 5, in 
    import esudo.esudo as esudo
  File "/usr/lib/python2.7/dist-packages/esudo/esudo.py", line 13, in 
    from efl import ecore
ImportError: libecore.so.1: cannot open shared object file: No such file or directory
Failed to install th Extension pack error in Ubuntu Linux
Failed to install th Extension pack error in Ubuntu Linux

It seems the libcore package might be deleted after uninstalling Moksha desktop. I searched on the Ubuntu forums and found a workaround to fix this problem.

Fix 'Failed to install the Extension pack' error in Ubuntu

1. First, install packagekit using command:

$ sudo apt-get install packagekit

2. Then, I reinstall the package libecore1 with command:

$ sudo apt-get install --reinstall libecore1

3. Now, remove the VirtualBox extensions using command:

$ sudo vboxmanage extpack uninstall "Oracle VM VirtualBox Extension Pack"

Sample output:

Successfully uninstalled "Oracle VM VirtualBox Extension Pack".

4. Check if all extensions have been properly removed using command:

$ vboxmanage list extpacks

Sample output:

Extension Packs: 0

Please note that you have to run the command sudo vboxmanage extpack uninstall until you got the "Extension packs" result as 0.

5. Once you removed all extension packs, download the latest extension pack from the Oracle VirtualBox site. Go to the location where you've downloaded the Extension pack and install it using commands:

$ cd Downloads/
$ sudo vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.4-102546.vbox-extpack

Sample output:

Successfully installed "Oracle VM VirtualBox Extension Pack"

That's it.

6. Check new extension pack has been installed or not using command:

$ vboxmanage list extpacks

Sample output:

Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 5.0.4
Revision: 102546
Description: USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption.
Usable: true 
Why unusable:

As you see in the above output, the latest version VirtualBox extension has been added.

Hope this tip will useful for you someday.

Is VirtualBox not working after upgrading to Kernel 4.4.4? Check the following link to fix it.

You May Also Like


Trudi Morrison-Gardiner August 8, 2016 - 6:25 am

SK, thank you! I now have the modules loaded in kernel 4.4 (Linux Mint 17.3 x86-64) and all working again. Great work!

SK August 8, 2016 - 11:24 am

Glad I helped you. Keep visiting!!

Igor March 8, 2019 - 5:46 am


Zel August 2, 2022 - 11:55 pm

Beautiful, saved my day!


Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More