Skip to main content

/etc/yum/universal-hooks/posttrans/cp_clear_packman_cache is not executable

Comments

12 comments

  • cPanelMichael
    Hello :) You can check to see if it's a working symbolic link. EX:
    ls -al /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache
    Does the destination file exist? Here's how it looks on a test system:
    # ls -al /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache lrwxrwxrwx 1 root root 45 Mar 22 17:57 /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache -> /usr/local/cpanel/scripts/clear_packman_cache*
    Thank you.
    0
  • Peter Grahn a.k.a Lite
    Yes, it came up as red; lrwxrwxrwx. 1 root root 45 Apr 19 19:30 /etc/yum/universal-hooks/posttrans/cp_cl ear_packman_cache -> /usr/local/cpanel/scripts/clear_packman_cache But chmod +x seems to have sorted it. Anyway, this has occurred on two different severs now so it seems to be a bug in the code..? Thanks!
    0
  • TerranceR
    Hello, It seems like you may have not used CloudLinux's Conversion Script, did you follow the instructions at Beta: EasyApache 4 released for CloudLinux ?
    0
  • Peter Grahn a.k.a Lite
    I did indeed and for all installations I had to follow the instruction: If you have some conflicts with Installing profile during migration "/etc/cpanel/ea4/profiles/custom/ea3_state_at_migration-****************.json", just install cPanel default profile. Three servers, same result all installed fresh.
    0
  • TerranceR
    It does appear that there is a bug with this as I have checked my own server and have the same situation, does "/scripts/clear_packman_cache" exist for you?
    0
  • rootbase
    saw the same behavior on my non Cloud Linux cPanel install today, last night it upgraded to Release 56: seans@whm [~]# ls -las /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache 0 lrwxrwxrwx. 1 root root 45 Mar 17 21:47 /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache -> /usr/local/cpanel/scripts/clear_packman_cache seans@whm [~]# /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache -bash: /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache: No such file or directory seans@whm [~]# ls -las /scripts/clear_packman_cache /bin/ls: cannot access /scripts/clear_packman_cache: No such file or directory
    0
  • cPanelMichael
    Hello :) The "/usr/local/cpanel/scripts/clear_packman_cache" file was intentionally removed in cPanel version 56 per the following case: Fixed case CPANEL-3874: Removing caching from packman that is no longer needed. A new case, EA-4362, is open to resolve an issue where the following message appears whenever a package is updated in EasyApache 4: !!!! /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache is not executable You can safely ignore this output until we release a resolution, as it should not prevent YUM from successfully updating. Thank you.
    0
  • freedomizer
    This message still appears as of July 3, 2016. Just upgraded to EA4, non CloudLinux server.
    cat: /scripts/clear_packman_cache: No such file or directory
    0
  • cPanelMichael
    Hello, The case is still open at this time. I'll update this thread once the resolution has been published. Thanks!
    0
  • kernow
    3 months on,.............. any update on this?
    0
  • cPanelMichael
    Hello, There's no update to report on case EA-4362 at this time, however I've linked this thread to the case to ensure the customer feedback is noted. In the meantime, the message output should not prevent EasyApache from working as intended. Thank you.
    0
  • cPDan
    Greetings! quick update on this. TL;DR: an autofixer is in progress that will fix this (ref: CPANEL-9364) Details: When the packman caching was removed the script that ensured the yum hook symlink was correct, clear_packman_cache, was removed but the symlink was overlooked. In the meantime: [LIST]
  • the error does not affect the yum transaction so it is safe to ignore
  • if you'd rather not wait for the autofixer it is safe to `rm /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache` Thanks!
  • 0

Please sign in to leave a comment.