I installed a CentOS-5 core OS (using --nobase in my kickstart). For some reason, it included mysql-5.0.22. When I do "yum remove mysql", it says it will also remove exim and mdadm for dependencies. I don't care that exim will be removed, but I need mdadm as I'm doing software RAID. But why are these even related? When I do: rpm -q --requires mysql neither exim or mdadm is listed as being a requirement. johnn
On 10/15/07, Johnn Tan <linuxweb at gmail.com> wrote:> I installed a CentOS-5 core OS (using --nobase in my kickstart). > > For some reason, it included mysql-5.0.22. > > When I do "yum remove mysql", it says it will also remove > exim and mdadm for dependencies.> I don't care that exim will be removed, but I need mdadm as > I'm doing software RAID. > > But why are these even related? When I do: > rpm -q --requires mysql > neither exim or mdadm is listed as being a requirement.This is an odd dep chain. It would seem that exim requires mysql for some odd reason. mdadm doesn't, but does require that the system have an smtp-daemon, which is a dep satisfied by exim, postfix, or sendmail. mostly, install sendmail or postfix, and you can then remove exim and mysql without fear. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
On 10/15/07, Johnn Tan <linuxweb at gmail.com> wrote:> I installed a CentOS-5 core OS (using --nobase in my kickstart). > > For some reason, it included mysql-5.0.22. > > When I do "yum remove mysql", it says it will also remove > exim and mdadm for dependencies. > > I don't care that exim will be removed, but I need mdadm as > I'm doing software RAID. > > But why are these even related? When I do: > rpm -q --requires mysql > neither exim or mdadm is listed as being a requirement.Johnn, I've had the same issue. The solution is to include postfix (or sendmail) into your kickstart configfile. That resolves the smtpdaemon dependency for mdadm and it keeps you from getting mysql. Regards, Tim -- Tim Verhoeven - tim.verhoeven.be at gmail.com - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds)