I upgraded to Ubuntu 16.04 LTS. But the libqt4-core and libqt4-gui packages are missing.
How could I install these packages on 16.04?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityThese libqt4-core and libqt4-gui packages don't exist anymore in Ubuntu 16.04 LTS and newer. They were dummy packages with dependencies to other packages. The following procedure will modify the Vidyo package so it uses working dependencies.
First make sure that all required libqt4 packages not installed by default are installed:
sudo apt install libqt4-designer libqt4-opengl libqt4-svg libqtgui4 libqtwebkit4
Create a script to modify the dependency defined in the package. Use the videbcontrol script provided here.
Run the script videbcontrol VidyoDesktopInstaller-ubuntu64-TAG_VD_3_6_3_017.deb that will open the dependencies in a vi editor
Replace Depends: libxss1,libaudio2,libasound2,libqt4-gui (>= 4.8.1), libqt4-network with Depends: libxss1,libaudio2,libasound2,libqt4-designer,libqt4-opengl,libqt4-svg,libqtgui4,libqtwebkit4,libqt4-network. This creates a file named VidyoDesktopInstaller-ubuntu64-TAG_VD_3_6_3_017.modified.deb containing the new dependency.
If you don't know vi, once you see the package information
Depends:i to get into insert modedd to delete the old Depends lineZZ to save and quit the change (two upper case z) Install the Vidyo package by executing the command:
sudo apt install VidyoDesktopInstaller-ubuntu64-TAG_VD_3_6_3_017.modified.deb
Enjoy
Thanks to https://ubuntuforums.org/showthread.php?t=110458 and @chmike These dependencies already have higher versions as I found. It is okay to change the .deb file instead. @bean1975 has a shorter method:
dpkg-deb -x yourfile.deb newdir
dpkg-deb --control yourfile.deb newdir/DEBIAN
gedit newdir/DEBIAN/control
and change the libqt4-gui (>= 4.8.1) with libqt4-designer,libqt4-opengl,libqt4-svg,libqtgui4,libqtwebkit4
dpkg -b newdir modified.deb
and you can use it now!!!
Try this as it worked for me:
sudo apt-get -f install
This was suggested by terminal itself and it did some magic and what not.
I found these instructions from the Vidyo website, the easiest to follow. They have worked consistently across a few upgrades.
Linked on Ubuntu section of Launchpad:
https://launchpad.net/ubuntu/xenial/+package/libqt4-core
https://launchpad.net/ubuntu/xenial/+package/libqt4-gui
You can install a .deb (Debian binary package) using dpkg: sudo dpkg -i libqt4-core_4.8.6...ubuntu8_amd64.deb