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

C++ Extension Fails To Install #89

Closed
cliffburdick opened this issue May 3, 2019 · 9 comments
Closed

C++ Extension Fails To Install #89

cliffburdick opened this issue May 3, 2019 · 9 comments
Assignees

Comments

@cliffburdick
Copy link

cliffburdick commented May 3, 2019

Hi, I tried to install the C++ extension, but it seems to fail with the following error:

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.

Edit:
This is a windows 10 client with an Ubuntu 18.04 server using the remote-ssh plugin.

@mjbvz
Copy link

mjbvz commented May 3, 2019

Can you please share information about your local machine and the remote you are trying to connect to

@mjbvz mjbvz added the info-needed Issue requires more information from poster label May 3, 2019
@cliffburdick
Copy link
Author

Hi @mjbvz, this is a Windows 10 machine running code connecting to an Ubuntu 18.04 machine. All the other plugins I've tried work well. Let me know if you need more info.

@hacqr
Copy link

hacqr commented May 5, 2019

The same error!
Local OS: Windows 10
Remote OS: Centos 7.5

@egamma
Copy link
Member

egamma commented May 6, 2019

@cliffburdick which remote are you using remote-wsl, remote-containers, remote-ssh?

@cliffburdick
Copy link
Author

@egamma this is remote-ssh.

@egamma egamma removed the info-needed Issue requires more information from poster label May 7, 2019
@egamma
Copy link
Member

egamma commented May 7, 2019

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

This hints that the extension download was corrupt, @sandy081 any idea what is going on here?

@sandy081
Copy link
Member

sandy081 commented May 7, 2019

@egamma This happens when the downloaded zip is not complete.

Its not extension installation issue. This is happening when C++ extension is downloading its run time dependencies. Its better to move to C++ extension repo and see if they know about such issues already.

@egamma
Copy link
Member

egamma commented May 7, 2019

Thanks @sandy081, moving to the c++ repo

@egamma
Copy link
Member

egamma commented May 7, 2019

Actually this looks like a dupe of microsoft/vscode-cpptools#2246

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

5 participants