coala / coala-atom

A coala integration plugin for Atom
https://coala.io/
GNU Affero General Public License v3.0
20 stars 23 forks source link

CircleCI: atom installation reports an error #31

Closed jayvdb closed 7 years ago

jayvdb commented 7 years ago

The CircleCI log has the following under a green heading on Ubuntu Precise.

sudo dpkg --install atom.deb || true

Selecting previously unselected package atom.
(Reading database ... 636305 files and directories currently installed.)
dpkg: dependency problems prevent configuration of atom:
 atom depends on gvfs-bin; however:
  Package gvfs-bin is not installed.
dpkg: error processing atom (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 atom

On Trusty:

sudo dpkg --install atom.deb || true

Selecting previously unselected package atom.
(Reading database ... 341963 files and directories currently installed.)
Preparing to unpack atom.deb ...
Unpacking atom (1.12.7) ...
dpkg: dependency problems prevent configuration of atom:
 atom depends on libnotify4; however:
  Package libnotify4 is not installed.
 atom depends on gvfs-bin; however:
  Package gvfs-bin is not installed.

dpkg: error processing package atom (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Errors were encountered while processing:
 atom

The build then does an apt-get install which fixes this problem by installing the missing dependencies.

It would be better to install the deps first, then atom