[debian-mysql] Bug#841345: Bug#841345: mysql-server-5.7: Unable to switch from mariadb to mysql, "downgrade" is aborted

Bjoern Boschman bjoern at boschman.de
Wed Oct 19 17:31:47 UTC 2016


Hi,

thanks for your bug report.
when it comes to switching between mysql and mariadb versions this might
get tricky as we have to define which versions can be switched and which
not.
To be honest I have no clue which mariadb version could be replaced by
mysql and vica versa.
Maybe some team members (Otto?) may have more insight?

Cheers
B

On Wed, Oct 19, 2016 at 6:53 PM Felipe Sateler <fsateler at debian.org> wrote:

> Package: mysql-server-5.7
> Version: 5.7.15-1
> Severity: important
>
>
> Switching from mariadb to mysql fails with the following error message:
>
> Aborting downgrade from (at least) 10.0 to 5.7.
> If are sure you want to downgrade to 5.7, remove the file
> /var/lib/mysql/debian-*.flag and try installing again.
>
>
> The test[1] seems to be a bit naive, given that mariadb uses the same
> flag file.
>
> Mariadb and mysql are supposed to be drop-in replacements, so switching
> between them should be supported.
>
>
> [1]
> https://sources.debian.net/src/mysql-5.7/5.7.15-1/debian/mysql-server-5.7.preinst/#L81-L87
>
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable-debug
>   APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1,
> 'experimental-debug'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> _______________________________________________
> pkg-mysql-maint mailing list
> pkg-mysql-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20161019/54f946dd/attachment.html>


More information about the pkg-mysql-maint mailing list