-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install version 1.81 on RHEL 7.9 (or Ubuntu 18) #1629
Comments
Hi, I have a similar error when trying to install vscodium-server (from vscodium v1.82.0) using open-remote-ssh on a CentOS 7.9 remote machine. The install fails and reports lacking packages:
I checked glibc version is 2.17. Is there a chance to get it working? I tried some tricks listed here but none worked. |
While that doesn't solve the issue (note VSCodium may have higher dependencies than vscodium-reh) I can share that VSCodium 1.77 definitely works on RHEL7/CentOS7, so until the issue is checked you may want to use this instead. |
I can confirm that VSCodium 1.77.3 works fine on CentOS7, thanks |
I can't re-find the source... but I've read that CentOS7 won't be supported anymore. |
MS might do extra stuff with the new build. Any PR is welcome 😉 |
Which version is the last one that ships with a previous version of node? |
No, their version need to match. |
This issue says that 1.81 wasn't usable with RHEL7 either, so this still seems to be not working. Can someone please outline the node versions used with vscode 1.77 to 1.82 (we already know 1.77.1 using
@daiyam It does seem reasonable to use an alternative node.js, as I understand it there "unofficial official" builds which support older glibc versions, for example https://unofficial-builds.nodejs.org/download/release/v18.17.1/node-v18.17.1-linux-x64-glibc-217.tar.xz (first one is 18.16.0) It seems this would be enough to support those old environments, no? |
Note: the node version distributed with https://update.code.visualstudio.com/commit:8b617bd08fd9e3fc94d14adb8d358b56e3f72314/server-linux-x64/stable has the exact same dependency version information as the official unofficial glibc-2.17 built of node https://unofficial-builds.nodejs.org/download/release/v18.16.1/node-v18.16.1-linux-x64-glibc-217.tar.xz It seems reasonable to switch to that instead of the "official offical node_v18" - at least for distribution. |
Thanks for the hint! Unfortunately, I get an error message for version
Here are some more details about my OS version:
|
ping @daiyam
Should we use the linux-x64-glibc-217 node versions for our builds? |
@daiyam as GitMensch mentioned above can we switch to use the custom node to build vscodium so it can support old linux version as vscode does ?
|
I will look into it. |
Note that official vscode will drop support too starting from the next release 1.86 microsoft/vscode#201129 |
Could we get @paulcarroty to update the aptitude repo (Ubuntu) to include previous versions? I do not have a gitlab account to login and make the comment. VSCodium Ubuntu installation repo is published over there: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo Seems the current launchpad only lists the latest version, and no previous versions to install (which would have made it super easy to downgrade).
If we could get him to re-publish 1.77, then the user would only need to do:
Most other packages include previous versions:
|
Here's the
...and then search and use the commit for 1.77:
flatpak requires you install first, and then "upgrade" to that previous specific version (commit)...
|
@eduncan911 Gitlab Pages still has hard 1 GB size limit, open to resettlement ideas. |
GitHub has unlimited total attachment sizes for Releases (limited to 2GB per file), unlimited number of files, and unlimited number of Releases. You can directly link to github raw release download url for any direct downloads. I do this for a number of other projects. Quoted straight from the docs:
If you want to keep things at GitLab, that's fine. Someone with Owner rights to this Github Org can setup a new repo that clones yours from GitLab. Then, in Completely hands off, unlimited bandwidth releases (with actions seutp). |
Sounds cool, do you have any examples of apt/yum/dnf compatible Github releases? I think it's not possible without nested dirs. Another issue is throttling - for anonymous Github will show "Whoa there! You have triggered an abuse detection mechanism." very fast. |
@daiyam wrote:
That sounds good. Note that If that is done, then we should patch the new file resources/server/bin/helpers/check-requirements-linux.sh. |
Apologies as I missed this response. Both of those problems are solved simply by publishing Github Pages (which is free, and is hosted at .git.luolix.top, such as my blog at https://eduncan911.com). Not really a rate limit issue on static sites. ;) I am more than happy to work with you and set this app up under your account. The urls for the nested dirs would be something like: https://paulcarroty.github.com/vscodium-apt/... Each of those being a repo under your account, vscodium-apt, vscodium-yum, and vscodium-dnf. They are publushed as sub-directories. The only catch there is no large should be hosted on static sites. That's what the Publishing Releases is for, to host the tarball or whatever compressed released file. Then the static files that point to the large tarball to pull and extra... Etc. |
Should I just disable the check? |
Sadly, it's only available for x64. no arm64 or ppc64... |
Can you try the version https://github.com/VSCodium/vscodium-insiders/releases/tag/1.86.0.24039-insider? Thx |
Is that a "manual downgrade" or something from upstream? Would it be useful to use node-v18.17.1-linux-x64-glibc-217 for x64? |
It's a manual downgrade... (Linux non-REH were still on node-16 until 1.85) reh-node16.patch
I did ask myself. I decided to have the same version on the different platforms. |
Sadly, I've just tested in a VM, I'm getting errors from dependencies:
I will have to refine more... |
@daiyam Vscode released 1.86.1 to support remote legacy server last week microsoft/vscode#204344 |
The |
The latest https://github.com/VSCodium/vscodium-insiders/releases/tag/1.86.2.24048-insider does work on centos7 (only REH) I'm looking into building |
VSCodium 1.86.2.24053 should fix the issue. |
Thank you - do we include the "pesky not able to be disabled banner" as vscode does? [And if yes, can we provide a disable option as there was for some other message I can't remember?] |
I can confirm that the issue is fixed by VSCodium 1.86.2.24053 - thanks! |
@GitMensch no I've removed it |
I currently have version
1.64.2
(I know, very old) installed and cannot install1.81
because of the following errors:How can I solve this problem?
The text was updated successfully, but these errors were encountered: