https://code.visualstudio.com/docs/supporting/faq#_can-i-run-vs-code-on-older-linux-distributions
Starting with VS Code release 1.86.1 (January 2024), VS Code desktop is only compatible with Linux distributions based on glibc 2.28 or later, for example, Debian 10, RHEL 8, or Ubuntu 20.04.
It seems that Debian 10 is still supported now, but when I installed it:
$ sudo apt install code
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
code : Depends: libxkbfile1 (>= 1:1.1.0) but 1:1.0.9-2+b11 is to be installed
E: Unable to correct problems, you have held broken packages.
6条答案
按热度按时间jk9hmnmh1#
我确认,我在Debian 10(buster)上遇到了相同的问题。
我的内核版本是4.19.0-21-rt-amd64(带有PREEMPT_RT实时补丁)。
根据Debian仓库:
https://packages.debian.org/search?keywords=libxkbfile1
buster的最新版本是1.1.0.9吗?
fdx2calv2#
Visual Studio Code v1.84.2
在Debian 10上是否有可能安装最新版本?
我无法安装v1.87.2
能否在不破坏任何东西的情况下手动安装libxkbfile1 1:1.1.0-1?
r7xajy2e3#
进行了一些测试,Visual Studio 1.85.2似乎是最后一个仍与Debian 10.13兼容的版本。
iecba09b4#
这个PR #192513 已经带来了libxkbfile1 (>=1:1.1.0)。我们还有机会将依赖版本降低吗?
8dtrkrch5#
关于这个有任何更新吗?
bq3bfh9z6#
关于这个有什么更新吗?
我发现一些问题的里程碑已经被修改了很多次,甚至从2023年到现在。所以我认为当前的状态意味着加入了计划,但没有预计完成时间。