WHM server पर EasyApache 4 के बाहर YUM errors अक्सर conflicting letsencrypt-cpanel package या पुराने repository data के कारण आते हैं। नीचे clean-up process दिया गया है।
पूर्व आवश्यकताएँ
- WHM/cPanel server पर root access
- SSH access
चरण 1: System update करें
yum update
चरण 2: Conflicting package हटाएँ
yum remove letsencrypt-cpanel
Debian-based system पर आवश्यकता होने पर:
apt remove letsencrypt-cpanel
चरण 3: पुरानी repository archive करें
mkdir -p /root/fleetssl-archive/ mv -v /etc/yum.repos.d/letsencrypt.repo /root/fleetssl-archive/letsencrypt.repo.$(date +%Y%m%d)
चरण 4: YUM cache साफ़ करें
yum clean all yum makecache
चरण 5: Let’s Encrypt AutoSSL provider install करें
/usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider
चरण 6: Final update चलाएँ
yum update
इन steps के बाद repository conflict और YUM error resolve होना चाहिए। Server को updated रखें और package conflicts को समय पर ठीक करें।