Symptoms
While running YUM updates or installing new packages, you may see errors like the following.
Error: Package: postgresql-server-9.2.24-6.el7_9.x86_64 (cloudlinux-x86_64-server-7)
Requires: postgresql-libs(x86-64) = 9.2.24-6.el7_9
Installed: postgresql-libs-9.2.24-7.el7_9.x86_64 (@updates)
postgresql-libs(x86-64) = 9.2.24-7.el7_9
Available: postgresql-libs-9.2.7-1.el7.x86_64 (cloudlinux-x86_64-server-7)
postgresql-libs(x86-64) = 9.2.7-1.el7
Available: postgresql-libs-9.2.10-2.el7_1.x86_64 (cloudlinux-x86_64-server-7)
postgresql-libs(x86-64) = 9.2.10-2.el7_1
Description
These errors indicate that the server has CentOS packages that should be provided by CloudLinux.
Workaround
You can remove the offending CentOS package and install the CloudLinux version of it with the following command, where PACKAGE is replaced with the actual package name. You want to review the actions the command will perform before confirming it to ensure it will only replace the intended package.
yum swap -- remove PACKAGE -- install PACKAGE
Comments
0 comments
Article is closed for comments.