Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[gentoo-user] emerge wants to install ssmtp...why?

 
   Soft32 Home -> Linux -> User RSS
Next:  [gentoo-user] Harddisk Problem  
Author Message
Matthew Landry

External


Since: Aug 05, 2004
Posts: 6



(Msg. 1) Posted: Thu Aug 05, 2004 6:00 am
Post subject: [gentoo-user] emerge wants to install ssmtp...why?
Archived from groups: linux>gentoo>user (more info?)

I have postfix installed on this machine. I like postfix. And since
this is the mail server for my domain, I very emphatically do not want
something which will overwrite any component of postfix. So why, all of a
sudden, does emerge want to install ssmtp when I do an update?

***

$ emerge -puUD world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild U ] sys-devel/autoconf-2.59-r4 [2.59-r3]
[ebuild N ] app-crypt/hashalot-0.3
[ebuild U ] sys-apps/cronbase-0.3 [0.2.1-r3]
[ebuild U ] sys-apps/man-1.5m-r1 [1.5l-r6]
[ebuild N ] sys-kernel/gentoo-sources-2.4.26-r7
[ebuild U ] dev-libs/libxml2-2.6.11 [2.6.7]
[ebuild N ] mail-mta/ssmtp-2.60.9
[ebuild U ] app-editors/vim-core-6.3-r1 [6.3]
[ebuild U ] sys-apps/file-4.09 [4.08]
[ebuild U ] dev-libs/glib-2.4.4 [2.4.1]
[ebuild U ] x11-libs/gtk+-2.4.4 [2.4.1]
[ebuild U ] sys-libs/device-mapper-1.00.17-r1 [1.00.08]

***

My daily sync was performed at 0300 CDT, so everything should be
pretty current (less than an hour old as I type this).
--
Matthew Landry mbl.TakeThisOut@lelnet.com O-
LEL Network Services Anti-Stupid Talisman
"You don't have to outrun the bear. Just outrun the slowest hiker."
GPG Fingerprint: 842E B9FC BA37 3C4F BBFA 91A8 CA08 40FB 8561 71A7

--
gentoo-user.TakeThisOut@gentoo.org mailing list
Back to top
Login to vote
Duncan

External


Since: May 06, 2004
Posts: 382



(Msg. 2) Posted: Thu Aug 05, 2004 9:40 am
Post subject: [gentoo-user] Re: emerge wants to install ssmtp...why? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Matthew Landry posted <20040805085520.GA22355.DeleteThis@finitysend.lelnet.com>,
excerpted below, on Thu, 05 Aug 2004 03:55:21 -0500:

> I have postfix installed on this machine. I like postfix. And since
> this is the mail server for my domain, I very emphatically do not want
> something which will overwrite any component of postfix. So why, all of a
> sudden, does emerge want to install ssmtp when I do an update?

ssmpt is the Gentoo system default MTA. While there's a virtual MTA
setup, that postfix should provide so you wouldn't need ssmtp, apparently
something is either dependent on ssmtp directly or your virtuals are
messed up.

Try adding the -t option to your -puUD. t=tree, and will reverse the
order and indent so you can see what's trying to pull it in. You can then
investigate why, and file a bug on it if necessary.

FWIW, here ssmtp (only) is installed, and -t shows it as being a
dependency of sys-apps/vixie-cron.

That's about the limit of my ability to help with that, as while ssmtp is
installed as the default mta for the system, I don't run it and only use
KMail set up for internet mail only. However, a couple additional comments.

1) I noticed you didn't use -v (verbose). If that was just to be more
concise with your post, great, but using it does display the use flags
each package uses and their status, which can be helpful at times. Thus,
try it, if you weren't aware of it already.

2) The use of -U (update only, no downgrades) is depreciated and strongly
discouraged, and the flag may be removed entirely at some point. Among
other things, it will prevent downgrades when a keyword is removed for
security or serious bug reasons. The preferred alternative is using
/etc/portage/package.keywords, to individually list exceptions to your
normal arch/~arch keyword in make.conf. If by some chance you are using
packages not keyworded for your arch at all, copy the ebuild to your
portage overlay and change the keywording there as necessary, then use
ebuild digest to re-md5sum it. (In the overlay case, occasional packages
may need additional files moved into the overlay as well.) By doing this,
you will remove the necessity of using the -U flag, and when something
DOES come up as a downgrade candidate, you can investigate further (if
desired) and find out why, security issue or whatever, and either
package.keyword it or let it downgrade as necessary.

