Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Debian package is missing dependency to libasound2 and libxkbfile1 #13591

Closed

Description

@oberlies

Prerequisites

Description

After having installed the debian package of Atom 1.13.0 on Ubuntu 16.04, atom fails to start up due to missing library files. Manually installing the packages libasound2 and libxkbfile1 fixes the problem. So these dependencies seem to be missing in the debian package.

Steps to Reproduce

  1. Get a minimal installation of Ubuntu 16.04
  2. sudo apt-get update
  3. wget https://github.com/atom/atom/releases/download/v1.13.0/atom-amd64.deb
  4. sudo apt-get install ./atom-amd64.deb
  5. atom

Expected behavior:

Atom should start up.

Actual behavior:

The following error message is printed in the console

/usr/share/atom/atom: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

After having executed sudo apt-get install libasound2, running atom results in an almost empty window with the Chrome debugging tools being shown. On the Console tab, a stack trace is shown starting with the following line:

Error: libxkbfile.so.1: cannot open shared object file: No such file or directory

After having executed sudo apt-get install libxkbfile1, atom starts up normally.

Reproduces how often:
1/1

Versions

atom --version
Atom    : 1.13.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0
apm --version
apm  1.14.1
npm  3.10.5
node 4.4.5
python 2.7.12
git 2.7.4
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:        16.04
Codename:       xenial

Activity

  1. oberlies commented on Jan 11, 2017

    @oberlies
    Author

    Screen shot of the console log error when libxkbfile1 is not yet installed:
    libxkbfile error message

  2. added
    linux
    on Jan 11, 2017
  3. EagleOne42 commented on Feb 17, 2017

    @EagleOne42

    I ran into the same issue. Same OS and fix worked.

  4. stale commented on Feb 17, 2018

    @stale

    Thanks for your contribution!

    This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:

    1. Verify that you can still reproduce the issue in the latest version of Atom
    2. Comment that the issue is still reproducible and include:
      • What version of Atom you reproduced the issue on
      • What OS and version you reproduced the issue on
      • What steps you followed to reproduce the issue

    Issues that are labeled as triaged will not be automatically marked as stale.

  5. Arcanemagus commented on Feb 17, 2018

    @Arcanemagus
    Contributor

    I'd say this should be closed as a duplicate of #16659, as that has a more complete list of the missing dependencies. For example this is missing libxss1, without which Atom completely fails to start.

  6. DanielTate commented on Feb 20, 2018

    @DanielTate

    Has this been resolved I am still getting this exact issue.

  7. Arcanemagus commented on Mar 5, 2018

    @Arcanemagus
    Contributor

    Should be fixed on master now by #16812. 😉

    @DanielTate Note that on your own system you can simply install the missing packages manually with sudo apt-get update && sudo apt-get install libx11-xcb1 libxss1 libasound2 libxkbfile1.

  8. lock commented on Sep 1, 2018

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  9. locked as resolved and limited conversation to collaborators on Sep 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    linuxneeds-reproduction

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions