Hi Dimitry,
thank you for this report and for your help making Ubuntu better.

Your terminal shows that you are installing upgrading from mysql-5.7, is that 
correct?
The file /var/lib/mysql/debian-5.7.flag indicates a^M
version that cannot automatically be upgraded. Therefore the^M
previous data directory will be renamed to /var/lib/mysql-5.7 and^M
a new data directory will be initialized at /var/lib/mysql.^M
Please manually export/import your data (e.g. with mysqldump) if needed.^M
mv: невозможно переместить '/var/lib/mysql' в '/var/lib/mysql-5.7': Устройство 
или ресурс занято^M
^[[1mdpkg:^[[0m ошибка при обработке архива 
/var/cache/apt/archives/mariadb-server-10.1_1%3a10.1.29-6_amd64.deb 
(--unpack):^M
 new mariadb-server-10.1 package pre-installation script subprocess returned 
error exit status 1^M

May I suggest you to take a look here:
https://jira.mariadb.org/browse/MDEV-11170

Here are what I suggest:
- rollback to mysql-5.7 (see last comment MDEV-11170)
- create a backup of your DB 
https://dev.mysql.com/doc/refman/5.7/en/using-mysqldump.html
- remove mysql-5.7 database (please do a backup before!)
- install mariadb-server-10.1
- import your backup (sql dump) into mariadb

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1757943

Title:
  package mariadb-server-10.1 (not installed) failed to install/upgrade:
  new mariadb-server-10.1 package pre-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.1/+bug/1757943/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to