Hi All , I am new to this Debian and Percona tool and want to upgrade Percona mysql 5.7 to v8.0
I can see list of version added in /etc/apt/sources.list.d/percona.list
after this I am trying to install it
apt search percona
percona-server-source/unknown 8.0.25-15-1.stretch amd64
Percona Server 8.0 source
percona-server-common/unknown 8.0.25-15-1.stretch amd64
Percona Server database common files (e.g. /etc/mysql/my.cnf)
apt install percona-server-source
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
libperconaserverclient21 : Depends: percona-server-common (= 8.0.25-15-1.stretch) but it is not going to be installed
mysql-server : Depends: mysql-community-server (= 8.0.25-1debian9) but it is not installable
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
jq libjq1 libmecab2 libonig4 linux-image-4.9.0-13-amd64
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
percona-server-common
The following packages will be REMOVED:
mysql-server percona-server-client-5.7 percona-server-common-5.7 percona-server-server-5.7
The following NEW packages will be installed:
percona-server-common
0 upgraded, 1 newly installed, 4 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 441 kB of archives.
After this operation, 217 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
What steps should I take to install v8 binaries and install Percona Mysql v8
As can be seen on Download Percona Server for MySQL 8.0 (or as you did by checking apt), PS 8 is not compiled for Debian 9.
PS 8.0 is delivered for Debian 10 and Debian 11
Before upgrading to 8.0 you should upgrade Debian 9 to Debian 10 and then you can upgrade to PS 8.0 (suggested path) or you can choose to compile 8.0 yourself and install those packages
My bad. 8.0.25 is still available for Debian 9, but newer versions are no longer available for Debian 9. You should consider upgrading to Debian 10 in the short term.