On 05/07/21 10:48, Jarry wrote:
> I wanted to emerge "sendmail" (for a few reasons I don't want to
> use other MTA), and I see, that it is blocked by "ssmtp". Because
> I did not installed it, it must have been emerged as a dependency
> of some other package.
> 
> Q1: Is it possible to find, which package depends on ssmtp and
>     caused ssmtp to be emerged?
> 
> I want to unmerge ssmtp and emerge sendmail, but I don't want to
> break some dependencies on my system. In manual there is BIG WARNING
> that portage does not check dependencies when unmerging...
> 
> Q2: How can I get list of all packages, installed on my comp, with
>     their dependencies?

If you want you can enable the "mailwrapper" use flag, which enables
multiple MTAs to be installed at the same time. Then you just edit
/etc/mail/mailer.conf to switch which MTA to be used...

Or you just "emerge -C ssmtp && emerge sendmail" and everything should
be fine.

-- 
Regards,
  Patrick Börjesson

PGP signature: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21792A5D
PGP fingerprint: 74AF D4EF 6BDE CF77 16BE  6A29 CDB8 7607 2179 2A5D

Attachment: pgpkRSsB6RIW4.pgp
Description: PGP signature

Reply via email to