Issue
The server has no problems with the CloudLinux license and has access to all the necessary repositories, but an error occurs when running yum update. For example:
Error: Package: 1:ea-apache24-mod_lsapi-1.1-56.el7.cloudlinux.x86_64 (cl-ea4)
Requires: liblsapi = 1:1.1-56.el7.cloudlinux
Installed: 1:liblsapi-1.1-55.el7.cloudlinux.x86_64 (@cloudlinux-x86_64-server-7)
liblsapi = 1:1.1-55.el7.cloudlinux
Error: Package: GraphicsMagick-1.3.36-1.el7.x86_64 (epel)
Requires: urw-base35-fonts-legacy
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Environment
- CloudLinux OS
Solution
1. Check the file /etc/yum.conf and make sure that the following lines are present:
gpgcheck=1
plugins=1
2. If the lines are missing - add them. If the previously specified rows are set to 0, you should change it to 1.
3. After that, run the following command:
yum clean all
Useful links
https://linux.die.net/man/5/yum.conf
Comments
0 comments
Please sign in to leave a comment.