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.

Where are 1.3 packages in ppa:phalcon/stable ?

In our Scrutinizer build we have

      - sudo apt-get -q -y install software-properties-common python-software-properties
      - sudo apt-add-repository -y ppa:phalcon/stable
      - sudo apt-get update
      - sudo apt-get -q -y install php5-phalcon

Today version 2.0 has been installed :)

The problem is that our code is not ready for the migration and we want to install version 1.3.4. Can you add the old version in the ppa repo to allow us to execute something like:

      - sudo apt-get -q -y install php5-phalcon=1.3.4-ppa1~trusty

Lots of thanks and congrats for the great job!



3.1k
Accepted
answer
edited Apr '15

hey Alex,

can you try:

        - sudo apt-get -q -y install php5-phalcon=1.3.4-ppa1~trusty1

i think you can view the packages i uploaded to the official PPA here:

https://launchpad.net/~phalcon/+archive/ubuntu/stable/+packages?field.name_filter=&field.status_filter=superseded&field.series_filter=

edited Apr '15

Thanks for the quickly answer but I can't install this version:

after remove the package installed by default, when I execute:

sudo apt-get -q -y install php5-phalcon=1.3.4-ppa1~trusty1
Reading package lists...
Building dependency tree...
Reading state information...
E: Version '1.3.4-ppa1~trusty1' for 'php5-phalcon' was not found

apt-cache policy shows:

  sudo apt-cache policy php5-phalcon
  php5-phalcon:
    Installed: (none)
    Candidate: 2.0.0-ppa1~trusty
    Version table:
       2.0.0-ppa1~trusty 0
          500 http://ppa.launchpad.net/phalcon/stable/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

But I download the package from https://launchpad.net/~phalcon/+archive/ubuntu/stable/+build/6575173/+files/php5-phalcon_1.3.4-ppa1~trusty1_amd64.deb

then

  sudo dpkg -i php5-phalcon_1.3.4-ppa1~trusty1_amd64.deb

and

  sudo apt-cache policy php5-phalcon
  php5-phalcon:
    Installed: 1.3.4-ppa1~trusty1
    Candidate: 2.0.0-ppa1~trusty

lots of thanks for the link with field.status_filter=superseded :)

edited Apr '15

Hey Alex,

Like the main Ubuntu archive, PPAs remove superseded packages. So, only one version is available for each, Ubuntu release, in a PPA.

Btw can you mark an answer as accepted ? :)

edited Apr '15

Done.

Maybe a good idea is to add a sufix of the major version to the packages:

  • php5-phalcon for the last version 1.*
  • php5-phalcon2 for the last version 2.*
edited Apr '15

I will discuss this with Nikos but i really want to stick to the ubuntu PPA standards.

Thanks for the suggestion :)

Dear Alex,

I added a Phalcon legacy PPA for 1x versions of Phalcon. I will also update the website to reflect this information.

https://launchpad.net/~phalcon/+archive/ubuntu/legacy

sudo apt-add-repository ppa:phalcon/legacy