Package Details: code-server 3.11.0-1

Git Clone URL: (read-only, click to copy)
Package Base: code-server
Description: VS Code in the browser
Upstream URL:
Keywords: code visual-studio-code vscode
Licenses: MIT
Submitter: hvksmr1996
Maintainer: coadler (ash, jsjoeio)
Last Packager: coadler
Votes: 18
Popularity: 2.56
First Submitted: 2019-03-11 14:32
Last Updated: 2021-07-16 16:00

Latest Comments

1 2 Next › Last »

joaquinito2051 commented on 2021-07-16 11:48

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

coadler commented on 2021-02-08 17:43

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

stuartpb commented on 2021-02-02 03:31

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

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 -o /etc/systemd/system/code-server@.service

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

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

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

$ yay -S code-server

Runs OK, but...

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


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

jadenPete commented on 2020-07-04 00:01

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

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

coadler commented on 2020-05-20 03:24

Fixed. Thanks