Issue with yum update in Cloud Linux 8.5

dws

Verified User
Joined
Mar 10, 2007
Messages
16
Hi, Good morning.

I'm having an error with curl when i try to update my server.
Bash:
yum update
This system is receiving updates from CloudLinux Network server.
cloudlinux-x86_64-server-8                                                              0.0  B/s |   0  B     00:00 
Errors during downloading metadata for repository 'cloudlinux-x86_64-server-8':
  - Curl error (27): Out of memory for https://xmlrpc.cln.cloudlinux.com/XMLRPC/GET-REQ/cloudlinux-x86_64-server-8/repodata/repomd.xml []
Error: Failed to download metadata for repo 'cloudlinux-x86_64-server-8': Cannot download repomd.xml: Curl error (27): Out of memory for https://xmlrpc.cln.cloudlinux.com/XMLRPC/GET-REQ/cloudlinux-x86_64-server-8/repodata/repomd.xml []

I have contacted CloudLinux support and they told me to ask support from Direct Admin because it seem that DirectAdmin has a modified version of libcurl?


Please somebody can tell me how to proceed. @DirectAdmin Support @smtalk
 
Last edited:
You need to choose between the
curl binary provide in CL
or
use the source curl in CB

If you want the CL curl
set
Code:
curl = no
in the options.conf
this will turn off curl in custom build

if you want CB curl
you need to remove curl
from CL
with the with the
Code:
yum remove curl

If you have both installed it causes issues.
 
Thanks @bdacus01

I have tried to remove Cl curl by

Code:
yum remove curl

Result:
Error:
Problem: The operation would result in removing the following protected packages: dnf

If I disable curl on Custom Build ¿ How do I remove curl compiled by custombuild? which command have I to execute in custombuild to remove curl.

Thanks @bdacus01
 
I have the same problem. Anyone from DA can explain the difference between two versions, please?
 
Anyone from DA can explain the difference between two versions, please?
Did you already compare versions? Normally they should be the same versions.
We don't use Cloudlinux and have 2 versions running on Centos 7 and never had issues.
 
Oke so this means Cloudlinux is using an older version than Directadmin, which explains things.

Using the one from yum/dnf and DA should be the same version. Since Cloudlinux is giving another yum repo, there is a difference which causes isseus.
So for people using Cloudlinux it's best to use only one version anyway. The issue you're pointing to is about something which is deprecated, but it's best to only use the Cloudlinux version with Cloudlinux anyway I think.
 
the difference between two versions
The one in DA is the original Open source project Source compiled version

The one in OS' like Debian, RH, Centos, and other clones. Is their binary complied as a .deb or .rpm.

You should install only one. The one in the OS' is likely to be not as updated as the source one in CB.

Hope that helps.
 
It's been patched to fix the mentioned bug. To update:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build curl
 
Back
Top