I can't install phalcon on this version OS (Elementary OS/Loki) and I don't know how to forge OS detection as Ubuntu/Xenial in this command. Below is the output of phalcon's packagecloud script output on my machine.
$ curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh | sudo bash Detected operating system as elementary/loki. Checking for curl... Detected curl... Running apt-get update... done. Installing apt-transport-https... done. Installing /etc/apt/sources.list.d/phalcon_stable.list...curl: (22) The requested URL returned error: 404 Not Found
Unable to download repo config from: ttps://packagecloud.io/install/repositories/phalcon/stable/config_file.list?os=elementary&dist=loki&source=script
This usually happens if your operating system is not supported by packagecloud.io, or this script's OS detection failed.
You can override the OS detection by setting os= and dist= prior to running this script. You can find a list of supported OSes and distributions on our website: https://packagecloud.io/docs#os_distro_version
For example, to force Ubuntu Trusty: os=ubuntu dist=trusty ./script.sh
If you are running a supported OS, please email [email protected] and report this.