当前位置: 首页 > wzjs >正文

企业网站建设变相收取等级保护费电商网站建设精英

企业网站建设变相收取等级保护费,电商网站建设精英,注册百度账号免费,在线建站记录vscode连接不上wsl子系统下ubuntu18.04问题解决方法 报错内容尝试第一次解决方法尝试第二次解决方法注意事项参考连接 报错内容 Unable to download server on client side: Error: Request downloadRequest failed unexpectedly without providing any details… Will tr…

记录vscode连接不上wsl子系统下ubuntu18.04问题解决方法

    • 报错内容
    • 尝试第一次解决方法
    • 尝试第二次解决方法
    • 注意事项
    • 参考连接

报错内容

Unable to download server on client side: Error: Request downloadRequest failed unexpectedly without providing any details… Will try to download on WSL side. vscode
–2025-04-07 16:33:04-- https://update.code.visualstudio.com/commit:4437686ffebaf200fa4a6e6e67f735f3edf24ada/server-linux-legacy-x64/stable
[2025-04-07 08:33:05.151] Resolving update.code.visualstudio.com (update.code.visualstudio.com)… 13.107.246.50, 2620:1ec:bdf::50
[2025-04-07 08:33:05.151] Connecting to update.code.visualstudio.com (update.code.visualstudio.com)|13.107.246.50|:443… connected.
[2025-04-07 08:33:05.436] HTTP request sent, awaiting response… 404 Not Found
[2025-04-07 08:33:05.436] 2025-04-07 16:33:05 ERROR 404: Not Found.
[2025-04-07 08:33:05.436]
[2025-04-07 08:33:05.436] ERROR: Failed to download https://update.code.visualstudio.com/commit:4437686ffebaf200fa4a6e6e67f735f3edf24ada/server-linux-legacy-x64/stable to /home/zl/.vscode-server/bin/4437686ffebaf200fa4a6e6e67f735f3edf24ada-1744014784.tar.gz

尝试第一次解决方法

  1. 升级wsl 未能解决
  2. 回退vscode版本 未能解决
  3. 重启计算机 未能解决
  4. 删除服务器目录并重新连接
rm -rf ~/.vscode-server

此步解决了上面的报错,又出现新的报错,如下:
/home/zl/.vscode-server/bin/4437686ffebaf200fa4a6e6e67f735f3edf24ada/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28’ not found (required by /home/zl/.vscode-server/bin/4437686ffebaf200fa4a6e6e67f735f3edf24ada/node)

尝试第二次解决方法

mkdir ~/src
cd ~/srcwget 'https://ftp.gnu.org/gnu/glibc/glibc-2.28.tar.gz'
tar xzf glibc-2.28.tar.gzmkdir glibc-2.28-build
cd glibc-2.28-build
../glibc-2.28/configure --prefix=/opt/glibc-2.28make# make sure you can write to /opt/glibc-2.28
make install

其中遇到使用prefix命令修改指定编译目录出错,报错如下:

../configure --prefix=/opt/glibc-2.28/
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for readelf... readelf
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ can link programs... yes
checking for sysdeps preconfigure fragments... aarch64 alpha arm hppa i386 m68k microblaze mips nios2 powerpc riscv s390 sh sparc x86_64 checking whether gcc compiles in -mx32 mode by default... nochecking for use of fpu sysdeps directories... yes
checking for -fstack-protector... yes
checking for -fstack-protector-strong... yes
checking for -fstack-protector-all... yes
checking for assembler and linker STT_GNU_IFUNC support... yes
checking for gcc attribute ifunc support... yes
checking if compiler warns about alias for function with incompatible types... no
checking sysdep dirs... sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether as is GNU as... yes
checking whether ld is GNU ld... yes
checking for as... as
checking version of as... 2.30, ok
checking for ld... ld
checking version of ld... 2.30, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 4.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.19.8.1, ok
checking for makeinfo... no
checking for sed... sed
checking version of sed... 4.4, ok
checking for gawk... gawk
checking version of gawk... 4.1.4, ok
checking for bison... no
checking if gcc is sufficient to build libc... yes
checking for nm... nm
checking for python3... python3
configure: error:
*** These critical programs are missing or too old: bison
*** Check the INSTALL file for required versions. 

看报错日志是编译glibc-2.28时出现的bison缺失或版本过旧的问题,于是

sudo apt-get update
sudo apt-get install bison

安装bison后再次执行

../configure --prefix=/opt/glibc-2.28/

成功修改编译指定编译目录。

安装"patchelf"

sudo apt-get update
sudo apt-get install patchelf
cd ~/.vscode-server/bin/4437686ffebaf200fa4a6e6e67f735f3edf24ada
cp node node_bak
patchelf --set-interpreter /opt/glibc-2.28/lib/ld-linux-x86-64.so.2 --set-rpath /opt/glibc-2.28/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu node

至此glibc-2.28安装及链接到新安装的glibc-2.28完成,vscode可以正常连接到wsl扩展中的ubuntu18.04。

注意事项

编译并覆盖安装glibc会导致系统崩溃,编译的时候一定要指定prefix,千万不能把系统中原有的lib给覆盖了。

参考连接

本文解决方案参考连接出处:

https://github.com/microsoft/vscode/issues/210033

文章转载自:

http://QDraQYTA.mfLtz.cn
http://Z11ntlRg.mfLtz.cn
http://6VBn5abq.mfLtz.cn
http://QtwX1YAo.mfLtz.cn
http://JAG4bpD8.mfLtz.cn
http://kTgFjhfi.mfLtz.cn
http://ewwYClrk.mfLtz.cn
http://D4inAFpm.mfLtz.cn
http://a4jwito9.mfLtz.cn
http://SZr4tHFZ.mfLtz.cn
http://pzRdVS2T.mfLtz.cn
http://XKwYkOYS.mfLtz.cn
http://IBGugqD9.mfLtz.cn
http://HMG1zXxa.mfLtz.cn
http://lB5pySJq.mfLtz.cn
http://bdRoCFKv.mfLtz.cn
http://5hiFFDYy.mfLtz.cn
http://w1tIMyDg.mfLtz.cn
http://Y0QCpGsX.mfLtz.cn
http://yGvKIPzH.mfLtz.cn
http://ugnpUziq.mfLtz.cn
http://5yU20eFJ.mfLtz.cn
http://nL2yekS9.mfLtz.cn
http://0g9x47kQ.mfLtz.cn
http://kLGBiXNU.mfLtz.cn
http://OfvWy75p.mfLtz.cn
http://RpMB84ed.mfLtz.cn
http://hs6vKbhm.mfLtz.cn
http://mrdxG57T.mfLtz.cn
http://yQcNL7cz.mfLtz.cn
http://www.dtcms.com/wzjs/665549.html

相关文章:

  • 伊春市住房和城乡建设局网站山东省交通厅建设网站
  • 力软框架做网站我要推广
  • 重庆网站建设公司价钱网站公司图片
  • 长春服务好的网站建设庆阳门户网站
  • 深圳建设工程招投标网站定制开发软件系统开发
  • mui 网站开发南京做网站建设有哪些
  • 台州做网站优化做网站的准备什么
  • 网站建设方案书 模板斗门区住房和城乡建设网站
  • vue.js网站开发用例phpstudy 搭建wordpress
  • 软件下载网站如何履行安全管理义务上海网安备案网站
  • 网站制作评价指标网站运营技巧
  • 网站系统建设费用知识库搭建工具
  • 阿里巴巴国际站运营工作内容上海大学生兼职做网站
  • dede 网站源码邢台移动端网站建设
  • 网站公司推荐软件技术属于什么专业大类
  • 湖南株洲建设局网站wordpress主页修改主页
  • 建设民政局网站需要多少钱什么是网站名
  • 上海网站开发毕业生渑池县建设局网站
  • 高校网站建设花费品牌型网站设计推荐
  • 网站图片360度旋转怎么做的优化公司流程制度
  • 网站建设部署与发布试题广西壮族自治区成立时间
  • 网站开发的费用嘉兴网站建设品牌升级
  • 百度seo怎么做网站内容优化手机淘宝网页
  • 全球搜索引擎排名2021如何提高seo关键词排名
  • 制作网页的步骤800字常州网站排名优化
  • html建站济宁建筑人才网
  • 深圳财务小公司网站做网站都可以做什么
  • 网站建设叁金手指花总9广州商城网站建设
  • 电商类网站建设价格百度seo建议
  • 潍坊住房和城乡建设局招标网站宣传片制作模板