1 |
Jarry wrote: |
2 |
|
3 |
> Hi, |
4 |
> |
5 |
> I wanted to emerge "sendmail" (for a few reasons I don't want to |
6 |
> use other MTA), and I see, that it is blocked by "ssmtp". Because |
7 |
> I did not installed it, it must have been emerged as a dependency |
8 |
> of some other package. |
9 |
> |
10 |
> Q1: Is it possible to find, which package depends on ssmtp and |
11 |
> caused ssmtp to be emerged? |
12 |
> |
13 |
> I want to unmerge ssmtp and emerge sendmail, but I don't want to |
14 |
> break some dependencies on my system. In manual there is BIG WARNING |
15 |
> that portage does not check dependencies when unmerging... |
16 |
|
17 |
If a package needs to send mail it requires that there be a package |
18 |
installed that can do it. If you don't have anything installed this will |
19 |
default to ssmtp. However you *SHOULD* be able to to simply unmerge it, |
20 |
then emerge sendmail and it will work. If you are worried about it |
21 |
breaking things, just try a: |
22 |
emerge -Duvp world |
23 |
If it complains about wanting to install ssmtp again, then there is |
24 |
something explicitly depending on it. However if it is quite happy then |
25 |
it was a dependency on ssmtp, but rather a dependency that there be some |
26 |
way to send mail, and ssmtp is the simplest way to acheive that. While I |
27 |
doubt it, something may also have been linked against ssmtp, you can try |
28 |
a revdep-rebuild after you unmerge it. If there is anything broken it |
29 |
will complain and re-emerge the broken packages so they can be re-linked. |
30 |
|
31 |
Shawn |
32 |
-- |
33 |
gentoo-user@g.o mailing list |