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

Recently, I have 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 and wanted to test a new tool. As a Linux enthusiast and technical writer, I used to test many tools everyday.

After uninstalling Moksha desktop and Bodhi desktop, I really had some issues. Yes, some softwares 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/", line 13, in 
    from efl import ecore
ImportError: cannot open shared object file: No such file or directory

VirtualBox - Error_001

It seems the libcore package might be deleted after uninstalling Moksha desktop. I searched on the Ubuntu forums a bit and got solution.

Yes. Here it is what I did to solve this issue.

First, I installed packagekit using command:

sudo apt-get install packagekit

Then, I reinstalled the package libecore1 with command:

sudo apt-get install --reinstall libecore1

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".

Check if all extensions have been properly removed using command:

vboxmanage list extpacks

Sample result:

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.

Once you removed all extension packs, download the latest extension pack from the Oracle VirtualBox site. Go to your download and install it using command:

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.

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 extensions has been added.

Hope this tip will useful for you someday.

Is VirtualBox is not working after upgrading to Kernel 4.4.4? Check the following solution.

Thanks for stopping by. Have a good day!

You may also like...

  • Trudi Morrison-Gardiner

    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

      Glad I helped you. Keep visiting!!