Uploaded image for project: 'Percona XtraBackup'
  1. Percona XtraBackup
  2. PXB-777

LP #1644018: No dependency check in RPM package for Perl Digest::MD5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Sveta Smirnova last update 13-02-2017 21:40:05

      If Perl module Digest::MD5 is not installed innobackupex will generate error:

      sveta@Thinkie:~/issues/152604$ ./usr/bin/innobackupex --host=127.0.0.1 --port=13001 --user=root backup
      161123 00:45:41 innobackupex: Starting the backup operation

      IMPORTANT: Please check that the backup run completes successfully.
      At the end of a successful backup run innobackupex
      prints "completed OK!".

      Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at - line 693.
      BEGIN failed--compilation aborted at - line 693.
      161123 00:45:41 Connecting to MySQL server host: 127.0.0.1, user: root, password: not set, port: 13001, socket: (null)
      Using server version 5.6.32-78.0-debug-log
      ./usr/bin/innobackupex version 2.3.5 based on MySQL server 5.6.24 Linux (x86_64) (revision id: 45cda89)
      xtrabackup: uses posix_fadvise().
      ...

      Thought backup will continue.

      But RPM package does not list this dependency:

      sveta@Thinkie:~/issues/152604$ rpm -qpR percona-xtrabackup-24-2.4.4-1.el7.x86_64.rpm | grep -i md5
      warning: percona-xtrabackup-24-2.4.4-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
      sveta@Thinkie:~/issues/152604$ rpm -qpR percona-xtrabackup-2.3.5-1.el7.x86_64.rpm | grep -i md5
      warning: percona-xtrabackup-2.3.5-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
      sveta@Thinkie:~/issues/152604$

      Suggested fix: add dependency into RPM package

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lpjirasync lpjirasync (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: