Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Debian 10 Phalcon package installation: Package not found

Hi,

Tried setting up phalcon on a Debian 10 (buster) server, but the package was not found. In the past never had problem on Debian 9 or on Ubuntu

lsb_release -a

Distributor ID: Debian

Description: Debian GNU/Linux 10 (buster)

Release: 10

Codename: buster

curl -s "https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh" | sudo bash

Detected operating system as debian/buster.

Checking for curl...

Detected curl...

Checking for gpg...

Detected gpg...

Running apt-get update... done.

Installing debian-archive-keyring which is needed for installing

apt-transport-https on many Debian systems.

Installing apt-transport-https... done.

Installing /etc/apt/sources.list.d/phalcon_stable.list...done.

Importing packagecloud gpg key... done.

Running apt-get update... done.

The repository is setup! You can now install packages.

cat phalcon_stable.list

/# this file was generated by packagecloud.io for

/# the repository at https://packagecloud.io/phalcon/stable

deb https://packagecloud.io/phalcon/stable/debian/ buster main

deb-src https://packagecloud.io/phalcon/stable/debian/ buster main

Looks good, buster is Debian 10, but now...

sudo apt-get update

Hit:1 http://security.debian.org/debian-security buster/updates InRelease

Hit:2 http://ftp.nl.debian.org/debian unstable InRelease

Ign:4 https://packagecloud.io/phalcon/stable/debian buster InRelease

Err:5 https://packagecloud.io/phalcon/stable/debian buster Release

404 Not Found [IP: 2600:1f1c:2e5:6900:8020:f1c9:5738:80a4 443]

Reading package lists... Done

E: The repository 'https://packagecloud.io/phalcon/stable/debian buster Release' does not have a Release file.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

apt-cache search phalcon

Nothing, same for apt-cache search php7.0-phalcon, apt-cache search php7.3-phalcon

apt show php7.3-phalcon

N: Unable to locate package php7.3-phalcon

N: Couldn't find any package by glob 'php7.3-phalcon'

N: Couldn't find any package by regex 'php7.3-phalcon'

N: Unable to locate package php7.3-phalcon

N: Couldn't find any package by glob 'php7.3-phalcon'

N: Couldn't find any package by regex 'php7.3-phalcon'

Need to compile or is something wrong?

Thanks in advance!



305
Accepted
answer
edited Aug '19

I had that issue too but for me it was just a simple matter of using the stretch repo instead of buster.

In other words I use the following (stretch) repositories within buster and then the packages are there.

Everything seems to work as expected so far. Buster is awesome by the way!

I hope that helps?

I had that issue too but for me it was just a simple matter of using the stretch repo instead of buster.

In other words I use the following (stretch) repositories within buster and then the packages are there.

Everything seems to work as expected so far. Buster is awesome by the way!

I hope that helps?

I thought it was a no go to use the packages from a previous Debian version, but it works flawlessly. Thank you. Still though, it should be resolved.

edited Aug '19

I thought it was a no go to use the packages from a previous Debian version, but it works flawlessly. Thank you. Still though, it should be resolved.

Stretch/Stable packages will be fine with Buster/Stable 99% of the time. Debian is all about stability, but it is still compatible with previous versions. They just like to make sure nothing breaks the system before they push them to Buster/Stable.

However if you're not confident you can always have a look at "Timeshift" and use that as a system restore like on Windows.

For the record, I have spent the last 2 weeks installing everything I shouldn't on Buster and I haven't managed to break it so far :D

But yeah, I don't think they are going to have to change much (if anything) to push Phalcon over to Buster.