Gentoo Archives: gentoo-user

From: Shawn Haggett <podge@××××××××.com>
To: gentoo-user@l.g.o
Cc: jarry@×××.net
Subject: Re: [gentoo-user] portage: sendmail blocked by ssmtp...
Date: Fri, 22 Jul 2005 09:42:19
Message-Id: 42E0BE74.6090200@podgeweb.com
In Reply to: [gentoo-user] portage: sendmail blocked by ssmtp... by Jarry
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