Näyttää siltä, että mysql-common ei olekaan poistunut eli eiliset poistoyritykset eivät kokonaan onnistuneet.
sudo apt install mysql-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-common is already the newest version (5.8+1.0.4).
The following package was automatically installed and is no longer required:
libevent-core-2.1-6
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Poistin sen
sudo apt-get purge mysql-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libevent-core-2.1-6
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
mysql-client* mysql-client-5.7* mysql-common*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 31.3 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 40385 files and directories currently installed.)
Removing mysql-client (5.7.30-0ubuntu0.18.04.1) ...
Removing mysql-client-5.7 (5.7.30-0ubuntu0.18.04.1) ...
Removing mysql-common (5.8+1.0.4) ...
update-alternatives: warning: alternative /etc/mysql/my.cnf.fallback (part of link group my.cnf) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/my.cnf is dangling; it will be updated with best choice
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
(Reading database ... 40337 files and directories currently installed.)
Purging configuration files for mysql-common (5.8+1.0.4) ...
ja asensin uudestaan
sudo apt install mysql-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libevent-core-2.1-6
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
mysql-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/7308 B of archives.
After this operation, 34.8 kB of additional disk space will be used.
Selecting previously unselected package mysql-common.
(Reading database ... 40334 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.8+1.0.4_all.deb ...
Unpacking mysql-common (5.8+1.0.4) ...
Setting up mysql-common (5.8+1.0.4) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
nyt pehmolinkit ovat paikoilaan
ls -l /usr/share/mysql-common/configure-symlinks
-rwxr-xr-x 1 root root 276 Aug 3 2016 /usr/share/mysql-common/configure-symlinks
Seuraavaksi pitänee asentaa mysql-server ja mysql-client, mutta laitan tämän väliaikaisvarmistuskyselynä ennen kuin ehdin tehdä mitään asennuksia, joiden poistamisessa joudun ongelmiin.