Error when install Atom on Ubuntu 14.04


#1

I download latest version of Atom then install using sudo dpkg -i atom-amd64.deb.
Then I get error:

(Reading database ... 602594 files and directories currently installed.)
Preparing to unpack atom-amd64.deb ...
Unpacking atom (1.0.0) ...
dpkg: error processing archive atom-amd64.deb (--install):
 trying to overwrite '/usr/bin/apm', which is also in package apmd 3.2.2-14build1
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Errors were encountered while processing:
 atom-amd64.deb

Then I remove apmd:

 sudo apt-get purge apmd 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  apmd*
0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
After this operation, 205 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 602591 files and directories currently installed.)
Removing apmd (3.2.2-14build1) ...
Purging configuration files for apmd (3.2.2-14build1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...

Final I install Atom, it run. But how about apmd is Advanced Power Management (APM) daemon is a default application. What any problem if I remove it ?


#2

I don’t think “apmd” has anything to do with Atom.
Atom uses apm for its own package management (and it’s not a standalone application you should try and remove on its own either, it’s part of Atom), so there should not be any overlap.


#3

You can read the history of this here:

The general consensus seems to be that you won’t have any issues uninstalling it.


#4

I just remove ampd before install atom . All thing good no have any problem.