--
Duncan - List replies preferred. No HTML msgs.
"They that can give up essential liberty to obtain a little
temporary safety, deserve neither liberty nor safety." --
Benjamin Franklin



--
gentoo-user.DeleteThis@gentoo.org mailing list
Back to top
Login to vote
Matthew Landry

External


Since: Aug 05, 2004
Posts: 6



(Msg. 3) Posted: Thu Aug 05, 2004 10:00 am
Post subject: Re: [gentoo-user] Re: emerge wants to install ssmtp...why? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, Aug 05, 2004 at 08:24:53AM -0400, Thomas Kirchner wrote:
> You probably have ssmtp set as your virtual mta (it's the default). Add
> this to your /var/cache/edb/virtuals file:
Nope. Checked that. The string "ssmtp" does not appear in any file
in /var/cache/edb.

Adding the -t option to the emerge command shows me that it's being
incorporated as a dependency of procmail. But the error doesn't seem to be
in the procmail ebuild...that just depends on "virtual/mta", which is
defined as postfix in the virtuals file.

Weird.

(Thanks to Duncan, also, for the suggestion about
/etc/portage/package.keywords. It does feel safer to list the specific
packages I don't want downgraded in there than to use the -U option.)
--
Matthew Landry mbl.TakeThisOut@lelnet.com O-
LEL Network Services Anti-Stupid Talisman
"You don't have to outrun the bear. Just outrun the slowest hiker."
GPG Fingerprint: 842E B9FC BA37 3C4F BBFA 91A8 CA08 40FB 8561 71A7

--
gentoo-user.TakeThisOut@gentoo.org mailing list
Back to top
Login to vote
Collins Richey

External


Since: Jun 27, 2004
Posts: 234



(Msg. 4) Posted: Thu Aug 05, 2004 1:20 pm
Post subject: Re: [gentoo-user] Re: emerge wants to install ssmtp...why? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 5 Aug 2004 08:24:53 -0400
Thomas Kirchner <lists.DeleteThis@halffull.org> wrote:

> On Thu, Aug 05, 2004 at 03:55:21AM -0500, Matthew Landry wrote:
> > I have postfix installed on this machine. I like postfix. And
> > since
> > this is the mail server for my domain, I very emphatically do not
> > want something which will overwrite any component of postfix. So
> > why, all of a sudden, does emerge want to install ssmtp when I do an
> > update?
>
> You probably have ssmtp set as your virtual mta (it's the default).
> Add this to your /var/cache/edb/virtuals file:
>
> virtual/mta mail-mta/postfix
> virtual/mda mail-mta/postfix
>

This is all fine and good, but if this is the fix for his problem, why
in hell did portage leave his virtuals set to ssmtp when he has postfix
installed?

--
/\/\
( CR ) Collins Richey
\/\/ fly Independence Air - they run Linux




--
gentoo-user.DeleteThis@gentoo.org mailing list
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[gentoo-user] ssmtp - what wants to install it? - Trying to remove any MTAs from my system, so I did an emerge -C ssmtp, which unmerged it just fine. But, doing a emerg...

[gentoo-user] nasty ssmtp - Hi, I am using sendmail, but 'emerge -pvD world' wants to install ssmtp. If I add mail-mta/ssmtp to..

[gentoo-user] ssmtp - How to set up - Hi all, I have never got system messages, cron messages etc to work in gentoo. This really hasn't been a problem but....

[gentoo-user] Postfix with ssmtp block - How do I handle this? Brian- gentoo2 root # emerge -p postfix These are the packages that I would merge, in order: ....

[gentoo-user] sSMTP - not working correct - Hi, as you will probably notice in my header sSMTP isn't working correct. Here's what i need to set up: 1 user, lets..

[gentoo-user] ssmtp error when using elog - Sorry for posting this again but can anybody help? How do I find out what 451 Temporary Local Problem is? Paul Hello..
       Soft32 Home -> Linux -> User All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]