I installed MariaDB and then I tried to uninstall it but I couldn't because it said that it won't downgrade to 5.6 from 10.0..
ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: mysql-server-5.6 5.6.25-0ubuntu0.15.04.1
ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
Uname: Linux 3.19.0-26-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.3
Architecture: amd64
Date: Thu Aug 27 20:39:14 2015
DuplicateSignature: package:mysql-server-5.6:5.6.25-0ubuntu0.15.04.1:subprocess new pre-installation script returned error exit status 1
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationDate: Installed on 2015-08-24 (4 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
Logs.var.log.daemon.log:
MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.etc.mysql.mysql.conf.d.mysqld.safe.syslog.cnf:
[mysqld_safe]
syslog
MySQLVarLibDirListing: ['ib_logfile0', 'ibdata1', 'auto.cnf', 'prueba', 'debian-5.6.flag', 'ib_logfile1', 'performance_schema', 'phpmyadmin', 'test', 'mysql']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-3.19.0-26-generic root=UUID=174e17c5-ffbc-43ac-bb2b-35d77cd59538 ro quiet splash vt.handoff=7
RelatedPackageVersions:
dpkg 1.17.25ubuntu1
apt 1.0.9.7ubuntu4.1
SourcePackage: mysql-5.6
Title: package mysql-server-5.6 5.6.25-0ubuntu0.15.04.1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Unfortunately crossgrading from Oracle MySQL 5.6 to MariaDB 10.0 makes changes to the database in /var/lib/mysql/ that cannot be undone automatically, and we don't currently have a technical solution to this. You will need to fix this situation up manually.
IMHO, this is an interaction between MySQL and MariaDB that I think needs to be undone. MariaDB shouldn't write to /var/lib/mysql/ if it is going to make incompatible changes there. Instead it should use /var/lib/mariadb/ or something. I have proposed a solution previously on the pkg-mysql-maint list, but we have been working on other requirements to make a proper fix work first. We're not quite finished with the transition yet (mostly waiting on me), but let's keep this bug open to track this item.