How to correct the command for PHP 7.0.* in following PHP cli and git installation?Ubuntu 14.04 git install problemHow to make Curl and PHP available when installed from XamppWhy do I get an error trying to install php5-intl?Why do I see cgi source code on my webserver instead of its output?PHP mysqli extension in Ubuntu 16.04 not working after upgrade to version 7.0.6php5-curl not found on webserverUninstalled PHP and php -v always returns 7.1.4Apt get install php7.1-dev extension doesn't workcqpweb triggers error “DATABASE CACHE OVERLOAD!”unable to install libapache2-mod-php5 5.3+ on ubuntu 16.04

What are these (utility?) boxes at the side of the house?

Infinitely many hats

Is there any use case for the bottom type as a function parameter type?

I think I may have violated academic integrity last year - what should I do?

Why did this prime-sequence puzzle not work?

Where did the “Vikings wear helmets with horn” stereotype come from and why?

Custom allocators as alternatives to vector of smart pointers?

Plot exactly N bounce of a ball

Crossing US border with music files I'm legally allowed to possess

What is the difference between nullifying your vote and not going to vote at all?

Break equation in parts

How to prevent bad sectors?

Why do airplanes use an axial flow jet engine instead of a more compact centrifugal jet engine?

What does uniform continuity mean exactly?

Help to draw software architecture stack diagrams?

What caused the tendency for conservatives to not support climate change reform?

Reducing Spill Overs

Why colon to denote that a value belongs to a type?

French translation of “only ever”

How long does it take to crack RSA 1024 with a PC?

Employer demanding to see degree after poor code review

Can we reuse the Tridion search functionality in custom page?

Ticket sales for Queen at the Live Aid

Is my router's IP address really public?



How to correct the command for PHP 7.0.* in following PHP cli and git installation?


Ubuntu 14.04 git install problemHow to make Curl and PHP available when installed from XamppWhy do I get an error trying to install php5-intl?Why do I see cgi source code on my webserver instead of its output?PHP mysqli extension in Ubuntu 16.04 not working after upgrade to version 7.0.6php5-curl not found on webserverUninstalled PHP and php -v always returns 7.1.4Apt get install php7.1-dev extension doesn't workcqpweb triggers error “DATABASE CACHE OVERLOAD!”unable to install libapache2-mod-php5 5.3+ on ubuntu 16.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm using Ubuntu Linux 14.04 LTS 64-bit OS on my machine.



I just updated all the softwares and packages installed on my system by running following commands from the terminal :



sudo apt-get update

sudo apt-get upgrade


Now I'm using PHP 7.0.5, the latest current stable version of PHP.



For checking it I run the following command from the terminal :



php -v

PHP 7.0.5-3+donate.sury.org~trusty+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies


Now I was trying to install Composer(The Project Dependency Management Software). As a prerequisite it needs cli and Git to be installed so for it I typed in following command and got following error. How to resolve this error?



sudo apt-get install curl php5-cli git

Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version.
curl set to manually installed.
git is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
php5-cli : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.32+dfsg-1+deb.sury.org~precise+1 is to be installed
Recommends: php5-readline but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


The error I want to resolve is as below from above output :



Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
php5-cli : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.32+dfsg-1+deb.sury.org~precise+1 is to be installed
Recommends: php5-readline but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Someone please provide me the correct command I need to run from the terminal and remove this error.



I think it's occurring since I'm no more using PHP 5.5.9. Just provide me the necessary command.



Thanks in advance.










