[debian-mysql] Jessie -> Stretch Migration

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Wed Dec 7 20:26:36 UTC 2016


Hello Robie

> If in tango-db.postinst you need a MySQL/MariaDB server to be configured
> and running, then I'd have thought you'd need a Pre-Depends on
> "default-mysql-server | virtual-mysql-server" or similar (or use the
> -core equivalents and arrange this yourself). Otherwise the mysql
> package postinst won't be guaranteed to have finished, so the daemon may
> not have been started. I don't know if this is correct, but at least
> that's a starting point.

In fact  I do not need to have a running server on the machine where I install the tango-db service.
I just need to have a working server somewhere.
This is why I did not make it depends on the mysql-server erver.

It there an official way to express: having a running server available. ?

for now I just make the package failed during the installation if there is no running server.

> However, I see that tango-db uses dbconfig-mysql as the mechanism to get
> a database, rather than using mysql packaging directly. So in this case,
> what you should do depends on the interface that dbconfig publishes. I'm
> not familiar with this - dbconfig is not maintained as part of this
> team. So I think perhaps you need to ask the dbconfig maintainer, and if
> there's a problem with what mysql/mariadb packaging is doing then the
> dbconfig maintainer can raise that with us.

In fact my question was more. I have a running service with mysql-server installed on my machine.

I did the upgrade and at the end I do not have a mariadb-server runingon my machine.

I thought that for Jessie -> Stretch it was expected during the upgrade to replace the mysql-server with mariadb.


Is it already available in testing or should I wait before doing this sort ofmigration test.

Cheers

Frederic


More information about the pkg-mysql-maint mailing list