Install mysql-shell from apt repository I want to install and configure a high availability cluster for Mysql 8. To automate that, I want to use use apt repository (via ansible).
My servers are debian jessy (8) distribution.

I succesfully installed mysql server with commands :

&gt; sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5
&gt; echo "deb http://repo.mysql.com/apt/debian jessie mysql-8.0" | \ sudo tee /etc/apt/sources.list.d/mysql80.list
&gt; sudo apt update
&gt; sudo apt install mysql-server


It works fine. Now I want to install Mysql shell to manage a InnoDB cluster. It seems that it is available via apt repository as mentioned in this page :
https://dev.mysql.com/downloads/repo/apt/
And installation is explained here :
https://dev.mysql.com/doc/refman/8.0/en/installing-mysql-shell-linux-quick.html

But when I execute a install via reposiory, I get an error :

&gt; sudo apt-get install mysql-shell


with the message :


  Reading package lists... Done Building dependency tree Reading state
  information... Done E: Unable to locate package mysql-shell


I have same error with server running on debian stretch (9).
I solved the problem by adding the apt repository mysql-tools :
deb http://repo.mysql.com/apt/debian/ stretch mysql-tools

It works for Debian 9 (stretch). Not tested for Debian 8 (jessie).