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.
- Connect server via SSH;
-
Create a backup of the current yum cache:
# mv /var/cache/yum/x86_64/7/ /var/cache/yum/x86_64/7_back
-
Clean yum cache:
# yum clean all
-
Re-run installation/update/upgrade of Plesk:
# plesk installer update
Comments
Please sign in to leave a comment.