I'm at the state of frustration trying to install MySQL 8.0 on my Ubuntu 18.04 box. I have searched and see many answers (and also a lot of posts about failures) but nothing is working.
I start by the following:
wget https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb
And then this:
dpkg -i mysql-apt-config_0.8.13-1_all.deb
On checking my apt package I see a new file created, /etc/apt/sources.list.d/mysql.list
, but the content can't possibly be right for 8.0! - content here:
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-apt-config
# deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-5.7
deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools
#deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools-preview
# deb-src http://repo.mysql.com/apt/ubuntu/ bionic mysql-5.7
Anyway, next step is this:
dpkg -i mysql-apt-config_0.8.13-1_all.deb
This give me a UI which looks correct:
Leading to this selection:
When I select OK on THIS option, I am sent back to the first screenshot. Then that takes me to the 2nd. I am now in an infinite loop. When I hit escape, I get the following message:
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package mysql-apt-config)
At this point, I don't know what further steps to take. My thoughts are, is there any way to install MySQL 8.0 directly without apt-get? I am appreciative of any and all solutions here, thanks.