[Solved] Missing dependency
-
vbnvbn 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).
-
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.