So I tried installing MariaDB, a replacement for Mysql. The installation failed and Im now in package hell. Ive tried correcting everything with apt-get install -f, but it doesnt work.
Ive basically been going in circles for a full day now trying to resolve dependency issue only to create new ones. Any help would be much appreciated.
Code:
$ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: mariadb-client-10.1 The following NEW packages will be installed: mariadb-client-10.1 0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded. 5 not fully installed or removed. Need to get 0 B/1,093 kB of archives. After this operation, 25.2 MB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 332592 files and directories currently installed.) Preparing to unpack .../mariadb-client-10.1_10.1.14+maria-1~xenial_amd64.deb ... Unpacking mariadb-client-10.1 (10.1.14+maria-1~xenial) ... dpkg: error processing archive /var/cache/apt/archives/mariadb-client-10.1_10.1.14+maria-1~xenial_amd64.deb (--unpack): trying to overwrite '/usr/bin/innochecksum', which is also in package mysql-server-core-5.7 5.7.12-0ubuntu1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Processing triggers for man-db (2.7.5-1) ... Processing triggers for menu (2.1.47ubuntu1) ... Errors were encountered while processing: /var/cache/apt/archives/mariadb-client-10.1_10.1.14+maria-1~xenial_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Comment