Percona Server for MySQL 8.0.26-16 - apt-upgrade fail Ubuntu 20.04

I run a server with Ubuntu 20.04 installed from Percona respitory according to instructions on the website.
Everything is working fine and have done so for a long time, but today when doing a sudo apt-update && sudo apt upgrade, I get an error message about unmet dependency

 percona-server-server : Dependent on: percona-server-common (= 8.0.25-15-1.focal) but 8.0.26-16-1.focal is installed

The terminal suggest apt --fix-broken install . ,but it seems that this will downgrade percona ? - Any feedback would be great.

1 Like

Hello @petter5,

Could you please provide us with the output of the following command:

apt list | grep percona

and with the complete output of:

sudo apt upgrade

This could help us to check where the issue could be because our test attempt to update to 8.0.26 version, having 8.0.25 installed, went smoothly:

root@88d30fd3e34c:/# apt update && apt upgrade
Hit:1 focal InRelease
Hit:2 focal InRelease
Hit:3 focal-security InRelease
Hit:4 focal InRelease
Hit:5 focal-updates InRelease
Hit:6 focal-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  percona-server-client percona-server-common percona-server-server
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 68.4 MB of archives.
After this operation, 50.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 focal/main amd64 percona-server-server amd64 8.0.26-16-1.focal [63.5 MB]
Get:2 focal/main amd64 percona-server-client amd64 8.0.26-16-1.focal [4416 kB]
Get:3 focal/main amd64 percona-server-common amd64 8.0.26-16-1.focal [445 kB]
Fetched 68.4 MB in 1s (65.9 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 10623 files and directories currently installed.)
Preparing to unpack .../percona-server-server_8.0.26-16-1.focal_amd64.deb ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
Unpacking percona-server-server (8.0.26-16-1.focal) over (8.0.25-15-1.focal) ...
Preparing to unpack .../percona-server-client_8.0.26-16-1.focal_amd64.deb ...
Unpacking percona-server-client (8.0.26-16-1.focal) over (8.0.25-15-1.focal) ...
Preparing to unpack .../percona-server-common_8.0.26-16-1.focal_amd64.deb ...
Unpacking percona-server-common (8.0.26-16-1.focal) over (8.0.25-15-1.focal) ...
Setting up percona-server-common (8.0.26-16-1.focal) ...
Setting up percona-server-client (8.0.26-16-1.focal) ...
Setting up percona-server-server (8.0.26-16-1.focal) ...

 * Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit.
 * Run the following commands to create these functions:


 * See for more details

invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
1 Like
root@hp-server-1:~# apt list | grep percona

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libperconaserverclient20-dev/ukjent 5.7.35-38-1.focal amd64
libperconaserverclient20/ukjent 5.7.35-38-1.focal amd64
libperconaserverclient21-dev/ukjent 8.0.26-16-1.focal amd64
libperconaserverclient21-zenfs-dev/ukjent 8.0.26-16-1.focal amd64
libperconaserverclient21-zenfs/ukjent 8.0.26-16-1.focal amd64
libperconaserverclient21/ukjent 8.0.26-16-1.focal amd64
percona-backup-mongodb/ukjent 1.6.0-1.focal amd64
percona-mysql-router-zenfs/ukjent 8.0.26-16-1.focal amd64
percona-mysql-router/ukjent 8.0.26-16-1.focal amd64
percona-mysql-shell/ukjent 8.0.26-1-1.focal amd64
percona-release/ukjent,now 1.0-27.generic all [installert]
percona-server-5.7-dbg/ukjent 5.7.35-38-1.focal amd64
percona-server-client-5.7/ukjent 5.7.35-38-1.focal amd64
percona-server-client-zenfs/ukjent 8.0.26-16-1.focal amd64
percona-server-client/ukjent,now 8.0.26-16-1.focal amd64 [installert,auto-fjernbar]
percona-server-common-5.7/ukjent 5.7.35-38-1.focal amd64 [rest-oppsett]
percona-server-common-zenfs/ukjent 8.0.26-16-1.focal amd64
percona-server-common/ukjent,now 8.0.26-16-1.focal amd64 [installert,auto-fjernbar]
percona-server-dbg-zenfs/ukjent 8.0.26-16-1.focal amd64
percona-server-dbg/ukjent 8.0.26-16-1.focal amd64
percona-server-mongodb-36-dbg/ukjent 3.6.23-13.0.focal amd64
percona-server-mongodb-36-mongos/ukjent 3.6.23-13.0.focal amd64
percona-server-mongodb-36-server/ukjent 3.6.23-13.0.focal amd64
percona-server-mongodb-36-shell/ukjent 3.6.23-13.0.focal amd64
percona-server-mongodb-36-tools/ukjent 3.6.23-13.0.focal amd64
percona-server-mongodb-36/ukjent 3.6.23-13.0.focal amd64
percona-server-rocksdb-5.7/ukjent 5.7.35-38-1.focal amd64
percona-server-rocksdb-zenfs/ukjent 8.0.26-16-1.focal amd64
percona-server-rocksdb/ukjent 8.0.26-16-1.focal amd64
percona-server-server-5.7/ukjent 5.7.35-38-1.focal amd64 [rest-oppsett]
percona-server-server-zenfs/ukjent 8.0.26-16-1.focal amd64
percona-server-server/ukjent 8.0.26-16-1.focal amd64 [oppgraderbar fra: 8.0.25-15-1.focal]
percona-server-source-5.7/ukjent 5.7.35-38-1.focal amd64
percona-server-source-zenfs/ukjent 8.0.26-16-1.focal amd64
percona-server-source/ukjent 8.0.26-16-1.focal amd64
percona-server-test-5.7/ukjent 5.7.35-38-1.focal amd64
percona-server-test-zenfs/ukjent 8.0.26-16-1.focal amd64
percona-server-test/ukjent 8.0.26-16-1.focal amd64
percona-server-tokudb-5.7/ukjent 5.7.35-38-1.focal amd64
percona-server-tokudb-zenfs/ukjent 8.0.26-16-1.focal amd64
percona-server-tokudb/ukjent 8.0.26-16-1.focal amd64
percona-toolkit/ukjent,ukjent,now 3.3.1-1.focal amd64 [installert]
percona-xtrabackup-24/ukjent,ukjent 2.4.24-1.focal amd64
percona-xtrabackup-80/ukjent,ukjent 8.0.26-18-1.focal amd64
percona-xtrabackup-dbg-24/ukjent,ukjent 2.4.24-1.focal amd64
percona-xtrabackup-dbg-80/ukjent,ukjent 8.0.26-18-1.focal amd64
percona-xtrabackup-test-24/ukjent,ukjent 2.4.24-1.focal amd64
percona-xtrabackup-test-80/ukjent,ukjent 8.0.26-18-1.focal amd64
percona-xtradb-cluster-5.7-dbg/ukjent 5.7.34-31.51-1.focal amd64
percona-xtradb-cluster-57/ukjent 5.7.34-31.51-1.focal amd64
percona-xtradb-cluster-client-5.7/ukjent 5.7.34-31.51-1.focal amd64
percona-xtradb-cluster-common-5.7/ukjent 5.7.34-31.51-1.focal amd64
percona-xtradb-cluster-full-57/ukjent 5.7.34-31.51-1.focal amd64
percona-xtradb-cluster-garbd-5.7/ukjent 5.7.34-31.51-1.focal amd64
percona-xtradb-cluster-garbd-debug-5.7/ukjent 5.7.34-31.51-1.focal amd64
percona-xtradb-cluster-server-5.7/ukjent 5.7.34-31.51-1.focal amd64
percona-xtradb-cluster-server-debug-5.7/ukjent 5.7.34-31.51-1.focal amd64
percona-xtradb-cluster-source-5.7/ukjent 5.7.34-31.51-1.focal amd64
percona-xtradb-cluster-test-5.7/ukjent 5.7.34-31.51-1.focal amd64


root@hp-server-1:~# sudo apt upgrade
Leser pakkelister ... Ferdig
Skaper oversikt over avhengighetsforhold        
Leser tilstandsinformasjon ... Ferdig   
Du vil kanskje kjøre «apt --fix-broken install» for å rette på dette.
Følgende pakker har uinnfridde avhengighetsforhold:
 percona-server-server : Avhenger av: percona-server-common (= 8.0.25-15-1.focal) men 8.0.26-16-1.focal er installert
                         Avhenger av: percona-server-client (= 8.0.25-15-1.focal) men 8.0.26-16-1.focal er installert
E: Uinnfridde avhengighetsforhold. Prøv «apt --fix-broken install» uten pakker (eller angi en løsning).

1 Like

I hat this problem too. Try apt install percona-server-server instead apt --fix-broken install

1 Like

@stirch Your suggestion might fix the broken install, but not the underlying problem why this suddenly happen. Also, this is a live online system, and I’m afraid of doing anything that might cause trouble.
This system was initially installed in 2016 using ubuntu 16.04 and later upgraded to ubuntu 20.40. All normal upgrades are usually done using alt-get update && apt-get upgrade.

1 Like

I have to do it, because it was on my production server. I haven’t time to dig deep into, but problem the seems to be in the post-istall script of the deb-package.
Another important thing - MySQL 8.0.26-16 is the first stabile version of Mysql 8.0.26 in the percona repository, so before you install the update should turn off the Testing repository

1 Like