LP #1224061: Packaging problems between 20 and 2.1

Description

**Reported in Launchpad by Martin Arrieta last update 11-09-2013 20:14:01

Conflicts with percona-xtrabackup20 when I'm trying to upgrade.

  1. cat /etc/issue
    CentOS release 6.3 (Final)

  1. rpm -qa | grep -i percona
    Percona-XtraDB-Cluster-client-5.5.31-23.7.5.438.rhel6.x86_64
    percona-xtrabackup-20-2.0.8-587.rhel6.x86_64
    Percona-XtraDB-Cluster-galera-2.6-1.152.rhel6.x86_64
    Percona-XtraDB-Cluster-shared-5.5.31-23.7.5.438.rhel6.x86_64
    Percona-XtraDB-Cluster-server-5.5.31-23.7.5.438.rhel6.x86_64

  1. yum install percona-xtrabackup
    Loaded plugins: fastestmirror, presto
    Loading mirror speeds from cached hostfile

  • base: centos.xfree.com.ar

  • extras: centos.xfree.com.ar

  • updates: centos.xfree.com.ar
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package percona-xtrabackup.x86_64 0:2.1.4-656.rhel6 will be installed
    --> Processing Dependency: perl(DBD::mysql) for package: percona-xtrabackup-2.1.4-656.rhel6.x86_64
    --> Running transaction check
    ---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
    --> Processing Dependency: perl(DBI::Const::GetInfoType) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
    --> Processing Dependency: perl(DBI) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
    --> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
    --> Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
    --> Running transaction check
    ---> Package Percona-Server-shared-51.x86_64 0:5.1.71-rel14.9.589.rhel6 will be installed
    ---> Package perl-DBI.x86_64 0:1.609-4.el6 will be installed
    --> Processing Conflict: percona-xtrabackup-20-2.0.8-587.rhel6.x86_64 conflicts percona-xtrabackup
    --> Finished Dependency Resolution
    Error: percona-xtrabackup-20 conflicts with percona-xtrabackup
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

  1. rpm -e percona-xtrabackup-20
    error: Failed dependencies:
    xtrabackup >= 1.9.0 is needed by (installed) Percona-XtraDB-Cluster-server-1:5.5.31-23.7.5.438.rhel6.x86_64

Solution:

  1. rpm -e percona-xtrabackup-20 --nodeps

  1. yum install percona-xtrabackup

Environment

None

Smart Checklist

Activity

Show:

lpjirasync January 19, 2018 at 10:19 PM

**Comment from Launchpad by: Ignacio Nin on: 11-09-2013 20:13:37

Hello,

This is expected behaviour – the percona-xtrabackup-20 and percona-xtrabackup packages both install /usr/bin/xtrabackup, that's why they are declared as conflicting.

A better solution for upgrading from or downgrading to percona-xtrabackup-20 with yum (i.e. avoiding --nodeps):

  1. yum shell
    > install percona-xtrabackup
    > remove percona-xtrabackup-20
    > transaction run

and viceversa.

Thanks.

Done

Details

Assignee

Reporter

Priority

Smart Checklist

Created January 19, 2018 at 10:19 PM
Updated January 19, 2018 at 10:19 PM
Resolved January 19, 2018 at 10:19 PM