Skip to content

C/C++ extensions fail to install #694

@egamma

Description

@egamma

From @csteres-cpi on May 5, 2017 1:14

  • VSCode Version:

Version 1.12.1
Commit f6868fce3eeb16663840eb82123369dec6077a9b
Date 2017-05-04T21:21:43.120Z
Shell 1.6.6
Renderer 56.0.2924.87
Node 7.4.0

Steps to Reproduce:

  1. Installed fresh copy of VScode using .deb package
  2. Installed C/C++ extensions 0.11.0; restart vscode
  3. When VScode starts up it tries to update dependencies; sometimes if fails during downloadPackages (varies as to which package it fails on:

Updating C/C++ dependencies...

Downloading package 'C/C++ language components (Linux)' (6972 KB) .................... Done!
Downloading package 'ClangFormat (Linux)' (731 KB) .................... Done!
Downloading package 'Mono Framework Assemblies' (4751 KB) ....................Failed at stage: downloadPackages
Error: read ECONNRESET
at exports._errnoException (util.js:1022:11)
at TLSWrap.onread (net.js:572:26)

Finished

3b: sometimes it manages to download all four package dependencies but fails on the install of one of them, for example:

Updating C/C++ dependencies...

Downloading package 'C/C++ language components (Linux)' (6972 KB) .................... Done!
Downloading package 'ClangFormat (Linux)' (731 KB) .................... Done!
Downloading package 'Mono Framework Assemblies' (4751 KB) .................... Done!
Downloading package 'Mono Runtime (Linux / x86)' (1420 KB) .................... Done!

Installing package 'C/C++ language components (Linux)'
Installing package 'ClangFormat (Linux)'
Installing package 'Mono Framework Assemblies'
Failed at stage: installPackages
Error: end of central directory record signature not found

Finished

  1. In addition to this, the C/Cpp Language Server output shows errors:

[6:11:53 PM] Connection to server is erroring. Shutting down server.
[6:11:53 PM] Connection to server is erroring. Shutting down server.
[6:11:53 PM] Connection to server is erroring. Shutting down server.

Copied from original issue: microsoft/vscode#25960

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions