[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#508644: general: installing mdadm pulls in citadel-server as depedency



Hasse Hagen Johansen wrote:
> Yes. Actually like the virtual packages work right now it probably ok to
> just take one of the packages satisfying the mail-transfer-agent.

jup.

> But right now I don't quite understand how apt-get/aptitude would pick the
> mail-transfer-agent to use? is it first hit of a package with Provides
> mail-transfer-agent? in some package cache or something?

it takes the first package, alphabetically, that provides
mail-transport-agent and installs that to fulfil the relation to the
virtual-package.

> Maybe apt-get/aptitude could just asks the user when they find that
> multiple packages Provides the dependency?

package maintainers should just fix their packages...

> I know that would not work non-interactively, but that could be solved
> with maybe having some file a standard place telling apt-get/aptitude
> which are the official debian standard package for a Virtual package and
> install that?

...by using 'exim4 | mail-transport-agent' instead of
'mail-transport-agent'.

iirc some time ago, someone wanted to add another layer
(default-mail-transport-agent) so that all packages would be factually
defaulting to install the same package to fulfil the
mail-transport-agent relation when being installed first time, but that
got somehow lost.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



Reply to: