← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1435324] Re: qtbase5-dev not installable on Ubuntu 14.04 LTS

 

Well, I don't know if the duplicate status is wrong or not. But I am
meeting the same problem. The duplicate bug said the fix was released in
the -updates repo, but my problem is not fixed until now. I did "sudo
apt-get dist-upgrade" to the latest release. I can not install
qt5-default and the following is the errors:

$ sudo apt-get install 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:
 qt5-default : Depends: qtbase5-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

--------------------------------

$ sudo apt-get install qtbase5-dev
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:
 qtbase5-dev : Depends: libgles2-mesa-dev or
                        libgles2-dev but it is not installable
               Depends: libqt5gui5 (= 5.2.1+dfsg-1ubuntu14.2) but it is not going to be installed
               Depends: libqt5printsupport5 (= 5.2.1+dfsg-1ubuntu14.2) but it is not going to be installed
               Depends: libqt5widgets5 (= 5.2.1+dfsg-1ubuntu14.2) but it is not going to be installed
               Recommends: libqt5opengl5-dev (= 5.2.1+dfsg-1ubuntu14.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


** This bug is no longer a duplicate of bug 1424466
   Devel package not installable in 14.04.2 (mesa-lts-utopic

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1435324

Title:
  qtbase5-dev not installable on Ubuntu 14.04 LTS

Status in qtbase-opensource-src package in Ubuntu:
  Confirmed

Bug description:
  I discovered the problem when I tried to compile a Qt5 QML program firstly.
  I have an Ubuntu 14.04.2 LTS with all updates, no significant PPAs (only nodejs and owncloud, not affecting this problem here) and with all the -lts-utopic upgrade packages installed.

  With that system, I tried to install qtbase5-dev, and apt told me:

  [...]
  The following packages have unmet dependencies:
   qtbase5-dev : Depends: libgles2-mesa-dev or
                          libgles2-dev but it is not installable
   unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                          Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
  E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

  So this package seems to be not installable. This tried in synaptic,
  it tries to uninstall all -lts-utopic packages (inclusive all
  xserver*.deb) and install the "old" ones instead of them.

  So the problem somewhere lies within the new lts packages that seem
  not to be compatible with qtbase5-dev (and its dependency: libgles2
  -mesa-dev - but I am not able to find out further.

  The problem is: Qt5 development on an Ubuntu 14.04.2 LTS machine is
  NOT possible without a fix. The make process always complains about
  not finding gl libraries.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qtbase5-dev (not installed)
  ProcVersionSignature: Ubuntu 3.16.0-31.43~14.04.1-generic 3.16.7-ckt5
  Uname: Linux 3.16.0-31-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.7
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Mar 23 14:01:20 2015
  InstallationDate: Installed on 2015-02-25 (26 days ago)
  InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  SourcePackage: qtbase-opensource-src
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1435324/+subscriptions


References