0

I am trying to install build dependencies for qt with the command sudo apt-get build-dep qtbase5-dev following this guide. The output of apt command listed below:

Reading package lists... Done
Picking 'qtbase-opensource-src' as source package instead of 'qt5-default'
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
builddeps:qtbase-opensource-src : Depends: libfontconfig1-dev but it is not going to be installed
                               Depends: libfreetype6-dev but it is not going to be installed
                               Depends: libgtk2.0-dev but it is not going to be installed
                               Depends: libpng-dev
E: Unable to correct problems, you have held broken packages.

I have tried apt's autoclean, autoremove, update, upgrade, dist-upgrade and so on. Nothing works for me. Can you please help me. I use:

Linux ASUS 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
danielleontiev
  • 385
  • 2
  • 19

0 Answers0