packagecloud icon indicating copy to clipboard operation
packagecloud copied to clipboard

Phalcon Ubuntu 16 installation

Open harrywebster opened this issue 9 years ago • 7 comments

Attempted to install Phalcon for PHP 7.0 Ubuntu 16 (fresh install) using:

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

... reports a successful installation however the package php7.0-phalcon cannot be found.

After a quick dig i found the URL in /etc/apt/sources.list.d/phalcon_stable.list, https://packagecloud.io/phalcon/stable/ubuntu is a 404.

I manually downloaded php7.0-phalcon_3.0.4-1_amd64.deb and it worked like a charm.

harrywebster avatar Mar 22 '17 16:03 harrywebster

It seems a temporary https://packagecloud.io issues. Could you check now?

sergeyklay avatar Mar 22 '17 19:03 sergeyklay

I've tried twice more this morning and had the same problem (each on a fresh Ubuntu 16 install).

harrywebster avatar Mar 23 '17 12:03 harrywebster

Same here, fresh Ubuntu 16.10, installed only 2 hours ago.

$ curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh | sudo bash
Detected operating system as Ubuntu/yakkety.
Checking for curl...
Detected curl...
Running apt-get update... done.
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 /etc/apt/sources.list.d/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/ubuntu/ yakkety main
deb-src https://packagecloud.io/phalcon/stable/ubuntu/ yakkety main
$ sudo apt-get install php7.0-phalcon
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
E: Paket php7.0-phalcon kann nicht gefunden werden.
E: Mittels des Musters »php7.0-phalcon« konnte kein Paket gefunden werden.
E: Mittels regulärem Ausdruck »php7.0-phalcon« konnte kein Paket gefunden werden.
$ sudo apt-cache search phalcon
$ 

$ php -v
PHP 7.0.15-0ubuntu0.16.10.4 (cli) ( NTS )

Edit: By manually editing the version from yakkety (16.10) to xenial (16.04) packages are available. So I assume there are simply no packages uploaded for yakkety?

MarcusSchwarz avatar Mar 31 '17 23:03 MarcusSchwarz

@virgofx Could you please take a look

sergeyklay avatar Apr 01 '17 21:04 sergeyklay

I can confirm the same issue on Ubuntu 17.04.

harrywebster avatar Apr 15 '17 12:04 harrywebster

same here Kubuntu 17.04 clean install php -v PHP 7.0.18-0ubuntu0.17.04.1 (cli) (built: Apr 26 2017 23:59:48) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.18-0ubuntu0.17.04.1, Copyright (c) 1999-2017, by Zend Technologies

jmichalek132 avatar Jun 21 '17 21:06 jmichalek132

As I said before it was a temporary https://packagecloud.io issue. I've tried various Ubuntu version. Can't reproduce for now.

sergeyklay avatar Jul 28 '18 15:07 sergeyklay