Get Redhat updates without subscription, fix cPanel “No method to auto repair package system” EasyApache error
A Red Hat 4 server could not rebuild Apache or PHP with cPanel’s EasyApache. It kept getting a no method to auto repair package system error. cPanel support said this was due to the Red Hat subscription expiring.
Instead of paying for another $375 subscription just to get some updates, I migrated the server to the corresponding Centos 4.x release. I then made the proper packages were excluded in the first yum [main] block:
exclude=apache* bind-chroot courier* dovecot* exim* httpd* mod_ssl* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*
and then yum list and yum update worked.
Migrate Redhat 4 to Centos 4
To migrate from Redhat 4 to Centos 4:
If one of the rpm links do not work check http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/ for latest version.