Skip to content

Missing dependencies in debian package #13089

Closed
@andyneff

Description

@andyneff
  • VSCode Version: 1.5.3
  • OS Version: debian jessie

Steps to Reproduce:

  1. build_deps="curl ca-certificates"
  2. apt-get update
  3. DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${build_deps}
  4. curl -L https://go.microsoft.com/fwlink/?LinkID=760868 -o /code.deb
  5. dpkg -i /code.deb
  6. DEBIAN_FRONTEND=noninteractive apt-get install -y -f --no-install-recommends
  7. DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove ${build_deps}
  8. rm -rf /var/lib/apt/lists/* /code.deb

Does not install the following libraries

libgtk-x11-2.0.so.0
libgdk-x11-2.0.so.0
libatk-1.0.so.0
libpangocairo-1.0.so.0
libcairo.so.2
libpango-1.0.so.0
libfreetype.so.6
libfontconfig.so.1
libdbus-1.so.3
libXi.so.6
libXcursor.so.1
libXdamage.so.1
libXrandr.so.2
libXcomposite.so.1
libXext.so.6
libXfixes.so.3
libXrender.so.1
libXtst.so.6
libgconf-2.so.4
libasound.so.2
libcups.so.2
libexpat.so.1

The dependencies of the .deb package are

root@2cb088d9c151:/# apt-cache show code | grep ^Depends
Depends: libnotify4, libnss3
  • Suggestion - Add a similar subset to the dependency list
libgtk2.0
libatk1.0
libpango1.0
libpangocairo-1.0
libcairo2
libfreetype6
libfontconfig1
libdbus-1-3
libxi6
libxcursor1
libxdamage1
libxrandr2
libxcomposite1
libxext6
libxfixes3
libxrender1
libxtst6
libgconf-2-4
libasound2
libcups2
libexpat1

and now

libxss1

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersinstall-updateVS Code installation and upgrade system issueslinuxIssues with VS Code on Linuxon-testplanverifiedVerification succeeded

Type

No type

Projects

Status

✔️ Done / Deferred

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions