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@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.
Jim Perrin wrote:
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.
Wow, that is odd but it worked. Learn something new every day :).
Thanks Jim.
johnn
On Mon, 2007-10-15 at 12:28 -0400, Jim Perrin wrote:
On 10/15/07, Johnn Tan linuxweb@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.
FYI -
Exim requires a database to store various bits of information relating to email message reception. The exim RPM has been built such that mysql is required - although Exim can use CDB, DB4, postgresql (I think) and so on.
John.
On 10/15/07, Johnn Tan linuxweb@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