Xan wrote:
I believe what he was driving at is that if you tell the system you specifically want mysql-server, it won't automatically remove it.
How do you tell the system I specifically want to keep mysql-server?
Code:
root@g [/etc]# apt-get install mysql-server
Reading Package Lists... Done
Building Dependency Tree... Done
mysql-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
SteveG - Ahh, I think I understand what you mean now. For example mysql-server will occasionally check for corrupt tables (I think on daemon restart), and if it finds any, it emails me. Now that I think about it, it must be using postfix or mailx to send those mails. Now that makes sense as to why mysql-server depends on mailx and postfix. I also see your point about other things not depending on it, like apache2 or crond for example.
Well I have installed a different MailServer, although it is 3rd party software, not a standard mta such as postfix or exim. Does anybody know how to configure mysql-server to use a sendmail binary, or specifically tell it not to use postfix.
Edit: I did some more searching, and SteveG was exactly correct:
Quote:
Of course it should be removed. The 'mysql-server' package depends on 'mailx', which depends on 'mail-transfer-agent'. You removed Exim, which provides 'mail-transport-agent', but did not provide a replacement, so the only thing to do was to remove 'mailx', which meant that 'mysql-server' had to go too.
The fix, of course, is to install something else that provides 'mail-transfer-agent'.
Now my question is how can I make it so that my 3rd party mail server program 'provides' the mail-transfer-agent dependency?