Debian .deb failure: mariadb-server: Depends: mariadb-server-5.1 but it is not going to be installed

Bug #463293 reported by Sergey Petrunia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OurDelta
Fix Released
High
Arjen Lentz

Bug Description

Encountered in buildbot:

https://askmonty.org/buildbot/builders/kvm-deb-debian5-x86/builds/18/steps/test/logs/stdio

+ sudo DEBIAN_FRONTEND=noninteractive apt-get install --allow-unauthenticated -y mariadb-server
Reading package lists...
Building dependency tree...
Reading state information...
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:
  mariadb-server: Depends: mariadb-server-5.1 but it is not going to be installed
E: Broken packages

Apparently there is some error. I can't think of what's needed to investigate, if some details are required for analysis, we'll be happy to provide them.

Revision history for this message
Kristian Nielsen (knielsen) wrote :

Looks like some kind of confusion between libmariadbclient16 and libmysqlclient16:

    $ sudo apt-get --dry-run install mariadb-client-5.1

    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:
      mariadb-client-5.1: Depends: libmysqlclient16 (>= 5.1.21-1)
    E: Broken packages

    $ sudo apt-get --dry-run install libmysqlclient16

    Note, selecting libmariadbclient16 instead of libmysqlclient16
    The following extra packages will be installed:
      libmariadbclient16 mysql-common
    The following NEW packages will be installed:
      libmariadbclient16 mysql-common
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

So there seems to be a dependency on libmysqlclient16 ... however attempting
to install libmysqlclient16 actually chooses to install libmariadbclient16
instead.

Revision history for this message
Arjen Lentz (arjen-lentz) wrote :

As far as I can tell, this is a consequence of earlier brokenness, incomplete repos and missing files.
If the state of your local system is ok (either no mysql packages, or a decent previous install of mysql 5.0 stock or ourdelta, 5.1 stock or mariadb), things work ok.

If your system has an install from earlier test builds, the dependencies will be borked. Best to remove those manually, then install again.

Changed in ourdelta:
status: New → Fix Released
assignee: nobody → Arjen Lentz (arjen-lentz)
importance: Undecided → High
Revision history for this message
Kristian Nielsen (knielsen) wrote :

I'm pretty sure that it is not a consequence of earlier brokenness, as the Buildbot test always installs in a clean VM installation that is discarded after the test.

However, I am also pretty sure that this is fixed, the test succeeds now without this problem.

I tried to find the fix, but did not succeed. In any case, it is solved now, thanks!

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.