Bug #87960 8.0.3 package for ubuntu 17.04 64-bit broken
Submitted: 3 Oct 2017 21:35 Modified: 6 Oct 2017 23:05
Reporter: Peter Brawley (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:8.0.3 OS:Ubuntu (17.04)
Assigned to: CPU Architecture:Any

[3 Oct 2017 21:35] Peter Brawley
Description:
Following instructions at ...

https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#apt-repo-fresh-install

Download mysql-community-server_8.0.3-rc-1ubuntu17.04_amd64.deb from https://dev.mysql.com/downloads/mysql/8.0.html

Now from the terminal ...

sudo dpkg -i Downloads/mysql-community-server_8.0.3-rc-1ubuntu17.04_amd64.deb yields ...

Unpacking mysql-community-server (8.0.3-rc-1ubuntu17.04) ...
dpkg: dependency problems prevent configuration of mysql-community-server:
 mysql-community-server depends on mysql-common (>= 8.0.3-rc-1ubuntu17.04); however:
  Package mysql-common is not installed.
 mysql-community-server depends on mysql-client (= 8.0.3-rc-1ubuntu17.04); however:
  Package mysql-client is not installed.
 mysql-community-server depends on mysql-community-server-core (= 8.0.3-rc-1ubuntu17.04); however:
  Package mysql-community-server-core is not installed.
 mysql-community-server depends on libaio1 (>= 0.3.93); however:
  Package libaio1 is not installed.
 mysql-community-server depends on libmecab2; however:
  Package libmecab2:amd64 is not installed.

dpkg: error processing package mysql-community-server (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (232-21ubuntu5) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 mysql-community-server

How to repeat:
As above

Suggested fix:
I'd give worlds to know
[4 Oct 2017 7:35] Lars Tangvald
Hi,

When using dpkg (as opposed to apt) to install a package, you have to manually install every package and their dependencies.

So to install MySQL 8.0 with dpkg, you need to download and run dpkg -i for all of mysql-common, mysql-community-client, mysql-community-client-core, mysql-client, mysql-community-server and mysql-community-server-core.
Additionally you need to run «apt-get install libaio and libmecab2» for the two external dependencies you are missing.

A simpler way is to configure our third-party apt repository:
* Download the mysql-apt-config.deb file from https://dev.mysql.com/downloads/repo/apt/ and install it with dpkg -i, making sure to select MySQL 8.0 preview from the server list
* Run apt-get update
* Run apt-get install mysql-server
[4 Oct 2017 17:52] Peter Brawley
Thanks, the only problem with that sequence was that dpkg gave a scripting warning, but everything proceeded without error.
[6 Oct 2017 23:05] MySQL Verification Team
Closed according last comment.