Ubuntu 14.04 installing external .deb fails "Package operation Failed"

For some reason, installing external .deb files from ubuntu software center fails. The bug is reported on launchpad.

It doesn't really matter why it is not working, because the Ubuntu Software Center itself is slow and heavy.

The workaround given on launchpas is to use "dpkg -i <file.deb>" but the issue with this is that it does not resolve dependencies.

My recommendation is to use "Gdebi" as an alternative. It's extremly fast and lightweight, and it comes with a command line tool, and a GUI tool.

Once you install Gdebi (sudo apt-get install gdebi ), edit the default applications file:
sudo gedit /usr/share/gnome/applications/defaults.list

find the following lines:
application/x-deb=ubuntu-software-center.desktop
application/x-debian-package=ubuntu-software-center.desktop

and replace with
application/x-deb=gdebi.desktop
application/x-debian-package=gdebi.desktop

Comments

Popular posts from this blog

PIP - upgrade all packages from requirements.txt (interactively)

Improve font rendering for IntelliJ IDEA / Pycharm in Ubuntu