0


VSCode在2024年自动更新到1.86版本后,Remote-SSH无法使用,问题已解决

问题:

> Server did not start successfully. Full server log at /home/bingxing2/home/scx6266/.vscode-server/.05047486b6df5eb8d44b2ecd70ea3bdf775fd937.log >>>
> Warning: Missing GLIBCXX >= 3.4.25! from /usr/lib64/libstdc++.so.6.0.24
> Error: Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional information.
> <<< End of server log
> 257fa33f4d39: start
[11:51:13.795] > 
> exitCode==32==
[11:51:13.812] > listeningOn====
> osReleaseId==kylin==
> arch==aarch64==
> vscodeArch==arm64==
> bitness==64==
> tmpDir==/tmp==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> extInstallTime====
> serverStartTime==14371==
> 257fa33f4d39: end
[11:51:13.812] Received install output: 
exitCode==32==
listeningOn====
osReleaseId==kylin==
arch==aarch64==
vscodeArch==arm64==
bitness==64==
tmpDir==/tmp==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime==14371==

[11:51:13.812] Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional information.

[11:51:13.813] Resolver error: Error: Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional information.

    at m.ServerInstallError (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:584079)
    at h (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:577155)
    at t.handleInstallOutput (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:581135)
    at t.tryInstall (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:681881)
    at async c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:644110
    at async t.withShowDetailsEvent (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:647428)
    at async t.resolve (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:645160)
    at async c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:720916
[11:51:13.817] ------

[11:51:13.887] > 
[11:51:15.087] "install" terminal command done
[11:51:15.087] Install terminal quit with output: 

解决:

问题解决了。问题根源在于2024年2月2号之后,VSCode自动更新到了1.86版本,然而这个版本是有问题的,与Remote-SSH插件不兼容,导致无法启动服务。解决办法是降低一个版本,使用1.85,对应的下载链接:https://code.visualstudio.com/updates/v1_85

注意windows用户机器分x64和arm64两个版本,别下错了。

另外,建议通过设置搜索“自动更新”,把更新设置成“none”,来禁止自动更新。否则即使降低了版本暂时解决了问题,但是过一会又自动更新到了1.86,那之前的问题又回来。所以建议禁止自动更新。

亲测有效,愿大家新年快乐。

标签: vscode ssh ide

本文转载自: https://blog.csdn.net/qq_34329417/article/details/136054788
版权归原作者 SYSU_CS-FanZhiguang 所有, 如有侵权,请联系我们删除。

“VSCode在2024年自动更新到1.86版本后,Remote-SSH无法使用,问题已解决”的评论:

还没有评论