MySQL-server-5.1 indirectly installs postfix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mysql-server
Postfix is a dependancy for mysql-server on Ubuntu 9.04 server edtion.
MySQL doesn't require a mail server, having postfix as a dependancy also presents lack of choice to user and is counter productive for a server product to install unwanted packages and services on the system.
Packages marked with *** below:
# sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
***bsd-mailx*** libdbd-mysql-perl libdbi-perl libhtml-
Have to run sudo apt-get purge postfix to remove it following MySQL install.
description: | updated |
Well, strictly speaking it is indirectly installed as a Recommends. Had it been a hard dependency you wouldn't have been able to remove postfix, without also having your mysql-server-5.1 removed.
What happens is that mysql-server-5.1 recommends mailx, which depends on bsd-mailx, which in turn recommends postfix (or other MTA).
This is a change compared to mysql-server-5.0 where mailx is only Suggested, hence not installed automatically.
I agree that it's not really an expected behavior to have postfix installed when you actually doing an mysql-server install. That said I'm not entirely sure yet if this actually is a bug. Having a minimal MTA (such as send-only) can more or less be considered a must on a standard server.
For now I'll mark this bug as Incomplete, and ask for feedback on it.