You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Chromebook Debian环境安装VS Code的依赖问题及启动异常咨询

Chromebook Debian环境安装VS Code的依赖问题及启动异常咨询

各位大佬好!我是刚入门web开发的新手,刚学完Codecademy的课程,想在自己的amd64架构Chromebook上搭个本地开发环境,跟着教程装VS Code的时候卡住了😭

我按照步骤操作,双击下载好的安装包启动安装器,先是看到提示:

Install app with Linux
Installation successfully started.
Details
Application: code
Version: 1.81.0-1690979901
Description: Code editing. Redefined.
Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle.

点了OK之后直接弹出错误:Error installing Linux application,下面列了一堆未满足的依赖,我完全看不懂是什么意思:

The following packages have unmet dependencies:
code: Depends: libasound2 (>= 1.0.17) but it is not installable
Depends: libatk-bridge2.0-0 (>= 2.5.3) but it is not installable
Depends: libatk1.0-0 (>= 2.2.0) but it is not installable
Depends: libatspi2.0-0 (>= 2.9.90) but it is not installable
Depends: libc6 (>= 2.17) but it is not installable
Depends: libcairo2 (>= 1.6.0) but it is not installable
Depends: libcurl3-gnutls but it is not installable or
libcurl3-nss but it is not installable or
libcurl4 but it is not installable or
libcurl3 but it is not installable
Depends: libdbus-1-3 (>= 1.0.2) but it is not installable
Depends: libdrm2 (>= 2.4.60) but it is not installable
Depends: libexpat1 (>= 2.0.1) but it is not installable
Depends: libgbm1 (>= 17.1.0~rc2) but it is not installable
Depends: libglib2.0-0 (>= 2.12.0) but it is not installable
Depends: libglib2.0-0 (>= 2.39.4) but it is not installable
Depends: libgssapi-krb5-2 but it is not installable
Depends: libgtk-3-0 (>= 3.9.10) but it is not installable
Depends: libgtk-3-0 (>= 3.9.10) but it is not installable or
libgtk-4-1 but it is not installable
Depends: libkrb5-3 but it is not installable
Depends: libnspr4 (>= 2:4.9-2~) but it is not installable
Depends: libnss3 (>= 2:3.22) but it is not installable
Depends: libnss3 (>= 3.26) but it is not installable
Depends: libpango-1.0-0 (>= 1.14.0) but it is not installable
Depends: libsecret-1-0 (>= 0.18) but it is not installable
Depends: libstdc++6 (>= 5) but it is not installable
Depends: libstdc++6 (>= 5.2) but it is not installable
Depends: libstdc++6 (>= 6) but it is not installable
Depends: libx11-6 but it is not installable
Depends: libx11-6 (>= 2:1.4.99.1) but it is not installable
Depends: libxcb1 (>= 1.9.2) but it is not installable
Depends: libxcomposite1 (>= 1:0.4.4-1) but it is not installable
Depends: libxdamage1 (>= 1:1.1) but it is not installable
Depends: libxext6 but it is not installable
Depends: libxfixes3 but it is not installable
Depends: libxkbcommon0 (>= 0.4.1) but it is not installable
Depends: libxkbfile1 but it is not installable
Depends: libxrandr2 but it is not installable
Recommends: libvulkan1 but it is not installable

之前查资料说我的Chromebook应该能正常装VS Code和所有依赖的,结果现在卡在这里,完全不知道该怎么弄,真心求各位大佬给点建议!


对了,后来我自己瞎摸索了一下:把Linux开发环境删掉重装了,然后先跑了sudo apt-get -f install,再照着Debian10的VS Code安装步骤操作,现在居然能通过命令行输入code启动VS Code了!不过双击下载的安装包还是会弹出之前的那些错误,有没有大佬能解释下这是咋回事呀?

备注:内容来源于stack exchange,提问作者Karo

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 16:18:14