Severity: normal There is probably room to optimize things, but I cannot see that there would be a huge bug.
This "error" is visible only using aptitude. Normal apt-get will resolve it just fine. And even with aptitude, you just select "yes" to proceed with the suggested dependencies and it will end up installing the correct packages. # aptitude install default-libmysqlclient-dev The following NEW packages will be installed: default-libmysqlclient-dev libc-dev-bin{a} libc6-dev{a} libmariadbclient-dev{ab} libmariadbclient-dev-compat{a} linux-libc-dev{a} manpages{a} manpages-dev{a} zlib1g-dev{a} 0 packages upgraded, 9 newly installed, 0 to remove and 38 not upgraded. Need to get 9423 kB of archives. After unpacking 40.4 MB will be used. The following packages have unmet dependencies: libmariadbclient-dev : Depends: libmariadbclient18 (= 1:10.1.37-3) but it is not going to be installed The following actions will resolve these dependencies: Install the following packages: 1) libmariadb-dev [1:10.3.11-1 (unstable)] 2) libmariadb3 [1:10.3.11-1 (unstable)] 3) libssl1.1 [1.1.1a-1 (unstable)] 4) mariadb-common [1:10.3.11-1 (unstable)] 5) mysql-common [5.8+1.0.4 (unstable)] Keep the following packages at their current version: 6) libmariadbclient-dev [Not Installed] Accept this solution? [Y/n/q/?] y The following NEW packages will be installed: default-libmysqlclient-dev libc-dev-bin{a} libc6-dev{a} libmariadb-dev{a} libmariadb3{a} libmariadbclient-dev-compat{a} libssl1.1{a} linux-libc-dev{a} manpages{a} manpages-dev{a} mariadb-common{a} mysql-common{a} zlib1g-dev{a} 0 packages upgraded, 13 newly installed, 0 to remove and 38 not upgraded. Need to get 10.6 MB of archives. After unpacking 41.3 MB will be used. Do you want to continue? [Y/n/?] y # dpkg -l | grep -iE 'maria|mysql|galera' ii default-libmysqlclient-dev:amd64 1.0.4 amd64 MySQL database development files (metapackage) ii libmariadb-dev:amd64 1:10.3.11-1 amd64 MariaDB database development files ii libmariadb3:amd64 1:10.3.11-1 amd64 MariaDB database client library ii libmariadbclient-dev-compat:amd64 1:10.1.37-3 amd64 MariaDB database development files (libmysqlclient compatibility) ii mariadb-common 1:10.3.11-1 all MariaDB common metapackage ii mysql-common 5.8+1.0.4 all MySQL database common files, e.g. /etc/mysql/my.cnf