• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    [Solved] Missing dependency

    Opera for Linux
    solved
    7
    22
    16086
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • opt
      opt Banned last edited by

      Same problem here. I have version 3.18.9 and I haven't found a way to update it. Vivaldi is working fine and it's based on Chromium 83.0.4103.119

      Reply Quote 0
        1 Reply Last reply
      • A Former User
        A Former User @leocg last edited by A Former User This post is deleted!
        Reply Quote 0
          1 Reply Last reply
        • A Former User
          A Former User @leocg last edited by

          @leocg I have libgtk version 3.18.9 and Chromium 81.0.4044.138

          Reply Quote 0
            leocg 1 Reply Last reply
          • kmod
            kmod last edited by

            It is not recommended to upgrade gtk3 on Ubuntu (even if doable) because it may render some your applications non working or even break your desktop. Ugrading gtk to 3.19 is a non starter. Not going to kill my system because of opera.

            Reply Quote 0
              1 Reply Last reply
            • leocg
              leocg Moderator Volunteer @Guest last edited by

              @anab Then you need to update it, as it seems.

              Reply Quote 0
                A Former User 1 Reply Last reply
              • A Former User
                A Former User @leocg last edited by

                @leocg To all who are interested. The answer in the following post solves the problem for me. GTK upgrade and Opera update without any problem on my side:
                https://askubuntu.com/questions/933010/how-to-upgrade-gtk-3-18-to-3-20-on-ubuntu-16-04#

                Reply Quote 0
                  kmod vbnvbn 2 Replies Last reply
                • kmod
                  kmod @Guest last edited by

                  @anab said in [Solved] Missing dependency:

                  @leocg To all who are interested. The answer in the following post solves the problem for me. GTK upgrade and Opera update without any problem on my side:
                  https://askubuntu.com/questions/933010/how-to-upgrade-gtk-3-18-to-3-20-on-ubuntu-16-04#

                  I know that method but it is risky to upgrade gtk3 that's why I didn't post the link here. A lot of it would depend on your DE and the applications you use. Glad that it works out for you. But I have switched to Vivaldi, problem solved (opera is never my main broswer anyway. Firefox is)

                  Reply Quote 0
                    1 Reply Last reply
                  • vbnvbn
                    vbnvbn last edited by vbnvbn

                    None of the last 2-3 versions of opera browser for linux can be installed on Ubuntu Xenial(16.04) because the package depends on libgtk-3-0 package of a newer version which is not supported by Xenial. When try to install a newer version of libgtk-3-0, the system returns more messages of such dependency problems (for example packages gir1.2-gtk-3.0, libgail-3-0, libglib2.0.0, libgtk-3-bin, libgtk-3-common must be (of) newer versions which are not supported by Xenial).

                    At least if i decide to install the necessary packages, i have to download and install a lot of packages of another debian-based distribution manually (something which is very unsafe/risky).

                    Reply Quote 0
                      1 Reply Last reply
                    • vbnvbn
                      vbnvbn @Guest last edited by vbnvbn

                      @anab said in [Solved] Missing dependency:

                      @leocg To all who are interested. The answer in the following post solves the problem for me. GTK upgrade and Opera update without any problem on my side:
                      https://askubuntu.com/questions/933010/how-to-upgrade-gtk-3-18-to-3-20-on-ubuntu-16-04#

                      This doesn't work for me - there is no highlight background/text on the menus, desktop, windows and text (as well as the menus' lists and icons become graphically too dense) after installing packages from ppa:gnome3-team/gnome3-staging

                      It seems there is nothing to do but install a newer version of Ubuntu or another linux distribution.

                      Any other suggestions?

                      Reply Quote 0
                        kmod 1 Reply Last reply
                      • kmod
                        kmod @vbnvbn last edited by kmod

                        @vbnvbn said in [Solved] Missing dependency:

                        It seems there is nothing to do but install a newer version of Ubuntu or another linux distribution.

                        Any other suggestions?

                        Yes, there is another way.

                        You can download the .deb, right click and extract it with file roller like you do with any archive (instead of installing it) then extract data.tar.xz with file roller, then in the terminal run

                        /path/to/opera-stable_69.0.3686.57_amd64/usr/bin/opera
                        

                        Opera starts here and seems working, I went to Youtube and checked my email, went to a few random sites, so maybe libgtk 3.19 is not really needed to run opera, just a packaging requirement. But I haven't tested it much, like I said I have switched to Vivaldi.

                        If it complains about missing libraries in the terminal type (or just do it anyway in case you are missing something but opera still starts)

                        ldd  /path/to/opera-stable_69.0.3686.57_amd64/usr/bin/opera
                        

                        and install whatever libs that are "not found" in the output.

                        I got this error when starting opera in the terminal

                        ERROR:child_thread_impl.cc(792)] Receiver for unknown Channel-associated interface: chrome.mojom.SearchBouncer
                        

                        Seems to be related to glibc https://forums.opera.com/topic/38293/solved-opera-66-0-3515-72-1-crashing-without-any-extension-or-new-installation/49, but opera doesn't crash on me, everything is working normally, so maybe it is harmless (though I haven't tested too much, there may be use cases where it is important, and I missed them I don't know)

                        If everything works you can make a .desktop file and manually update everytime (replace the folder with a new one) I can't be bother with it myself, but yeah, looks like it can be done

                        EDIT: Ok, the error is harmless. I started opera in Ubuntu 20.04 and get the same error but everything there works fine.

                        Reply Quote 0
                          1 Reply Last reply
                        • kmod
                          kmod last edited by sgunhouse

                          Ok, after the test above to run opera locally I am pretty sure that libgtk319 is not needed to run opera, it is just a packaging requirement. So for those who want to install opera69 in Ubuntu 16.04 you can just edit the debian control file to fix the libgtk3 requirement and then rebuild the deb. Here are the steps:

                          create a directory for editing and rebuilding the opera deb

                          mkdir opera_build
                          

                          Download opera-stable_69.0.3686.57_amd64.deb and put it in the opera_build directory created above

                          cd opera_build
                          
                          mkdir tmp
                          
                          dpkg-deb -x opera-stable_69.0.3686.57_amd64.deb tmp
                          
                          dpkg-deb --control opera-stable_69.0.3686.57_amd64.deb tmp/DEBIAN
                          
                          

                          This extracts the debian metadata in opera_build/tmp/DEBIAN, in it there is a control file

                          now edit the control file (still in opera_build)

                          gedit tmp/DEBIAN/control
                          
                          

                          change the requirement libgtk-3-0(>=3.19.12) to libgtk-3-0(>=3,18.9), then save.

                          Now rebuild the deb (still in the opera_build directory)

                          dpkg -b tmp opera-stable_69.0.3686.57_fixed_amd64.deb
                          

                          this creates a new deb called opera-stable_69.0.3686.57_fixed_amd64.deb

                          now you can install this like you would normally with a deb and it no longer complains about libgtk3 version. Now when the pop up window comes up asking you if you want to update opera with rest of system, uncheck it, since next time there is an update you would need to go through this whole exercise again, apt upgrade will fail.

                          Reply Quote 0
                            vbnvbn 1 Reply Last reply
                          • kmod
                            kmod last edited by

                            there is a typo in the post above. temp should be tmp in the last two lines of codes.

                            Reply Quote 0
                              1 Reply Last reply
                            • sgunhouse
                              sgunhouse Moderator Volunteer last edited by

                              @kmod Fixed.

                              Reply Quote 0
                                1 Reply Last reply
                              • vbnvbn
                                vbnvbn @kmod last edited by

                                @kmod said in [Solved] Missing dependency:

                                Ok, after the test above to run opera locally I am pretty sure that libgtk319 is not needed to run opera, it is just a packaging requirement. So for those who want to install opera69 in Ubuntu 16.04 you can just edit the debian control file to fix the libgtk3 requirement and then rebuild the deb. Here are the steps:

                                create a directory for editing and rebuilding the opera deb

                                mkdir opera_build
                                

                                Download opera-stable_69.0.3686.57_amd64.deb and put it in the opera_build directory created above

                                cd opera_build
                                
                                mkdir tmp
                                
                                dpkg-deb -x opera-stable_69.0.3686.57_amd64.deb tmp
                                
                                dpkg-deb --control opera-stable_69.0.3686.57_amd64.deb tmp/DEBIAN
                                
                                

                                This extracts the debian metadata in opera_build/tmp/DEBIAN, in it there is a control file

                                now edit the control file (still in opera_build)

                                gedit tmp/DEBIAN/control
                                
                                

                                change the requirement libgtk-3-0(>=3.19.12) to libgtk-3-0(>=3,18.9), then save.

                                Now rebuild the deb (still in the opera_build directory)

                                dpkg -b tmp opera-stable_69.0.3686.57_fixed_amd64.deb
                                

                                this creates a new deb called opera-stable_69.0.3686.57_fixed_amd64.deb

                                now you can install this like you would normally with a deb and it no longer complains about libgtk3 version. Now when the pop up window comes up asking you if you want to update opera with rest of system, uncheck it, since next time there is an update you would need to go through this whole exercise again, apt upgrade will fail.

                                Thanks for this solution. The browser thus works on my system - unfortunately crashed unexpectedly on the main page of youtube (i.e. without there being a video played - which is strange to me - i will test it and will inform opera forums if there is any constant problem).

                                Reply Quote 0
                                  1 Reply Last reply
                                • A Former User
                                  A Former User last edited by

                                  The solution given works for me. The only thing I've noticed is that the highlight on the main menu accessible from the Opera button is missing when using the dark theme; with the light theme everything seems normal for me. Every site I've visited works, including YouTube. Considering that Ubuntu 16.04 Xenial, a long term support version of the OS, is supported until April 2021 it's a real pity that Opera 69 and above can only now be installed by rebuilding a deb package. Surely Opera should always run on all LTS versions of Ubuntu while they continue to be supported? Otherwise people who have been loyally using Opera for years, in this case over four years, will suddenly find that their system no longer updates via the Opera repository and that the lastest deb packages can't be installed on their system without any warning.

                                  Reply Quote 1
                                    1 Reply Last reply
                                  • First post
                                    Last post

                                  Computer browsers

                                  • Opera for Windows
                                  • Opera for Mac
                                  • Opera for Linux
                                  • Opera beta version
                                  • Opera USB

                                  Mobile browsers

                                  • Opera for Android
                                  • Opera Mini
                                  • Opera Touch
                                  • Opera for basic phones

                                  • Add-ons
                                  • Opera account
                                  • Wallpapers
                                  • Opera Ads

                                  • Help & support
                                  • Opera blogs
                                  • Opera forums
                                  • Dev.Opera

                                  • Security
                                  • Privacy
                                  • Cookies Policy
                                  • EULA
                                  • Terms of Service

                                  • About Opera
                                  • Press info
                                  • Jobs
                                  • Investors
                                  • Become a partner
                                  • Contact us

                                  Follow Opera

                                  • Opera - Facebook
                                  • Opera - Twitter
                                  • Opera - YouTube
                                  • Opera - LinkedIn
                                  • Opera - Instagram

                                  © Opera Software 1995-