Wrong dependency for MD5
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
2.3 |
Fix Released
|
High
|
EvgeniyPatlan | |||
2.4 |
Fix Released
|
High
|
EvgeniyPatlan |
Bug Description
This was introduced by the fix for:
#1644018 No dependency check in RPM package for Perl Digest::MD5
2.4.6 adds a dependency on perl-MD5
$ repoquery --requires percona-
perl(DBD::mysql)
perl-MD5
$ repoquery --requires percona-
perl(DBD::mysql)
This is correctly indicated by the release notes.
https:/
But I don't see where this dependency is defined in percona-
$ git grep perl-MD5
storage/
storage/
$ cat XB_VERSION
XB_VERSION_MAJOR=2
XB_VERSION_MINOR=3
XB_VERSION_PATCH=6
XB_VERSION_EXTRA=
$ grep '^Requires:' ./storage/
Requires: perl(DBD::mysql), rsync
Requires: percona-xtrabackup = %{version}
Requires: /usr/bin/mysql
So I can't fix this by sending a pull request. Looks like the spec file in the repo is outdated.
My problem is that perl-MD5 is deprecated:
$ rpm -ql perl-MD5
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
$ head -1 /usr/share/
This module is depreciated. Please use Digest::MD5 instead.
I do have Digest::MD5 installed:
$ rpm -qf /usr/lib64/
perl-5.
So probably the spec file should be changed from:
Requires: perl-MD5
To:
Requires: perl(Digest::MD5)
This is on CentOS 6.8
tags: | added: pkg |
Hi Daniël.
Thanks a lot for the provided information. 10.1-141. el6_7.1. x86_64 package.
In general perl(Digest::MD5) is included into base perl-5.
Yes you are right that perl-MD5 is deprecated.
As for now you can jist install perl-MD5 package from epel repo. It will not overwrite any files and you will be able to successfully install xtrabackup.
For the next release we will remove this dependency.