Cannot uninstall broken package


#1

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.
_
Asif


#2

Related posts:
https://github.com/atom/status-bar/issues/143
https://github.com/atom/tree-view/issues/865
_
Asif


#3

The following worked:

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