MySQL Forums
Forum List  »  Install & Repo

Re: Trying to install MySQL on Ubuntu 18.04
Posted by: Cecil Carpenter
Date: September 10, 2019 03:12PM

I decided to rerun your commands. On the apt-get purge command, I get:

sudo apt-get --yes purge mysql-server mysql-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-client' is not installed, so not removed
The following packages will be REMOVED:
mysql-server*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 110 kB disk space will be freed.
(Reading database ... 288455 files and directories currently installed.)
Removing mysql-server (5.7.27-0ubuntu0.18.04.1) ...
Setting up mysql-server-5.7 (5.7.27-0ubuntu0.18.04.1) ...
update-alternatives: error: alternative path /etc/mysql/mysql.cnf doesn't exist
dpkg: error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)

I wonder about the line "2 not fully installed or removed"? Also, from the messages it is not clear to me that a complete removal was successful.

Options: ReplyQuote


Subject
Written By
Posted
Re: Trying to install MySQL on Ubuntu 18.04
September 10, 2019 03:12PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.