share|improve this question




























    0















    I'm using Ubuntu Linux 14.04 LTS 64-bit OS on my machine.



    I just updated all the softwares and packages installed on my system by running following commands from the terminal :



    sudo apt-get update

    sudo apt-get upgrade


    Now I'm using PHP 7.0.5, the latest current stable version of PHP.



    For checking it I run the following command from the terminal :



    php -v

    PHP 7.0.5-3+donate.sury.org~trusty+1 (cli) ( NTS )
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies


    Now I was trying to install Composer(The Project Dependency Management Software). As a prerequisite it needs cli and Git to be installed so for it I typed in following command and got following error. How to resolve this error?



    sudo apt-get install curl php5-cli git

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    curl is already the newest version.
    curl set to manually installed.
    git is already the newest version.
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    php5-cli : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.32+dfsg-1+deb.sury.org~precise+1 is to be installed
    Recommends: php5-readline but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.


    The error I want to resolve is as below from above output :



    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    php5-cli : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.32+dfsg-1+deb.sury.org~precise+1 is to be installed
    Recommends: php5-readline but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.


    Someone please provide me the correct command I need to run from the terminal and remove this error.



    I think it's occurring since I'm no more using PHP 5.5.9. Just provide me the necessary command.



    Thanks in advance.










    share|improve this question
























      0












      0








      0








      I'm using Ubuntu Linux 14.04 LTS 64-bit OS on my machine.



      I just updated all the softwares and packages installed on my system by running following commands from the terminal :



      sudo apt-get update

      sudo apt-get upgrade


      Now I'm using PHP 7.0.5, the latest current stable version of PHP.



      For checking it I run the following command from the terminal :



      php -v

      PHP 7.0.5-3+donate.sury.org~trusty+1 (cli) ( NTS )
      Copyright (c) 1997-2016 The PHP Group
      Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
      with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies


      Now I was trying to install Composer(The Project Dependency Management Software). As a prerequisite it needs cli and Git to be installed so for it I typed in following command and got following error. How to resolve this error?



      sudo apt-get install curl php5-cli git

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      curl is already the newest version.
      curl set to manually installed.
      git is already the newest version.
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      php5-cli : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.32+dfsg-1+deb.sury.org~precise+1 is to be installed
      Recommends: php5-readline but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.


      The error I want to resolve is as below from above output :



      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      php5-cli : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.32+dfsg-1+deb.sury.org~precise+1 is to be installed
      Recommends: php5-readline but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.


      Someone please provide me the correct command I need to run from the terminal and remove this error.



      I think it's occurring since I'm no more using PHP 5.5.9. Just provide me the necessary command.



      Thanks in advance.










      share|improve this question














      I'm using Ubuntu Linux 14.04 LTS 64-bit OS on my machine.



      I just updated all the softwares and packages installed on my system by running following commands from the terminal :



      sudo apt-get update

      sudo apt-get upgrade


      Now I'm using PHP 7.0.5, the latest current stable version of PHP.



      For checking it I run the following command from the terminal :



      php -v

      PHP 7.0.5-3+donate.sury.org~trusty+1 (cli) ( NTS )
      Copyright (c) 1997-2016 The PHP Group
      Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
      with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies


      Now I was trying to install Composer(The Project Dependency Management Software). As a prerequisite it needs cli and Git to be installed so for it I typed in following command and got following error. How to resolve this error?



      sudo apt-get install curl php5-cli git

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      curl is already the newest version.
      curl set to manually installed.
      git is already the newest version.
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      php5-cli : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.32+dfsg-1+deb.sury.org~precise+1 is to be installed
      Recommends: php5-readline but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.


      The error I want to resolve is as below from above output :



      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      php5-cli : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.32+dfsg-1+deb.sury.org~precise+1 is to be installed
      Recommends: php5-readline but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.


      Someone please provide me the correct command I need to run from the terminal and remove this error.



      I think it's occurring since I'm no more using PHP 5.5.9. Just provide me the necessary command.



      Thanks in advance.







      14.04 command-line php git






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 20 '16 at 12:00









      PHPLoverPHPLover

      73661528




      73661528




















          1 Answer
          1






          active

          oldest

          votes


















          0














          PHP 7.0 packages has been renamed, so you are looking either for apt-get install php-cli to install dependency package that will pull default PHP version, or just apt-get install php7.0-cli. I recommend the former.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f759468%2fhow-to-correct-the-command-for-php-7-0-in-following-php-cli-and-git-installati%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            PHP 7.0 packages has been renamed, so you are looking either for apt-get install php-cli to install dependency package that will pull default PHP version, or just apt-get install php7.0-cli. I recommend the former.






            share|improve this answer



























              0














              PHP 7.0 packages has been renamed, so you are looking either for apt-get install php-cli to install dependency package that will pull default PHP version, or just apt-get install php7.0-cli. I recommend the former.






              share|improve this answer

























                0












                0








                0







                PHP 7.0 packages has been renamed, so you are looking either for apt-get install php-cli to install dependency package that will pull default PHP version, or just apt-get install php7.0-cli. I recommend the former.






                share|improve this answer













                PHP 7.0 packages has been renamed, so you are looking either for apt-get install php-cli to install dependency package that will pull default PHP version, or just apt-get install php7.0-cli. I recommend the former.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 22 '16 at 9:50









                oerdnjoerdnj

                7,0443348




                7,0443348



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f759468%2fhow-to-correct-the-command-for-php-7-0-in-following-php-cli-and-git-installati%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?