Package won't work with mariadb-client

Bug #1483942 reported by capi /.
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
automysqlbackup (Debian)
Fix Released
Unknown
automysqlbackup (Ubuntu)
Fix Released
Low
Unassigned
Trusty
Fix Released
Low
Unassigned

Bug Description

[Impact]

 * automysqlbackup doesn't work with MariaDB as it installs mysql-client instead. This is mainly due to the depends line depending on mysql-client and not including virtual-mysql-client as an OR in the dependencies.

[Test Case]

 * Install mariadb-client.

 * Attempt to install automysqlbackup.

 * Current state in Trusty: FAIL: Dependencies not satisfied.

 * With the change: Package installation should work as expected.

[Regression Potential]

 * Very very low. This shouldn't introduce new problems as it only adds an 'OR' to the depends for the package.

[Other Info]

 * The solution is to add a single OR to the dependencies. This was already done in later releases of Ubuntu, and Debian.

[Original Description]

Package depends on mysql-client, should depend on virtual-mysql-client.
It has been fixed in newer releases (14.10+).
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732878 for Debian handling of this issue.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: automysqlbackup (not installed)
ProcVersionSignature: Ubuntu 3.13.0-57.95-generic 3.13.11-ckt21
Uname: Linux 3.13.0-57-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
Date: Tue Aug 11 21:53:23 2015
InstallationDate: Installed on 2014-04-18 (480 days ago)
InstallationMedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: automysqlbackup
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Thomas Ward (teward) wrote :

Debian's solution to the problem appears to have been to make the package depends as follows:

mysql-client | virtual-mysql-client

This would potentially be enough to fix it. A debdiff for this would be a one-liner if we take Debian's solution. This might be SRUable...

Revision history for this message
Thomas Ward (teward) wrote :

This is already fixed in later releases. I'll add a Series Nomination for Trusty shortly.

description: updated
Changed in automysqlbackup (Ubuntu):
status: New → Fix Released
description: updated
Revision history for this message
Thomas Ward (teward) wrote :

This is a debdiff for this. This needs review by the SRU team, and the Sponsors, since I don't have upload rights for this.

summary: - Package can't build with mariadb-client
+ Package won't work with mariadb-client
Thomas Ward (teward)
Changed in automysqlbackup (Ubuntu):
importance: Undecided → Low
Changed in automysqlbackup (Debian):
status: Unknown → Fix Released
Revision history for this message
Thomas Ward (teward) wrote :

This remains unfixed in Trusty - ignore the "Fix Released" status as this still needs fixing in Trusty. Later versions are already fixed.

description: updated
Thomas Ward (teward)
Changed in automysqlbackup (Ubuntu Trusty):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks, sponsored the trusty sru

Revision history for this message
Thomas Ward (teward) wrote :

Note that this will build shortly here: https://launchpad.net/~teward/+archive/ubuntu/automysqlbackup/+packages

I've run a test build and it builds locally. However, I am not a MySQL user much anymore, as I've migrated most of my stuff over to Postgres. If someone wants to test install from that PPA once the package is built to see if it fixes the problem, that'd be great.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello capi, or anyone else affected,

Accepted automysqlbackup into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/automysqlbackup/2.6+debian.3-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in automysqlbackup (Ubuntu Trusty):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Roger Sikorski (rogersik) wrote :

The package automysqlbackup/trusty-proposed with the version "automysqlbackup_2.6+debian.3-1ubuntu1_all.deb" fixed this bug for me.

Revision history for this message
Thomas Ward (teward) wrote :

I've set verification-done based on comment 8 here, where Roger says it fixed the issue.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package automysqlbackup - 2.6+debian.3-1ubuntu1

---------------
automysqlbackup (2.6+debian.3-1ubuntu1) trusty-proposed; urgency=medium

  * debian/control: Add 'OR' dependency for virtual-mysql-client. This lets
    mariadb-client work with this. (LP: #1483942)

 -- Thomas Ward <email address hidden> Tue, 11 Aug 2015 22:11:15 -0400

Changed in automysqlbackup (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for automysqlbackup has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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