Pakcage "apache' has no installation candidate [duplicate]












0















This question already has an answer here:




  • How do I restore the default repositories?

    3 answers



  • What is the correct output of cat /etc/apt/sources.list

    1 answer




I'm trying to install Apache into Ubuntu Desktop 18.04.1, but retrieving the error: package apache2 has no installation candidate
Any help, please? Thanks!










share|improve this question













marked as duplicate by karel, N0rbert, Eric Carvalho, Fabby, RoVo Dec 21 '18 at 12:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 1




    What is the output of cat /etc/apt/sources.list?
    – Kulfy
    Dec 20 '18 at 10:59
















0















This question already has an answer here:




  • How do I restore the default repositories?

    3 answers



  • What is the correct output of cat /etc/apt/sources.list

    1 answer




I'm trying to install Apache into Ubuntu Desktop 18.04.1, but retrieving the error: package apache2 has no installation candidate
Any help, please? Thanks!










share|improve this question













marked as duplicate by karel, N0rbert, Eric Carvalho, Fabby, RoVo Dec 21 '18 at 12:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 1




    What is the output of cat /etc/apt/sources.list?
    – Kulfy
    Dec 20 '18 at 10:59














0












0








0


1






This question already has an answer here:




  • How do I restore the default repositories?

    3 answers



  • What is the correct output of cat /etc/apt/sources.list

    1 answer




I'm trying to install Apache into Ubuntu Desktop 18.04.1, but retrieving the error: package apache2 has no installation candidate
Any help, please? Thanks!










share|improve this question














This question already has an answer here:




  • How do I restore the default repositories?

    3 answers



  • What is the correct output of cat /etc/apt/sources.list

    1 answer




I'm trying to install Apache into Ubuntu Desktop 18.04.1, but retrieving the error: package apache2 has no installation candidate
Any help, please? Thanks!





This question already has an answer here:




  • How do I restore the default repositories?

    3 answers



  • What is the correct output of cat /etc/apt/sources.list

    1 answer








apache2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 20 '18 at 10:51









jee

1011




1011




marked as duplicate by karel, N0rbert, Eric Carvalho, Fabby, RoVo Dec 21 '18 at 12:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by karel, N0rbert, Eric Carvalho, Fabby, RoVo Dec 21 '18 at 12:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1




    What is the output of cat /etc/apt/sources.list?
    – Kulfy
    Dec 20 '18 at 10:59














  • 1




    What is the output of cat /etc/apt/sources.list?
    – Kulfy
    Dec 20 '18 at 10:59








1




1




What is the output of cat /etc/apt/sources.list?
– Kulfy
Dec 20 '18 at 10:59




What is the output of cat /etc/apt/sources.list?
– Kulfy
Dec 20 '18 at 10:59










1 Answer
1






active

oldest

votes


















0














I think this command could help you:



echo 'deb http://security.ubuntu.com/ubuntu bionic-security main' >> /etc/apt/sources.list && sudo apt update && sudo apt install apache2


This command adds repository which contains package apache2 for ubuntu 18.04, updates your source list and installs apache2.






share|improve this answer




























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I think this command could help you:



    echo 'deb http://security.ubuntu.com/ubuntu bionic-security main' >> /etc/apt/sources.list && sudo apt update && sudo apt install apache2


    This command adds repository which contains package apache2 for ubuntu 18.04, updates your source list and installs apache2.






    share|improve this answer


























      0














      I think this command could help you:



      echo 'deb http://security.ubuntu.com/ubuntu bionic-security main' >> /etc/apt/sources.list && sudo apt update && sudo apt install apache2


      This command adds repository which contains package apache2 for ubuntu 18.04, updates your source list and installs apache2.






      share|improve this answer
























        0












        0








        0






        I think this command could help you:



        echo 'deb http://security.ubuntu.com/ubuntu bionic-security main' >> /etc/apt/sources.list && sudo apt update && sudo apt install apache2


        This command adds repository which contains package apache2 for ubuntu 18.04, updates your source list and installs apache2.






        share|improve this answer












        I think this command could help you:



        echo 'deb http://security.ubuntu.com/ubuntu bionic-security main' >> /etc/apt/sources.list && sudo apt update && sudo apt install apache2


        This command adds repository which contains package apache2 for ubuntu 18.04, updates your source list and installs apache2.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 20 '18 at 11:47









        metallic

        873




        873















            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido