Announcement

Announcement Module
Collapse
No announcement yet.

Installing RPM dependency problems with DBD::mysql and Term::ReadKey

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Installing RPM dependency problems with DBD::mysql and Term::ReadKey

    Hi,

    Trying to install the Percona toolkit RPM and getting dependency errors:

    rpm -isv percona-toolkit-2.0.3-1.noarch.rpm
    error: Failed dependencies:
    perl(DBD::mysql) >= 1.0 is needed by percona-toolkit-2.0.3-1.noarch
    perl(Term::ReadKey) >= 2.10 is needed by percona-toolkit-2.0.3-1.noarch

    I've successfully installed (or so I think) both DBD::mysql and Term::ReadKey, for example:

    running: perl -e 'use DBD::mysql; print $DBD::mysql::VERSION,"\n";'
    outputs: 4.020

    running: perl -e 'use Term::ReadKey; print $Term::ReadKey::VERSION,"\n";'
    outputs: 2.30

    So from what I can tell, in both cases, the library versions are above the required version numbers.

    Is this not the correct way to use this RPM?

    Thanks

  • #2
    I've resolved this issue by installing the corresponding RPM packages for perl-DBD and Term ReadKey from http://pkgs.repoforge.org/

    Comment


    • #3
      So I suppose the issue was that you'd installed them with CPAN or something, but not through RPM, so RPM didn't know they were installed?

      Comment


      • #4
        That sounds about right. I installed them them through cpan without a problem, but RPM didn't know about it.

        Comment

        Working...
        X