Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

perl dependency issue in WHM 62

Discussion in 'General Discussion' started by Miguel G, Feb 27, 2017.

Tags:
  1. Miguel G

    Miguel G Active Member

    Joined:
    Jun 4, 2015
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    After upgrading to WHM 62 I can´t update percona-toolkit RPM:

    Code:
    Resolving Dependencies
    --> Running transaction check
    ---> Package percona-toolkit.x86_64 0:3.0.1-1.el6 will be installed
    --> Processing Dependency: perl(Term::ReadKey) for package: percona-toolkit-3.0.1-1.el6.x86_64
    percona/filelists_db                                     | 4.4 MB     00:01     
    
    
    The readkey RPM seems to be installed by cpanel:

    Code:
    root@myserver [/root]# rpm -qa |grep TermReadKey
    cpanel-perl-524-TermReadKey-2.33-1.cp1162.x86_64
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. Miguel G

    Miguel G Active Member

    Joined:
    Jun 4, 2015
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    Code:
    root@myserver [~]# yum install percona-toolkit
    Loaded plugins: fastestmirror, security, tsflags, universal-hooks, verify
    Setting up Install Process
    Loading mirror speeds from cached hostfile
    epel/metalink                                            |  20 kB     00:00     
     * EA4: 185.69.232.245
     * EA4-experimental: 185.69.232.245
     * base: mirror.airenetworks.es
     * epel: fr.mirror.babylon.network
     * extras: mirror.airenetworks.es
     * updates: mirror.airenetworks.es
    EA4                                                      | 2.9 kB     00:00 ...
    EA4-experimental                                         | 2.9 kB     00:00 ...
    base                                                     | 3.7 kB     00:00     
    datadog                                                  | 2.5 kB     00:00     
    extras                                                   | 3.4 kB     00:00     
    percona                                                  | 2.5 kB     00:00     
    updates                                                  | 3.4 kB     00:00     
    varnish-4.1                                              |  951 B     00:00     
    Resolving Dependencies
    --> Running transaction check
    ---> Package percona-toolkit.x86_64 0:3.0.1-1.el6 will be installed
    --> Processing Dependency: perl(Term::ReadKey) for package: percona-toolkit-3.0.1-1.el6.x86_64
    --> Finished Dependency Resolution
    Error: Package: percona-toolkit-3.0.1-1.el6.x86_64 (percona)
               Requires: perl(Term::ReadKey)
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you have an entry for "perl*" on the exclude= line in your /etc/yum.conf file?

    Thank you.
     
  5. Miguel G

    Miguel G Active Member

    Joined:
    Jun 4, 2015
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    I do and I know that some people said in the past it was the only way to install perl dependencies in the past, but I was hoping that was changed in the last versions. Is not?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You should be able to remove the "perl*" entry from the exclude= line in the /etc/yum.conf file. It's no longer required on cPanel systems.

    Thank you.
     
    Bobby_I likes this.
  7. Bobby_I

    Bobby_I Registered

    Joined:
    Jun 1, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    BG
    cPanel Access Level:
    Root Administrator
    That's great! Worked for me, thank you.
     
    cPanelMichael likes this.
Loading...

Share This Page