libqt4-sql-mysql dependencies are incorrectly detected

Bug #1048308 reported by Kurt M. Sanger
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I have been trying to install MythTV on Ubuntu 12.04 LTS 64 Bit and get a broken dependency error. The thread for what I have tried is http://ubuntuforums.org/showthread.php?p=12228197#post12228197. Note I get an error installing MythTV from Ubuntu Software Center, from apt-get, from gdebi, and via Mythbuntu Control Center.

At this point I believe that libqt4-sql-mysql does not recognize 4:4.8.1-0ubuntu4.1 and 4:4.8.1-0ubuntu4.1 as being installed. I have run sudo apt-get update, sudo apt-get install libqt4-sql, and sudo apt-get install libqtcore4.

Verifying that libqtcore4 and libqt4-sql are still valid.
my@myPC:/etc/apt$ sudo apt-get install libqtcore4 -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqtcore4 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
my@myPC:/etc/apt$ sudo apt-get install libqt4-sql -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt4-sql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Try installing libqt4-sql-mysql again.
me@myPC:/etc/apt$ sudo apt-get install libqt4-sql-mysql -f
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:
libqt4-sql-mysql : Depends: libqt4-sql (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqtcore4 (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Logan Rosen (logan) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1048308
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → qt4-x11 (Ubuntu)
Changed in qt4-x11 (Ubuntu):
status: New → Incomplete
Revision history for this message
Kurt M. Sanger (ksanger) wrote : Re: [Bug 1048308] Re: libqt4-sql-mysql dependencies are incorrectly detected

On 09/09/2012 03:31 PM, Logan Rosen wrote:
> Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
> apport-collect 1048308
> When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.
>
> ** Package changed: ubuntu => qt4-x11 (Ubuntu)
>
> ** Changed in: qt4-x11 (Ubuntu)
> Status: New => Incomplete
>
Logan;

I issued the apport-collect 1048308 command, then enabled reporting for
one hour, and received the output:

kurt@MerlinFX:/etc/apt$
kurt@MerlinFX:/etc/apt$ apport-collect 1048308
Package qt4-x11 not installed and no hook available, ignoring
kurt@MerlinFX:/etc/apt$

Please note per the original bug report that libqt4-sql-mysql fails to
install due to broken dependencies.

Revision history for this message
Rohan Garg (rohangarg) wrote :

This seems to work fine for me :
root@server:/# apt-get install libqt4-sql-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libmysqlclient18 libqt4-sql libqtcore4 mysql-common
Suggested packages:
  libqt4-dev libthai0
The following NEW packages will be installed:
  libmysqlclient18 libqt4-sql libqt4-sql-mysql libqtcore4 mysql-common
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 3110 kB of archives.
After this operation, 13.4 MB of additional disk space will be used.
Do you want to continue [Y/n]?

Revision history for this message
Logan Rosen (logan) wrote :

Kurt, it looks like you may have a PPA installed that is providing a different version of libqt4-sql from what libqt4-sql-mysql requires. Can you please try removing any PPAs enabled that are providing this package?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qt4-x11 (Ubuntu) because there has been no activity for 60 days.]

Changed in qt4-x11 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.