libqt4 dependencies

Asked by Vladimir Garvardt

My version is Maverick (10.10) with the latest updates installed (incl proposed)

I tried to install calibre, found dependencies problem. I followed problem dependencies list and found the following:

libqt4-designer:
 Depends: libqt4-script but it is not going to be installed
  Depends: libqt4-xml (=4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed
  Depends: libqtcore4 (=4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed
  Depends: libqtgui4 (=4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed

It appears that minor ubuntu build for the libs does not allow to install libqt4. And same happens for all libqt4-* packages I tried to install.

How can I fix this or where should I report this issue?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu qt4-x11 Edit question
Assignee:
No assignee Edit question
Solved by:
Vladimir Garvardt
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

FYI in Ubuntu 10.10 i have the ibqt4-designer and just installed calibre, i don't get this issue

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

my installed designer is

ibqt4-designer 4:4.7.0-0ubuntu4.1

Please be sure your system is fully updated/upgraded, from terminal type:

sudo apt-get update
sudo apt-get dist-upgrade

Revision history for this message
Vladimir Garvardt (krig) said :
#3

Set update source to Main server (used to be Russian server, may have some delay in packages availability), run apt-get update and apt-get dist-upgrade - nothing changed. Still libqt4-designer 4:4.7.0-0ubuntu4 is the latest version for me.

Revision history for this message
Messir Voland (drmouse) said :
#4

The same for me now.

I am getting:

The following packages have unmet dependencies:
 libqt4-gui : Depends: libqtgui4 (= 4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed
              Depends: libqt4-svg (= 4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed
              Depends: libqt4-opengl (= 4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed
              Depends: libqt4-designer (= 4:4.7.0-0ubuntu4) but it is not going to be installed

Revision history for this message
George DeKatt (georgedekatt) said :
#5

Maverick 10.10
[Linux sandbox 2.6.35-23-generic #37-Ubuntu SMP Fri Nov 5 19:17:11 UTC 2010 i686 GNU/Linux]
Trying to install libqt4-core and getting -

libqt4-core:
  Depends: libqtcore4 (=4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed
  Depends: libqt4-network (=4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed
  Depends: libqt4-script (=4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed
  Depends: libqt4-xml (=4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed
  Depends: libqt4-dbus (=4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed
  Depends: libqt4-test (=4:4.7.0-0ubuntu4) but 4:4.7.0-0ubuntu4.1 is to be installed

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Try...

sudo apt-get -f install

Revision history for this message
Messir Voland (drmouse) said :
#7

The problem is that libqt4 of a later version has been installed with some third party package and it conflicts now with the official QT4 libs.
So
sudo apt-get -f install doesn't work. Even more: It may damage current qt4 integrity at the system.

Revision history for this message
RichardN (richardn) said :
#8

Something has caused the ubuntu4.1 versions of the libqt4 packages to be installed (as Messir said) and a bunch of things seem to require the the ubuntu4 versions and not allow more recent ones. The only way to fix it is to remove them and reinstall. You need to make sure that your sources don't include the repositories that contain the ubuntu4.1 versions. Try apt-get -s remove libqtcore4 to see what depends on it.

Revision history for this message
Vladimir Garvardt (krig) said :
#9

libqt4 packages were updated to ubuntu4.2 in proposed repo, so problem is solved.