@xereda, something must have gone wrong with your download which corrupted the file. Delete it and try again.
$ sha256sum code_x64_1.31.1.tar.gz
154a316eb6785c126e2fccd80a5c76291321ca2d6945e7a2a13f2e262be89bde code_x64_1.31.1.tar.gz
| Git Clone URL: | https://aur.archlinux.org/visual-studio-code-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | visual-studio-code-bin |
| Description: | Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version) |
| Upstream URL: | https://code.visualstudio.com/ |
| Licenses: | custom: commercial |
| Conflicts: | code |
| Provides: | code, vscode |
| Submitter: | dcelasun |
| Maintainer: | dcelasun |
| Last Packager: | dcelasun |
| Votes: | 1668 |
| Popularity: | 31.05 |
| First Submitted: | 2017-12-18 19:14 (UTC) |
| Last Updated: | 2026-05-20 10:43 (UTC) |
« First ‹ Previous 1 .. 48 49 50 51 52 53 54 55 56 57 58 .. 90 Next › Last »
@xereda, something must have gone wrong with your download which corrupted the file. Delete it and try again.
$ sha256sum code_x64_1.31.1.tar.gz
154a316eb6785c126e2fccd80a5c76291321ca2d6945e7a2a13f2e262be89bde code_x64_1.31.1.tar.gz
Getting the following error while upgrading from 1.30.2-1 -> 1.31.0-2
(OK):download completed.
mv: cannot stat '/tmp/yaourt-tmp-munim/aur-visual-studio-code-bin/stable': No such file or directory
-> Found visual-studio-code.desktop
-> Found visual-studio-code-url-handler.desktop
==> Validating source_x86_64 files with sha256sums...
code_x64_1.31.0.tar.gz ... NOT FOUND
visual-studio-code.desktop ... Passed
visual-studio-code-url-handler.desktop ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build visual-studio-code-bin.
==> Restart building visual-studio-code-bin ? [y/N]
@dcelasun thanks for your suggestion! I wanted to try this right now, but the new version 1.31.0-2 works great, so it's solved for me. Thanks again!
https://github.com/Microsoft/vscode/pull/65744/files In 1.31.0. gconf no longer needs.
@Donjogi, can you try code --disable-gpu and see if it helps?
I tried to install visual-studio-code-bin today freshly with yay on KDE Plasma 5.14.5. On startup the app crashes before showing a window with the following stacktrace. I double-checked the current "code" arch package which works out of the box.
Any hint if I can solve this by myself?
$ code --verbose
[21302:0204/194114.705115:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process.
[main 7:41:14 PM] Sending env to running instance...
[main 7:41:14 PM] [ 'TypeError: Cannot read property \'call\' of undefined',
' at e.onPromise (/opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:191:666)',
' at e.onRawMessage (/opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:191:326)',
' at /opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:190:769',
' at e.fire (/opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:123:512)',
' at a (/opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:200:948)',
' at Socket._socketDataListener (/opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:201:153)',
' at emitOne (events.js:116:13)',
' at Socket.emit (events.js:211:7)',
' at addChunk (_stream_readable.js:263:12)',
' at readableAddChunk (_stream_readable.js:250:11)',
' at Socket.Readable.push (_stream_readable.js:208:10)',
' at Pipe.onread (net.js:594:20)' ]
@noraj code is maintained by the Arch team. It is them taking the VS Code code base and building their own open source version. It is technically an unoffical release of VS Code.
visual-studio-code-bin is the official release by Microsoft repacked to be installed on Arch.
There are advantages and disadvantages to both of them. Most notably, code is open source and visual-studio-code-bin has many of Microsoft's closed source improvements (it works via X11 forwarding for example, whereas most other Electron apps do not).
(at least that is my take on why there would be interest in this one)
Now that there is https://www.archlinux.org/packages/community/x86_64/code/, what is the interest of visual-studio-code-bin ?
Pinned Comments
dcelasun commented on 2017-11-15 06:20 (UTC) (edited on 2026-01-23 13:07 (UTC) by dcelasun)
FREQUENTLY ASKED QUESTIONS (read before flagging or commenting!)
This is the official binary distribution from Microsoft. The one in the community repo is an unofficial build made from source. Beyond the licence difference and branding, there are some proprietary features not available in the open-source version.
This package depends on both the official tarball and files from GitHub. Please check this page AND this page before flagging as out-of-date. If the new version isn't on both pages, this package cannot be updated! If you can see the new version on both pages, but the AUR package is still not updated, flag it and give it time. It's usually done within hours.
Sometimes AUR helpers do weird things. Download the tarball and install it manually with
makepkg -si. If that works, report the problem to your AUR helper's upstream, not here.xdg-openuses vscode, not my file manager! How do I fix this?Install
shared-mime-info-gnomegnome-sessionwhich now includes mimemapps.Just because $X is not required to open the app, doesn't mean there is nothing that depends on it. Always search the comment history on AUR to see if that dependency has been previously discussed before writing your own comment. Still nothing? Then use namcap to make sure it's really not needed. If namcap doesn't complain, please leave a comment here and I'll investigate.
The problem might be a packaging issue (wrong paths, dependencies, icons), so please write a comment here first. If you don't get a reply, or if someone says it's an upstream issue, you can report it on GitHub.
No, you won't get a reply. Please stop doing this. Leave a comment here instead and be patient.