edgedb-cli
edgedb-cli copied to clipboard
apt-based install commands only work on LTS
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:
- Document before the command that it will only work on LTS.
- 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.
- 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.
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.