Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating C/C++ dependencies... #2246

Closed
hary66 opened this issue Jul 9, 2018 · 4 comments
Closed

Updating C/C++ dependencies... #2246

hary66 opened this issue Jul 9, 2018 · 4 comments

Comments

@hary66
Copy link

hary66 commented Jul 9, 2018

Type: General
Input information below

Please review existing issues and our documentation at https://github.com/Microsoft/vscode-cpptools/tree/master/Documentation prior to filing an issue.

Describe the bug

  • OS and Version:
    Linux raiselife 4.9.0-6-amd64 Code completion with C/C++ extension #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux

  • VS Code Version:
    Version: 1.25.0
    Commit: 0f080e5267e829de46638128001aeb7ca2d6d50e
    Date: 2018-07-05T13:10:37.273Z
    Electron: 1.7.12
    Chrome: 58.0.3029.110
    Node.js: 7.9.0
    V8: 5.8.283.38
    Architecture: x64

  • C/C++ Extension Version:

  • Other extensions you installed (and if the issue persists after disabling them):
    PLatformio

Updating C/C++ dependencies...

Downloading package 'C/C++ language components (Linux / x86_64)' Failed. Retrying... Failed. Retrying... Failed. Retrying...Waiting 8 seconds... Failed. Retrying...Waiting 16 seconds... Failed. Retrying... Done!
Downloading package 'ClangFormat (Linux / x86_64)' Failed. Retrying... Failed. Retrying... Failed. Retrying...Waiting 8 seconds... Failed. Retrying...Waiting 16 seconds... Failed. Retrying... Done!
Downloading package 'Mono Framework Assemblies' Failed. Retrying... Failed. Retrying... Failed. Retrying...Waiting 8 seconds... Failed. Retrying...Waiting 16 seconds... Failed. Retrying... Done!
Downloading package 'Mono Runtime (Linux / x86_64)' Failed. Retrying... Failed. Retrying... Failed. Retrying...Waiting 8 seconds... Failed. Retrying...Waiting 16 seconds... Failed. Retrying... Done!

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

If you work in an offline environment or repeatedly see this error, try downloading a version of the extension with all the dependencies pre-included from https://github.com/Microsoft/vscode-cpptools/releases, then use the "Install from VSIX" command in VS Code to install it.

How to use the command indicated "Install from VSIX" ?
I've dowloaded cpptools-linux but don't know what else to do ?

@bobbrow
Copy link
Member

bobbrow commented Jul 9, 2018

Press CTL+SHIFT+P to open the command list, then type "VSIX" to filter out the other commands

@cliffburdick
Copy link

@bobbrow is there a way to do this using the remote-ssh plugin? I had opened a ticket here:

microsoft/vscode-remote-release#89

since I ran into the same issue. I tried installing the VSIX manually using the instructions above, but I don't think this works on remote-ssh since the plugin needs to be installed remotely. I tried it anyways, and got the same error.

@bobbrow
Copy link
Member

bobbrow commented May 9, 2019

It looks like @sean-mcmanus moved your issue into #3614. I'm closing this older ticket.

@bobbrow bobbrow closed this as completed May 9, 2019
@XXXXzzzz000
Copy link

i also have this problem.
you can try :

  1. install vscode and c++ extension in the remote machine( my remote machine is virtual machine)
  2. cp ~/.vscode/extensions/ms-vscode.cpptools-0.24.0 ~/.vscode-server/extensions -raf
    now the c++ extension will work in your remote .
    so i think this error just a download error.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants