An existing 8.0.12 installation from experimental does not show as suitable for an upgrade after switching to main.
=> dpkg -l percona-server-server-8.0 | tail -n1
ii percona-server-server-8.0 8.0.12-1-1.alpha.bionic amd64 Percona Server database server binaries
The package name changed, so that hides things at first.
Attempting to install percona-server-server after enabling the ps-80 repo then indicates that the install might make changes to the datadir as it is detected as non-empty and additionally root authentication and default authentication plugin notices appear; both of these may well be upstream
Installation then fails to to package ownership of /etc/mysql/my.cnf:
=> sudo apt-get install percona-server-server Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libevent-core-2.1-6 percona-server-client percona-server-common
The following packages will be REMOVED
The following NEW packages will be installed
libevent-core-2.1-6 percona-server-client percona-server-common percona-server-server
0 to upgrade, 4 to newly install, 2 to remove and 17 not to upgrade.
Need to get 46.4 MB of archives.
After this operation, 11.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http:Get:2 http:Get:3 http:Get:4 http:Fetched 46.4 MB in 6s (7,933 kB/s)
Preconfiguring packages ...
(Reading database ... 301439 files and directories currently installed.)
Removing percona-server-server-8.0 (8.0.12-1-1.alpha.bionic) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Removing percona-server-client-8.0 (8.0.12-1-1.alpha.bionic) ...
(Reading database ... 301286 files and directories currently installed.)
Preparing to unpack .../percona-server-common_8.0.15-5-1.bionic_amd64.deb ...
Unpacking percona-server-common (8.0.15-5-1.bionic) ...
dpkg: error processing archive /var/cache/apt/archives/percona-server-common_8.0.15-5-1.bionic_amd64.deb (--unpack):
trying to overwrite '/etc/mysql/conf.d/mysql.cnf', which is also in package percona-server-common-8.0 8.0.12-1-1.alpha.bionic
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package percona-server-client.
Preparing to unpack .../percona-server-client_8.0.15-5-1.bionic_amd64.deb ...
Unpacking percona-server-client (8.0.15-5-1.bionic) ...
Selecting previously unselected package libevent-core-2.1-6:amd64.
Preparing to unpack .../libevent-core-2.1-6_2.1.8-stable-4build1_amd64.deb ...
Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)