03.16.08

Resolving that annoying perl dependency

Posted in General Interest, Miscellaneous at 9:41 am by stonecypher

I’m just posting this up here because I always forget how to fix it and because it usually takes me 15 minutes to track down again.  When you enable the CentOS web stack, perl is excluded - which is generally correct - except that dependencies require (currently) 5.8.8 whereas that is not provided by the base repos.  If you hit that, you’ll get a message along these lines:

Error: Missing Dependency: perl(:MODULE_COMPAT_5.8.8) is needed by package perl-DBD-MySQL

So, the way to fix that is to change the priority of CentOS Plus to 1 temporarily, yum clean all, install perl - which will get current, which is 5.8.8, put CentOS Plus back where you had it (presumably 2), and go back to what you were doing.