Articles in this section

Plesk installation/update/upgrade fails: No such file or directory: '/var/cache/yum/x86_64/

Plesk for Linux kb: technical ext: migrator ABT: Group B

Applicable to:

  • Plesk for Linux

Symptoms

  • Plesk installation/update/upgrade fails with the following error in /var/log/plesk/install/autoinstaller3.log:

    CONFIG_TEXT: Error: Cannot open file /var/cache/yum/x86_64/7/epel/packages/log4cplus-1.1.3-0.4.rc3.el7.x86_64.rpm: [Errno 2] No such file or directory: '/var/cache/yum/x86_64/7/epel/packages/log4cplus-1.1.3-0.4.rc3.el7.x86_64.rpm
     

  • The system updates on SSH console are not working with the same error:

    # yum update
    Error: Cannot open file /var/cache/yum/x86_64/7/epel/packages/log4cplus-1.1.3-0.4.rc3.el7.x86_64.rpm: [Errno 2] No such file or directory: '/var/cache/yum/x86_64/7/epel/packages/log4cplus-1.1.3-0.4.rc3.el7.x86_64.rpm

  • Attempt to clean cache of yum with the following command also returns the same error:

    # yum clean all

Cause

Corrupted yum cache.

Resolution

Note: The following procedure requires root access to the server. If you do not have access, please, contact your system administrator.

  1. Connect server via SSH;
  2. Create a backup of the current yum cache:

    mv /var/cache/yum/x86_64/7/ /var/cache/yum/x86_64/7_back

  3. Clean yum cache:

    yum clean all

  4. Re-run installation/update/upgrade of Plesk:

    # plesk installer update

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.