vscodium: Cannot install version 1.81 on RHEL 7.9 (or Ubuntu 18)

I currently have version 1.64.2 (I know, very old) installed and cannot install 1.81 because of the following errors:

$ sudo yum install ./codium-1.81.1.23222-el7.x86_64.rpm 
Loaded plugins: langpacks, search-disabled-repos
Examining ./codium-1.81.1.23222-el7.x86_64.rpm: codium-1.81.1.23222-el7.x86_64
Marking ./codium-1.81.1.23222-el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package codium.x86_64 0:1.81.1.23222-el7 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package: codium-1.81.1.23222-el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: codium-1.81.1.23222-el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: codium-1.81.1.23222-el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: codium-1.81.1.23222-el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22)(64bit) for package: codium-1.81.1.23222-el7.x86_64
--> Finished Dependency Resolution
Error: Package: codium-1.81.1.23222-el7.x86_64 (/codium-1.81.1.23222-el7.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: codium-1.81.1.23222-el7.x86_64 (/codium-1.81.1.23222-el7.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
Error: Package: codium-1.81.1.23222-el7.x86_64 (/codium-1.81.1.23222-el7.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: codium-1.81.1.23222-el7.x86_64 (/codium-1.81.1.23222-el7.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
Error: Package: codium-1.81.1.23222-el7.x86_64 (/codium-1.81.1.23222-el7.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

How can I solve this problem?

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 34 (13 by maintainers)

Most upvoted comments

VSCodium 1.86.2.24053 should fix the issue.

The 1.86.2.24047-insider does works on centos7 when switching to the unofficial nodejs. The next version will test node-v16

@daiyam wrote:

I will look into it.

That sounds good. Note that If that is done, then we should patch the new file resources/server/bin/helpers/check-requirements-linux.sh. This new script will definitely help in general.

I will look into it.

@GitMensch no I’ve removed it

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 node-v18 with glibc-2.17 for platforms other than x64.

Sadly, I’ve just tested in a VM, I’m getting errors from dependencies:

  • Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.9’ not found
  • Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22’ not found

I will have to refine more…

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.

Here’s the flatpak instructions to downgrade to 1.77:

$ sudo apt purge codium
...
$ rm -rf ~/.config/VSCodium

…and then search and use the commit for 1.77:

$ flatpak remote-info --log flathub com.vscodium.codium | grep -B1 -A1 "1\.77" 
    Commit: a211d057d4e557d3330e442be3a02f55221bf9dea3340f0266d9cc9ba6ab4c19
   Subject: :tada: Upgrade VSCodium to v1.77.3.23102 (ca8a856b)
      Date: 2023-04-12 19:14:45 +0000
--
    Commit: 02ea8d939e66661031a4ee4020d048748b3bb6baecce98b6ef3da9d8f9a0586e
   Subject: :tada: Upgrade VSCodium to v1.77.2.23101 (d65bccf7)
      Date: 2023-04-12 16:09:37 +0000
--
    Commit: 9cab0f85b194c8dadaf892cb0af61234629741536771059d814f804a0c8ee17d
   Subject: :tada: Upgrade VSCodium to v1.77.1.23095 (85e3ba57)
      Date: 2023-04-05 20:02:30 +0000
--
    Commit: e99f23749b4717c8b65a4bd41de33f3d689f6330fdcca6ebe961e7b3350454ea
   Subject: :tada: Upgrade VSCodium to v1.77.0.23095 (26476e94)
      Date: 2023-04-05 19:02:57 +0000

flatpak requires you install first, and then “upgrade” to that previous specific version (commit)…

$ flatpak install codium
$ flatpak upgrade --commit=a211d057d4e557d3330e442be3a02f55221bf9dea3340f0266d9cc9ba6ab4c19 com.vscodium.codium

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).

$ sudo apt policy codium
codium:
  Installed: (none)
  Candidate: 1.85.1.23348
  Version table:
     1.85.1.23348 500
        500 https://download.vscodium.com/debs vscodium/main amd64 Packages

If we could get him to re-publish 1.77, then the user would only need to do:

$ sudo apt install codium=1.77

Most other packages include previous versions:

brave-browser:
  Installed: 1.61.114
  Candidate: 1.61.114
  Version table:
 *** 1.61.114 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
        100 /var/lib/dpkg/status
     1.61.109 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.61.104 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.61.101 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.61.100 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.60.125 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
     1.60.118 500
        500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages