Using "mysql-common" as a package name for a MariaDB package is showstopper for adding us into any Debian repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
High
|
Kristian Nielsen |
Bug Description
Background:
Packages built by MariaDB buildbot system can be seen here: http://
Packages from OurDelta are here: http://
MariaDB deb packages contain packages "mysql-common" and "libmysqlclient16". OurDelta additionally ships a "libmysqlclient
This issue was in fact reported once, but we decided to ignore it then: https:/
Problem:
Since this is the exact name of a package that already exists in Debian (the original mysql-common from MySQL) then this prevents MariaDB from being in a Debian repository.
The current package naming seems to have been chosen as a work around to solve some behavior where APT would prefer to install a MySQL package instead of an Ourdelta package (and this is inherited in current MariaDB packaging). (I will post in a comment an IRC discussion of the details with more info.)
Solution:
MariaDB must have unique package names and use Provides: and Conflicts: to properly replace existing MySQL packages. It is not a correct solution to produce packages that have the identical same name as the MySQL package.
There could be many different solutions. At the moment it is unclear why apt-get proposes to install a package that shouldn't even be considered since it "Conflict:"s with a package being installed instead. If this is true, it may be considered a bug in apt-get. (This needs to be re-verified as a first step of fixing this bug.)
Alternatively: for "mysql-common" we could decide that on Debian platforms we in fact "Depend:" on the original MySQL package and then provide additions in a "mariadb-common" package that installs additional configurations in /etc/mysql/conf.d/ and similarly we could omit to provide a libmysqlclient16 package at all.
Changed in maria: | |
status: | New → Confirmed |
Changed in maria: | |
assignee: | nobody → Sergei (sergii) |
Changed in maria: | |
milestone: | none → 5.2 |
IRC log of discussing this /lists. launchpad. net/maria- developers/ msg03207. html
https:/