Home FAQ 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
71 Views

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

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.

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:

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
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 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:

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
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
Edition: 
Description: USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption.
VRDE Module: VBoxVRDP
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.

Thanks for stopping by!

Help us to help you:

Have a Good day!!

You May Also Like

3 comments

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!

Reply
SK August 8, 2016 - 11:24 am

Glad I helped you. Keep visiting!!

Reply
Igor March 8, 2019 - 5:46 am

Thanks!!!

Reply

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. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More