Dependency Loop When Trying to Install Firefox Xvfb











up vote
1
down vote

favorite












I am installing firefox xvfb on 16.04.4 (server) so that I can use the Firefox driver with Selenium in order to do screen grabs of our websites using Python. Unfortunately, I am in some sort of install dependency loop.



when I install firefox xvfb, I get the following error:



sudo apt-get install firefox xvfb
...
firefox : Depends: libgtk-3-0 (>= 3.4) but it is not going to be installed


So my next logical step is to install the dependency.



sudo apt-get install libgtk-3-0
...
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:
libgtk-3-0 : Depends: libwayland-egl1-mesa (>= 10.0.2) but it is not going to be installed or
libwayland-egl1
E: Unable to correct problems, you have held broken packages.


I searched AU to find how to search for broken packages, coming across this link which instructs me to run the command:



dpkg -l | grep ^..r


Unfortunately, this returns nothing.



I am at a loss on what to do next , I have:



apt-get update
apt-get upgrade
apt-get update –fix-missing


as well attempted using aptitude to install all of the same things.



Not sure if this is related but something similar has happened before when trying to use pip3 install. Eventually I just gave up, and stuck to python 2.7 for this project. I don't think that it is a firefox xvfb problem, as I also tried installed google-chrome-stable with no success.



Any help or troubleshooting steps would be greatly appreciated.



UPDATE:



Output of apt-cache policy firefox xvfb:



firefox:
Installed: 45.0.2+build1-0ubuntu1
Candidate: 64.0~b13+build1-0ubuntu0.16.04.1
Version table:
64.0~b13+build1-0ubuntu0.16.04.1 500
500 http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu xenial/main amd64 Packages
*** 45.0.2+build1-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
xvfb:
Installed: 2:1.18.3-1ubuntu2
Candidate: 2:1.18.3-1ubuntu2
Version table:
*** 2:1.18.3-1ubuntu2 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status









share|improve this question
























  • Check your repositories - please add output of apt-cache policy firefox xvfb to the question. It seems that you have missed xenial-updates pocket.
    – N0rbert
    Nov 27 at 20:26










  • Added to original question. Thanks again!
    – Lexicon
    Nov 28 at 17:52















up vote
1
down vote

favorite












I am installing firefox xvfb on 16.04.4 (server) so that I can use the Firefox driver with Selenium in order to do screen grabs of our websites using Python. Unfortunately, I am in some sort of install dependency loop.



when I install firefox xvfb, I get the following error:



sudo apt-get install firefox xvfb
...
firefox : Depends: libgtk-3-0 (>= 3.4) but it is not going to be installed


So my next logical step is to install the dependency.



sudo apt-get install libgtk-3-0
...
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:
libgtk-3-0 : Depends: libwayland-egl1-mesa (>= 10.0.2) but it is not going to be installed or
libwayland-egl1
E: Unable to correct problems, you have held broken packages.


I searched AU to find how to search for broken packages, coming across this link which instructs me to run the command:



dpkg -l | grep ^..r


Unfortunately, this returns nothing.



I am at a loss on what to do next , I have:



apt-get update
apt-get upgrade
apt-get update –fix-missing


as well attempted using aptitude to install all of the same things.



Not sure if this is related but something similar has happened before when trying to use pip3 install. Eventually I just gave up, and stuck to python 2.7 for this project. I don't think that it is a firefox xvfb problem, as I also tried installed google-chrome-stable with no success.



Any help or troubleshooting steps would be greatly appreciated.



UPDATE:



Output of apt-cache policy firefox xvfb:



firefox:
Installed: 45.0.2+build1-0ubuntu1
Candidate: 64.0~b13+build1-0ubuntu0.16.04.1
Version table:
64.0~b13+build1-0ubuntu0.16.04.1 500
500 http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu xenial/main amd64 Packages
*** 45.0.2+build1-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
xvfb:
Installed: 2:1.18.3-1ubuntu2
Candidate: 2:1.18.3-1ubuntu2
Version table:
*** 2:1.18.3-1ubuntu2 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status









share|improve this question
























  • Check your repositories - please add output of apt-cache policy firefox xvfb to the question. It seems that you have missed xenial-updates pocket.
    – N0rbert
    Nov 27 at 20:26










  • Added to original question. Thanks again!
    – Lexicon
    Nov 28 at 17:52













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am installing firefox xvfb on 16.04.4 (server) so that I can use the Firefox driver with Selenium in order to do screen grabs of our websites using Python. Unfortunately, I am in some sort of install dependency loop.



when I install firefox xvfb, I get the following error:



sudo apt-get install firefox xvfb
...
firefox : Depends: libgtk-3-0 (>= 3.4) but it is not going to be installed


So my next logical step is to install the dependency.



sudo apt-get install libgtk-3-0
...
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:
libgtk-3-0 : Depends: libwayland-egl1-mesa (>= 10.0.2) but it is not going to be installed or
libwayland-egl1
E: Unable to correct problems, you have held broken packages.


I searched AU to find how to search for broken packages, coming across this link which instructs me to run the command:



dpkg -l | grep ^..r


Unfortunately, this returns nothing.



I am at a loss on what to do next , I have:



apt-get update
apt-get upgrade
apt-get update –fix-missing


as well attempted using aptitude to install all of the same things.



Not sure if this is related but something similar has happened before when trying to use pip3 install. Eventually I just gave up, and stuck to python 2.7 for this project. I don't think that it is a firefox xvfb problem, as I also tried installed google-chrome-stable with no success.



