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 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
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"
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
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
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Successfully installed "Oracle VM VirtualBox Extension Pack"
Check new extension pack has been installed or not using command:
$ vboxmanage list extpacks
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.