Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Won't Fix
-
Affects Version/s: 10.0.15
-
Fix Version/s: N/A
-
Component/s: Platform Debian
-
Labels:None
-
Environment:Ubuntu Server 14.04
Description
Hello!
I'm not sure whether this is a bug or simply an error occuring in my system only.
I want to migrate to MariaDB 10.0 and follow the best practice guide from MariaDB.
In detail I executed the following steps:
- Start Ubuntu in recovery mode
- Stop service mysql
- Start installation of mariadb-server
The installation will automatically remove mysql-server-5.5 and all depending packages.
However, the configuration of package mariadb-server-10.0 fails with this error:
trying to overwrite '/usr/share/mysql/mysql_system_tables.sql, which is also in package mysql-server-core-5.5
(All details in attached screenshot).
How can I fix this problem?
THX
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Hi,
Could you please point at the best practice guide that you are following? It should probably be updated or fixed.
Installing deb packages manually (i.e. without a package manager like apt-get or similar) is not recommended as best practice, although should be possible. But I don't think dpkg is even expected to take care of dependencies, replacements and such, is it? If you want to install the server this way, you should remove the previous installation.
Note: If you do it carefully, your datadir shouldn't be touched, but creating a backup before an upgrade of any kind is always recommended as the best practice.
Alternatively, you can use a package manager. Normally it would take care of the upgrade, although on Trusty which you are apparently using there is a problem described in
MDEV-5977which you might also encounter. If you do, you can find a workaround in the description of the bug report.See also https://mariadb.com/kb/en/mariadb/documentation/getting-started/binary-packages/installing-mariadb-deb-files/ for some more information about possible installation issues and their resolution.