I just created a brand new VM with Ubuntu server 18.04 and took the same steps I did earlier on another server (also a brand new 18.04 installation), but this time while attempting to install the mysql-server 8.0 it was suddenly failing.
The steps I followed were:
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb
This configured my sources.list to use the 8.0 instead of the 5.x version of mysql.
Executing apt-get install mysql-server
, I got:
mysql-server : Depends: mysql-community-server (= 8.0.12-1ubuntu18.04) but it is not going to be installed
Despite having run commands such as apt-get clean
, apt-get install -f
and apt-get update
several times, and apt-get upgrade
not reporting any held packages, I found this odd. So I tried apt install mysql-community-server
.
Which resulted in the same error, but with missing depends for mysql-community-server-core
and libmecab2
.
When running apt install libmecab2
it tells me it has no installation candidate, but according to the ubuntu packages website it definitely exists in the repository.
I couldn't see anything out of the ordinary in my sources.list
either, and apt-get update
isn't reporting any errors either.
What could be causing this installation to fail? I took the exact same steps on the physical server, and it worked perfectly on that machine.
libmecab2
is in 'universe', so do you have 'universe' repository enabled? (https://packages.ubuntu.com/bionic/libmecab2) – guiverc Aug 02 '18 at 10:54history
between the two machines. If it was me; I'd recognize my adding ' universe' by the commandsudo vi /etc/apt/sources.list
(where I'd have to look in file to see what was done), but you might still see how you added it to both, as only Ubuntu-flavors have 'universe' enabled by default. – guiverc Aug 02 '18 at 11:05As such, I find it fair to say it's not a duplicate.
– xorinzor Sep 24 '18 at 18:06