Cannot uninstall broken package


OS: Ubuntu 16.04

Uninstalled atom via dpkg.
Reinstalled latest atom-amd64.deb.
Got package activation error for the following packages:

  • status-bar
  • tree-view
  • platformio-ide

Apparently there is no way to uninstall these packages.
So I deleted ~/.atom and restarted atom.
I still get package activation failure for status-bar and tree-view packages.


Related posts:


The following worked:

apt-get purge atom
/bin/rm -rf ~/.atom
sudo dpkg --install atom-amd64.deb
/usr/bin/atom &