在子系统安装完成并配置好 ssh 后,使用 Vscode Remote 连接安装 Vscode Server 时报错,报错信息如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
> tar --version: [08:48:37.512] > tar (GNU tar) 1.34 > Copyright (C) 2021 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Written by John Gilmore and Jay Fenlason. [08:48:37.539] > /usr/bin/gzip: 1: ELF: not found > /usr/bin/gzip: 3: : not found > /usr/bin/gzip: 4: Syntax error: "(" unexpected > tar: Child returned status 2 > tar: Error is not recoverable: exiting now [08:48:37.547] > [08:48:37.604] > ERROR: tar exited with non-0 exit code: 0 > Already attempted local download, failing