On 13/06/06, David CHANIAL <[EMAIL PROTECTED]> wrote:
Le Mardi 13 Juin 2006 13:25, Kerin Millar a écrit:
> So try:
>
> # echo "mail-mta/ssmtp-2.61" >> /etc/portage/profile/package.provided

i would try it but it is not "a good way" no ?

really, the system is searching for virtual/mta which can be filled by
mail-mta/qmail.

this last is installed without portage, so the "good way" according to me, is
to tell the system that mail-mta/qmail is installed.

i don't know what virtual/qmail is make for, but why the virtual/mta is not
provided by virtual/qmail instead of mail-mta/qmail ???

virtual/qmail is needed by mail-mta/qmail, in this case, it let us to :

-> emerge virtual/qmail only when qmail is installed manually and the
virtual/mta is provided

-> emerge mail-mta/qmail, which need virtual/mta, and so, provide the
virtual/mta too ?

if i'm not wrong, have i to post a bug ?

No, it's not a bug. Consider the effective dependency tree - ssmtp is
the requested package and therefore this is the package that you have
to "provide". Because qmail is _not_ part of the dependency tree,
indicating that it's provided is useless. If you wanted to do it by
specifying qmail then you'd have to do this too:

# echo "virtual/mta mail-mta/qmail" >> /etc/portage/profile/virtuals

By doing that you'd make qmail the default choice for fulfulling
virtual/mta; you should be able to confirm that by running emerge -ptv
spamassassin afterwards. Therefore, you could proceed to put
mail-mta/qmail in package.provided and it should work.

But it would be completely pointless. You'd be overriding a virtual
for no good reason (you're never going to emerge the virtual anyway)
and making things more complicated. Specifying ssmtp is a good way :)

Cheers,

--Kerin

--
[email protected] mailing list

Reply via email to