Jarry wrote:

Hi,

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...

If a package needs to send mail it requires that there be a package installed that can do it. If you don't have anything installed this will default to ssmtp. However you *SHOULD* be able to to simply unmerge it, then emerge sendmail and it will work. If you are worried about it breaking things, just try a:
emerge -Duvp world
If it complains about wanting to install ssmtp again, then there is something explicitly depending on it. However if it is quite happy then it was a dependency on ssmtp, but rather a dependency that there be some way to send mail, and ssmtp is the simplest way to acheive that. While I doubt it, something may also have been linked against ssmtp, you can try a revdep-rebuild after you unmerge it. If there is anything broken it will complain and re-emerge the broken packages so they can be re-linked.

Shawn
--
gentoo-user@gentoo.org mailing list

Reply via email to