Comment 2 for bug 1172554

Revision history for this message
Adrian Wechner (adrian-wechner) wrote :

possible that I found the cause.
I tried to uninstall and install different packages and I found one package which made trouble.

libqtweb5 had a version which was not accepted when installing libqt5webkit5-dev
installed version: libqtweb5 (5.0.1-0ubuntu2~quantal1~test3)
needed version: libqtweb5 (5.0.1-0ubuntu1)

my conclusion is that in the process of upgrading from 12.10 (with sdk ppa) to 13.04 the package libqtweb5 was not correctly upgraded, (maybe because the quantal version seems to be higher then the raring version). and that caused that problem.

now, qtcreator has global menu. for me it is fixed. but for other which will upgrade having an ubuntu-sdk ppa installed in 12.10 will have the same problem propably.

below you see a walkthough what I did and how I got it solved. Just for the matter of giving you as much information as possible.

Summary:
(1) I removed qtbase5-dev with all its dependencies:
Removing libdbusmenu-qt5-dev ...
Removing libqt5opengl5-dev ...
Removing ubuntu-sdk ...
Removing libqt5webkit5-dev ...
Removing qt3d5-dev ...
Removing qt5-default ...
Removing qtsensors5-dev ...
Removing qtlocation5-dev ...
Removing qtdeclarative5-dev ...
Removing qtbase5-dev ...

(2) installed qtbase5-dev with dependencies:
 libqt5opengl5-dev qtbase5-dev

That did not fix the problem

(3) then wanted to install ubuntu-sdk again, but cound't because of the unmet dependency:
The following packages have unmet dependencies:
 ubuntu-sdk : Depends: libqt5webkit5-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

(4) so i tried to install libqt5webkit5-dev directly to get the full message:
adrian@i15:~$ sudo apt-get install libqt5webkit5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
(...)
The following packages have unmet dependencies:
 libqt5webkit5-dev : Depends: libqt5webkit5 (= 5.0.1-0ubuntu1) but 5.0.1-0ubuntu2~quantal1~test3 is to be installed
E: Unable to correct problems, you have held broken packages.

(5) as a result i removed libqt5webkit5
adrian@i15:~$ sudo apt-get remove libqt5webkit5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  android-tools-adb libbotan-1.10-0 libqt53d5 libqt5location5 qtcreator-doc qtdeclarative5-qtmultimedia-plugin qtdeclarative5-xmllistmodel-plugin ubuntu-ui-toolkit-examples
Use 'apt-get autoremove' to remove them.

(6) next i installed libqt5webkit5 and verified that the version is not 5.0.1-0ubuntu2~quantal1~test3. now it turned out to be libqt5webkit5 5.0.1-0ubuntu1. ONLY DIFFERENCE I SEE, so I think that must have been the problem.

(7) at the end i installed ubuntu-sdk which also installed dependencies like qtcreator
adrian@i15:~$ sudo apt-get install ubuntu-sdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libqt5declarative5 libqt5webkit5-dev qt3d5-dev qt5-default qtcreator qtcreator-plugin-ubuntu qtdeclarative5-dev qtlocation5-dev qtsensors5-dev