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
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:
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% 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:
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% 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
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.
4 comments
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!
Glad I helped you. Keep visiting!!
Thanks!!!
Beautiful, saved my day!