apt install mysql-client-core-8.0
Package mysql-client-core-8.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mariadb-server mariadb-client-core
Error: Package 'mysql-client-core-8.0' has no installation candidate
Debian 上没有mysql-client-core-8.0这个包, 然而mysql-client-core-8.0 这个包在Ubuntu上有.
如果在Ubuntu上安装mariadb-client-core会提示卸载mysql-client-core-8.0
sudo apt install mariadb-client-core
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libmariadb3 mariadb-common mysql-common
The following packages will be REMOVED:
mysql-client-core-8.0
The following NEW packages will be installed:
libmariadb3 mariadb-client-core mariadb-common mysql-common
0 upgraded, 4 newly installed, 1 to remove and 133 not upgraded.
Need to get 1,271 kB of archives.
After this operation, 45.7 MB disk space will be freed.
Do you want to continue? [Y/n]
