Package Details: code-server 4.100.0-1

Git Clone URL: https://aur.archlinux.org/code-server.git (read-only, click to copy)
Package Base: code-server
Description: VS Code in the browser
Upstream URL: https://github.com/coder/code-server
Keywords: code coder.com visual-studio-code vscode
Licenses: MIT
Submitter: hvksmr1996
Maintainer: coadler (ash, cdrci)
Last Packager: ash
Votes: 24
Popularity: 0.55
First Submitted: 2019-03-11 14:32 (UTC)
Last Updated: 2025-05-12 18:41 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Clansty commented on 2022-01-20 14:17 (UTC)

Please replace $(uname -m) in package function to ${CARCH} so we can pack aarch64 packages on x86_64 systems

joaquinito2051 commented on 2021-07-16 11:48 (UTC)

Please, become me a maintainer, and also, upgrade to 3.11.0.

coadler commented on 2021-02-08 17:43 (UTC)

Thanks @stuartpb for your help, I pushed the recommended change to the cps.

stuartpb commented on 2021-02-02 03:31 (UTC)

Since the sources for the systemd unit files may be provided as symbolic links (ie. this is how I'm seeing them on yay, as links into my .cache directory), the command(s) to copy them (on lines 43 and 46) should use cp -aL (which copies content from symlinks) instead of just cp -a (which copies the links themselves):

  cp -aL "$pkgname-$pkgver@.service" "$pkgdir/usr/lib/systemd/system/$pkgname@.service"
  cp -aL "$pkgname-$pkgver-user.service" "$pkgdir/usr/lib/systemd/user/$pkgname.service"

Doing this resolved the Link has been severed error for me (since the link systemctl creates now points directly to a file with the unit's content, rather than a link to a file in my user directory).

qupfer commented on 2020-11-16 09:19 (UTC) (edited on 2020-11-16 09:21 (UTC) by qupfer)

I helped me with removing the service file(s)

sudo rm -f "/usr/lib/systemd/user/code-server.service*"

and add it to /etc

sudo curl https://raw.githubusercontent.com/cdr/code-server/v3.6.1/ci/build/code-server@.service -o /etc/systemd/system/code-server@.service

#activate
sudo systemctl enable --now code-server@$(whoami).service

(if not already installed, it also should be possible to edit the pkbuild and use there the new destination)

PythonNut commented on 2020-09-23 01:41 (UTC)

I’m still rubbing into the link severed issue on the latest version of this package when trying to enable the user service.

jdewinne commented on 2020-07-28 20:14 (UTC)

Can you change line 40 into

cp "$pkgname-$pkgver.service" "$pkgdir/usr/lib/systemd/user/$pkgname.service"

This should fix the Link has been severed issue.

RichA commented on 2020-07-07 13:42 (UTC)

$ yay -S code-server

Runs OK, but...

$ systemctl --user enable --now code-server

yields

Failed to enable unit: File code-server.service: Link has been severed

jadenPete commented on 2020-07-04 00:01 (UTC) (edited on 2020-07-05 16:55 (UTC) by jadenPete)

When installed, /usr/lib/systemd/user/code-server.service is a severed symbolic link. Could you please fix this?

02strich commented on 2020-05-31 04:56 (UTC) (edited on 2020-05-31 04:56 (UTC) by 02strich)

Had a similar problem with the service file and replaced the respective lines with install commands. Otherwise very nice - thank you