edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

apt-based install commands only work on LTS

Open RobertBlumen opened this issue 1 year ago • 1 comments

https://www.edgedb.com/install#linux-debianubuntults contains instructions for installing on Linux using a package manager.

The command to configure the apt sources is shown here: echo deb [signed-by=/usr/local/share/keyrings/edgedb-keyring.gpg]\ https://packages.edgedb.com/apt \ $(grep "VERSION_CODENAME=" /etc/os-release | cut -d= -f2) main \ | sudo tee /etc/apt/sources.list.d/edgedb.list From ensuing discussion in slack it became clear that this command only works on an LTS release of ubuntu. It is not exactly clear what the fix is. Some suggestions are:

  1. Document before the command that it will only work on LTS.
  2. Do not get the version codename from /etc/os-release - either ask the user or hard-code the latest that will work which at his time is jammy. Because this is a documnted command on the web site, it could be updated when there is a new supported LTS.
  3. Include in the documented commands a menu to select the release from a list of supported releases. The documentation can be updated when there is a new release.

RobertBlumen avatar Jul 19 '23 23:07 RobertBlumen

I tried requesting jammy from apt sources.list on a Ubuntu 23 machine and it fails to install a dependency that is not available on 23. It does appear clear that the instructions only work on an LTS release of the OS.

RobertBlumen avatar Jul 20 '23 00:07 RobertBlumen