Hello,
When installing a new Percona Cluster server with Ubuntu 20.04, I’m getting a somewhat odd error if I try to install “libperconaserverclient20-dev” to get the “mysql_config_editor” binary.
I can do “apt install percona-xtradb-cluster-server-5.7” and it does install correctly.
Then, I try to install “libperconaserverclient20-dev”. This one depends on libperconaserverclient20 and percona-server-common-5.7. This last one can’t be installed if “percona-xtradb-cluster-server-5.7” is installed too:
apt install libperconaserverclient20-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
libboost-program-options1.71.0
Use ‘apt autoremove’ to remove it.
The following additional packages will be installed:
libperconaserverclient20 percona-server-common-5.7
The following NEW packages will be installed:
libperconaserverclient20 libperconaserverclient20-dev percona-server-common-5.7
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1918 kB of archives.
After this operation, 16.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package percona-server-common-5.7.
(Reading database … 160913 files and directories currently installed.)
Preparing to unpack …/percona-server-common-5.7_5.7.32-35-1.focal_amd64.deb …
Unpacking percona-server-common-5.7 (5.7.32-35-1.focal) …
dpkg: error processing archive /var/cache/apt/archives/percona-server-common-5.7_5.7.32-35-1.focal_amd64.deb (–unpack):
trying to overwrite ‘/usr/include/coredumper/coredumper.h’, which is also in package percona-xtradb-cluster-server-5.7 5.7.31-31.45-3.focal
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package libperconaserverclient20:amd64.
Preparing to unpack …/libperconaserverclient20_5.7.32-35-1.focal_amd64.deb …
Unpacking libperconaserverclient20:amd64 (5.7.32-35-1.focal) …
Selecting previously unselected package libperconaserverclient20-dev.
Preparing to unpack …/libperconaserverclient20-dev_5.7.32-35-1.focal_amd64.deb …
Unpacking libperconaserverclient20-dev (5.7.32-35-1.focal) …
Errors were encountered while processing:
/var/cache/apt/archives/percona-server-common-5.7_5.7.32-35-1.focal_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have checked that all related packages are provided by Percona’s repo. This machine only has Ubuntu default repos and the ones set up by percona-release_latest.focal_all.deb.
Looks like there is an issue with those packages. Can anyone check?
Thank you.