I’ve followed the instructions for installing on Debian.
When simulating the install of percona-xtrabackup-80
, it says it will install mariadb-common
.
$ apt-get -s install percona-xtrabackup-80
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libcurl4-openssl-dev libdbd-mysql-perl libdbi-perl libev4 libmariadb3 mariadb-common
I already have mysql-common
installed.
$ apt policy mysql-common
mysql-common:
Installed: 8.0.26-1debian11
Candidate: 8.0.26-1debian11
Version table:
*** 8.0.26-1debian11 500
500 http://repo.mysql.com/apt/debian bullseye/mysql-8.0 amd64 Packages
100 /var/lib/dpkg/status
5.8+1.0.7 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
The rdepends of mariadb-common
states that it Breaks mysql-common
.
$ apt rdepends mariadb-common
mariadb-common
Reverse Depends:
Breaks: mysql-common (<< 10.0.20-3~)
Depends: mariadb-client-core-10.5 (>= 1:10.5.11-1)
Depends: mariadb-server-core-10.5 (>= 1:10.5.11-1)
PreDepends: mariadb-server-10.5 (>= 1:10.5.11-1)
Depends: libmariadb3
Checking the dependencies of percona-xtrabackup-80, there is no mention of mariadb-common.
$ apt show percona-xtrabackup-80
Package: percona-xtrabackup-80
Provides: xtrabackup
Depends: libdbd-mysql-perl, libcurl4-openssl-dev, rsync, libaio1 (>= 0.3.93), libc6 (>= 2.29), libcurl4 (>= 7.16.3), libev4 (>= 1:4.04), libgcc-s1 (>= 3.4), libgcrypt20 (>= 1.8.0), libssl1.1 (>= 1.1.1), libstdc++6 (>= 9)
Conflicts: percona-xtrabackup, percona-xtrabackup-21, percona-xtrabackup-22, percona-xtrabackup-24
Breaks: xtrabackup (<< 2.0.0~)
Replaces: xtrabackup (<< 2.0.0~)
Enhances: mysql-server
Is this intended behavior and/or is there some way to prevent the installation of mariadb-common
?