microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.4k stars 28.62k forks source link

Can not install vscode on Debian 10 #206396

Open wangling12 opened 6 months ago

wangling12 commented 6 months ago

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.
saikotek commented 6 months ago

Can confirm, I ran into the same problem on Debian 10 (buster). My kernel version is 4.19.0-21-rt-amd64 (with PREEMPT_RT realtime patch) According to debian repository: https://packages.debian.org/search?keywords=libxkbfile1 the latest version for buster is 1.1.0.9?

erdebugger commented 5 months ago

Visual Studio Code v1.84.2 Is the latest version possible in Debian 10 ? I can't install v1.87.2 Can libxkbfile1 1:1.1.0-1 be manually installed without breaking anything?

Wat00 commented 5 months ago

Did some tests and Visual Studio 1.85.2 seems to be the last version still compatible with Debian 10.13.

wangling12 commented 5 months ago

This PR #192513 has brought libxkbfile1 (>=1:1.1.0). Do we still have a chance to reduce the dependent version back?

j-broome commented 3 months ago

any update on this?

wangling12 commented 3 months ago

any update on this?

I have found that milestones in some issues have been modified many times, even from 2023 to now. So I think the current status means joining the plan, but there is no ETA.