We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Debian 9. Can't install Phalcon using Packagecloud. "The repository ... does not have a Release file."

Hi,

Linux Debian Stretch

I have added packagecloud repository, but when I ran 'sudo apt-get update' — I get such error:

Reading package lists... Done
W: The repository 'https://packagecloud.io/phalcon/stable/debian stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://packagecloud.io/phalcon/stable/debian/dists/stretch/main/source/Sources

So php7.2-phalcon package can't be found for installing.

As far as I understand, problem is in my enviroment. But can't figure out what is the problem. Can't solve this with google.

Any ideas?

Hi @ilya-slabukarov ,

Probally hapenned one error in your apt configuration. Check if your apt has configurated properly, according the steps described in https://packagecloud.io/phalcon/stable/install#manual-deb.

Your file /etc/apt/sources.list.d/phalcon_stable.list file must have this content, according described in https://packagecloud.io/install/repositories/phalcon/stable/config_file.list?os=debian&dist=stretch&source=script

Hope this helps

Hi Eric,

I found out, that the problem is in my environment, because the same problem I have with packages in other repositories (nginx, php7.2, etc.).

Pathes were added, sertificates were signed. But apt-get can't find Release files.

If I'll find solution, I'll post it here.

Hi @ilya-slabukarov,

I have search your error message in Google

Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

and I findid one response, in portuguese. If you have install PPA repositories, occasionally this error occour in Debian. See this in https://www.vivaolinux.com.br/topico/Debian/Problema-para-atualizar-debian-9

Another possibility is to have some error with your GPG authentication keys. In both cases, this error is outside the scope of the forum.

I hope I was helpfull