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 missing dependencies #16659

Closed

Description

@olafdietsche

Prerequisites

Description

I downloaded the Debian package from atom.io and installed the package inside a Docker container with Ubuntu 16.04.
Prior to dpkg -i atom-amd64.deb, I installed the dependencies via apt-get.
When I tried running Atom, it failed with an error message about missing libX11-xcb.so.1.

The full list of missing packages is:

  • libx11-xcb1
  • libxss1
  • libasound2
  • libxkbfile1

Since I started with a minimal Ubuntu, there might be more missing dependencies.

The full working Dockerfile:

FROM local/ubuntu-minbase:xenial

ARG DEBIAN_FRONTEND=noninteractive
ARG install_recommends=--no-install-recommends
ARG packages="\
git \
gconf2 \
gconf-service \
libgtk2.0-0 \
libnotify4 \
libxtst6 \
libnss3 \
python \
gvfs-bin \
xdg-utils \
"
ARG missing_deps="\
libx11-xcb1 \
libxss1 \
libasound2 \
libxkbfile1 \
"

RUN apt-get update && \
    apt-get install -y ${install_recommends} \
        ${packages} ${missing_deps} && \
    rm -rf /var/lib/apt/lists/*

COPY atom_1.23.3_amd64.deb /tmp/
RUN dpkg -i /tmp/atom_1.23.3_amd64.deb
RUN rm -f /tmp/atom_1.23.3_amd64.deb

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: I expect the atom-amd64.deb package to list all dependencies.

Actual behavior: At least four packages are missing:

  • libx11-xcb1
  • libxss1
  • libasound2
  • libxkbfile1

Reproduces how often: 100%

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

$ atom --version
Atom : 1.23.3
Electron: 1.6.15
Chrome : 56.0.2924.87
Node : 7.4.0

$ apm --version
apm 1.18.12
npm 3.10.10
node 6.9.5 x64
atom 1.23.3
python 2.7.12
git 2.7.4

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Activity

  1. added
    linux
    on Feb 1, 2018
  2. Arcanemagus commented on Mar 5, 2018

    @Arcanemagus
    Contributor

    Should be fixed on master now by #16812. 😉

  3. 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!

  4. 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

    buginstallerlinux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions