Ubuntu 16.04 Airtime won't install error Dependencies no candidates
  • The errors are as follows:

    The following errors show up while installing:

    Package 'libapache2-mod-php5' has no installation candidate
    E: Package 'php5' has no installation candidate
    E: Package 'php5-gd' has no installation candidate
    E: Package 'php5-pgsql' has no installation candidate

    Any and all help that will get Airtime installed in Ubuntu 16.04 will be appreciated. Thanks.


  • 5 Comments sorted by
  • The following errors show up while installing:

    Package 'libapache2-mod-php5' has no installation candidate
    E: Package 'php5' has no installation candidate
    E: Package 'php5-gd' has no installation candidate
    E: Package 'php5-pgsql' has no installation candidate
    E: Package 'php5-curl' has no installation candidate
    E: Package 'mp3gain' has no installation candidate
    E: Package 'php-apc' has no installation candidate

    The list was incomplete this is the complete list. Sorry for the error.

  • I uninstalled everything and started over it installed dependencies but in the end I can't find Airtime anywhere. Tried to install just the package and got this:

    sudo apt-get install airtime
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package airtime is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'airtime' has no installation candidate

  • I have the same problem. My investigation showed that
    * V 16 is built with php7
    - if you install MySQL or anything from the LAMPP stack, you get the php7 modules
    * There is not an airtime install package in the xenial path
    - I tried doing a manual install from the v14 path. I got php and python install problems.

    I had to go to v14 and to the easy install. The manual install gave my python errors

    I think that the solution is to do a code build in a php7 environment and then manually install​ each component.

    Let me know if you get it to work, as I would also like to run on v16
  • Airtime use php5 which is only found in 14.04

    16.04 uses php 7 and there is no backwards compatibility
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.
  • Vote Up0Vote Down BartBart
    Posts: 89Member
    php5:

    sudo apt-add-repository -y ppa:ondrej/php
    sudo apt-get -y update
    sudo apt-get -y install php5.6-cli php5.6-curl
    libapache2-mod-php5.6
    sudo a2dismod php7.0 ; sudo a2enmod php5.6 ; sudo service apache2 restart ; echo 1 | sudo update-alternatives --config php
    sudo a2dismod mpm_event
    sudo a2enmod mpm_prefork
    sudo service apache2 restart


    but I bet you will have some other dependency issues too :)
    So only try those things on a test environment.

    Schelstraete Bart - http://www.contact-dance.com
    image