Updated: 28 September 2026 · Applies to: CloudLinux OS

"GLib-WARNING: GError set over the top of a previous GError" from yum is caused by an outdated alt-libxml2 package that overrides the system libxml2.

Fix (root)

rm -f /etc/ld.so.conf.d/alt-libxml2.conf
ldconfig
yum update alt-libxml2

Related services

Managed cPanel VPS

cPanel included; we handle updates, security and monitoring.

cPanel server management

hardening, migrations and 24/7 monitoring, with no long-term contract.

cPanel, Plesk and LiteSpeed licences

for VPS and dedicated servers, with installation help on demand.

Was this answer helpful?

Still stuck? Open a ticket