当前位置:   article > 正文

VSCode在2024年自动更新到1.86版本后,Remote-SSH无法使用,问题已解决_missing required dependencies. please refer to our

missing required dependencies. please refer to our faq

问题:

  1. > Server did not start successfully. Full server log at /home/bingxing2/home/scx6266/.vscode-server/.05047486b6df5eb8d44b2ecd70ea3bdf775fd937.log >>>
  2. > Warning: Missing GLIBCXX >= 3.4.25! from /usr/lib64/libstdc++.so.6.0.24
  3. > Error: Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional information.
  4. > <<< End of server log
  5. > 257fa33f4d39: start
  6. [11:51:13.795] >
  7. > exitCode==32==
  8. [11:51:13.812] > listeningOn====
  9. > osReleaseId==kylin==
  10. > arch==aarch64==
  11. > vscodeArch==arm64==
  12. > bitness==64==
  13. > tmpDir==/tmp==
  14. > platform==linux==
  15. > unpackResult====
  16. > didLocalDownload==0==
  17. > downloadTime====
  18. > installTime====
  19. > extInstallTime====
  20. > serverStartTime==14371==
  21. > 257fa33f4d39: end
  22. [11:51:13.812] Received install output:
  23. exitCode==32==
  24. listeningOn====
  25. osReleaseId==kylin==
  26. arch==aarch64==
  27. vscodeArch==arm64==
  28. bitness==64==
  29. tmpDir==/tmp==
  30. platform==linux==
  31. unpackResult====
  32. didLocalDownload==0==
  33. downloadTime====
  34. installTime====
  35. extInstallTime====
  36. serverStartTime==14371==
  37. [11:51:13.812] Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional information.
  38. [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.
  39. at m.ServerInstallError (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:584079)
  40. at h (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:577155)
  41. at t.handleInstallOutput (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:581135)
  42. at t.tryInstall (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:681881)
  43. at async c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:644110
  44. at async t.withShowDetailsEvent (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:647428)
  45. at async t.resolve (c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:645160)
  46. at async c:\Users\29868\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:720916
  47. [11:51:13.817] ------
  48. [11:51:13.887] >
  49. [11:51:15.087] "install" terminal command done
  50. [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,那之前的问题又回来。所以建议禁止自动更新。


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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/180381
推荐阅读
相关标签
  

闽ICP备14008679号