Any help or troubleshooting steps would be greatly appreciated.



UPDATE:



Output of apt-cache policy firefox xvfb:



firefox:
Installed: 45.0.2+build1-0ubuntu1
Candidate: 64.0~b13+build1-0ubuntu0.16.04.1
Version table:
64.0~b13+build1-0ubuntu0.16.04.1 500
500 http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu xenial/main amd64 Packages
*** 45.0.2+build1-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
xvfb:
Installed: 2:1.18.3-1ubuntu2
Candidate: 2:1.18.3-1ubuntu2
Version table:
*** 2:1.18.3-1ubuntu2 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status









share|improve this question















I am installing firefox xvfb on 16.04.4 (server) so that I can use the Firefox driver with Selenium in order to do screen grabs of our websites using Python. Unfortunately, I am in some sort of install dependency loop.



when I install firefox xvfb, I get the following error:



sudo apt-get install firefox xvfb
...
firefox : Depends: libgtk-3-0 (>= 3.4) but it is not going to be installed


So my next logical step is to install the dependency.



sudo apt-get install libgtk-3-0
...
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:
libgtk-3-0 : Depends: libwayland-egl1-mesa (>= 10.0.2) but it is not going to be installed or
libwayland-egl1
E: Unable to correct problems, you have held broken packages.


I searched AU to find how to search for broken packages, coming across this link which instructs me to run the command:



dpkg -l | grep ^..r


Unfortunately, this returns nothing.



I am at a loss on what to do next , I have:



apt-get update
apt-get upgrade
apt-get update –fix-missing


as well attempted using aptitude to install all of the same things.



Not sure if this is related but something similar has happened before when trying to use pip3 install. Eventually I just gave up, and stuck to python 2.7 for this project. I don't think that it is a firefox xvfb problem, as I also tried installed google-chrome-stable with no success.



Any help or troubleshooting steps would be greatly appreciated.



UPDATE:



Output of apt-cache policy firefox xvfb:



firefox:
Installed: 45.0.2+build1-0ubuntu1
Candidate: 64.0~b13+build1-0ubuntu0.16.04.1
Version table:
64.0~b13+build1-0ubuntu0.16.04.1 500
500 http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu xenial/main amd64 Packages
*** 45.0.2+build1-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
xvfb:
Installed: 2:1.18.3-1ubuntu2
Candidate: 2:1.18.3-1ubuntu2
Version table:
*** 2:1.18.3-1ubuntu2 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status






16.04 apt server firefox xvfb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 28 at 17:51

























asked Nov 27 at 14:14









Lexicon

202238




202238












  • Check your repositories - please add output of apt-cache policy firefox xvfb to the question. It seems that you have missed xenial-updates pocket.
    – N0rbert
    Nov 27 at 20:26










  • Added to original question. Thanks again!
    – Lexicon
    Nov 28 at 17:52


















  • Check your repositories - please add output of apt-cache policy firefox xvfb to the question. It seems that you have missed xenial-updates pocket.
    – N0rbert
    Nov 27 at 20:26










  • Added to original question. Thanks again!
    – Lexicon
    Nov 28 at 17:52
















Check your repositories - please add output of apt-cache policy firefox xvfb to the question. It seems that you have missed xenial-updates pocket.
– N0rbert
Nov 27 at 20:26




Check your repositories - please add output of apt-cache policy firefox xvfb to the question. It seems that you have missed xenial-updates pocket.
– N0rbert
Nov 27 at 20:26












Added to original question. Thanks again!
– Lexicon
Nov 28 at 17:52




Added to original question. Thanks again!
– Lexicon
Nov 28 at 17:52










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Consider to purge Mozilla's PPA:



sudo apt install ppa-purge
sudo ppa-purge ppa:mozillateam/firefox-next


to resolve dependency errors.



Also please note that official Ubuntu repository has Firefox 63.0 which is not too different from 64...






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',
    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%2f1096507%2fdependency-loop-when-trying-to-install-firefox-xvfb%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








    up vote
    1
    down vote



    accepted










    Consider to purge Mozilla's PPA:



    sudo apt install ppa-purge
    sudo ppa-purge ppa:mozillateam/firefox-next


    to resolve dependency errors.



    Also please note that official Ubuntu repository has Firefox 63.0 which is not too different from 64...






    share|improve this answer

























      up vote
      1
      down vote



      accepted










      Consider to purge Mozilla's PPA:



      sudo apt install ppa-purge
      sudo ppa-purge ppa:mozillateam/firefox-next


      to resolve dependency errors.



      Also please note that official Ubuntu repository has Firefox 63.0 which is not too different from 64...






      share|improve this answer























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        Consider to purge Mozilla's PPA:



        sudo apt install ppa-purge
        sudo ppa-purge ppa:mozillateam/firefox-next


        to resolve dependency errors.



        Also please note that official Ubuntu repository has Firefox 63.0 which is not too different from 64...






        share|improve this answer












        Consider to purge Mozilla's PPA:



        sudo apt install ppa-purge
        sudo ppa-purge ppa:mozillateam/firefox-next


        to resolve dependency errors.



        Also please note that official Ubuntu repository has Firefox 63.0 which is not too different from 64...







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 28 at 18:27









        N0rbert

        19.9k54392




        19.9k54392






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f1096507%2fdependency-loop-when-trying-to-install-firefox-xvfb%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

            Mouse cursor on multiple screens with different PPI

            Agildo Ribeiro

            Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”