Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage suddently wants to install Courier [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Mon Jun 20, 2011 1:34 pm    Post subject: Portage suddently wants to install Courier [SOLVED] Reply with quote

This morning Portage suddenly wants to install courier on my laptop.

Up until now I've had ssmtp installed, but this morning Portage wants to uninstall it and install couriier instead, showing a lower-case (auto-resolvable) block. Has ssmtp beed deprecated in favor of courier? What's odd is that courier shows no "S" in its install, the way files that are part of @system normally do.
Code:
# emerge -ptuvDN world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[blocks b     ] mail-mta/courier ("mail-mta/courier" is blocking mail-mta/ssmtp-2.62-r8)
[uninstall    ]  mail-mta/ssmtp-2.62-r8  USE="ssl -ipv6 -maxsysuid (-md5sum)"
[ebuild  N    ] mail-mta/courier-0.65.2-r1  USE="crypt fam ldap nls pam spell -fax -ipv6 -mysql -norewrite -postgres -web -webmail" 6,986 kB
[ebuild  N    ]  net-libs/courier-authlib-0.63.0-r1  USE="berkdb crypt gdbm ldap pam -debug -mysql -postgres -vpopmail" 2,752 kB

Total: 2 packages (2 new, 1 uninstall), Size of downloads: 9,737 kB
Conflict: 2 blocks

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


On other systems I use postfix, and if I have to install a "real" MTA instead of ssmtp, I'd rather just install postfix with a simple null-mailer configuration, and not have to learn admin on another mta.

What's up?
_________________
.sigs waste space and bandwidth


Last edited by depontius on Mon Jun 20, 2011 4:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1897
Location: 127.0.0.1

PostPosted: Mon Jun 20, 2011 3:00 pm    Post subject: Reply with quote

The question you should ask is : why your system does not want to upgrade to mail-mta/ssmtp-2.64-r2 ?
Code:

$ grep -A 2 ^RDEPEND $(equery w mta)
RDEPEND="|| (   >=mail-mta/ssmtp-2.64-r2[mta]
            <mail-mta/ssmtp-2.64-r2
            mail-mta/courier

Since your system does not want to upgrade ssmtp, it wants to install next virtual/mta on the list : mail-mta/courier.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Mon Jun 20, 2011 4:51 pm    Post subject: Reply with quote

Even weirder... I tried "emerge -a1tv ssmtp" and it happily upgraded me from mail-mta/ssmp-2.62-r8 to mail-mta/ssmtp-2.64-r2, no problems. But now if I do "emerge -ptuvDN world" it wants to remove the new ssmtp and install courier. I normally run "emerge -atuvDN world" so I can see the chain of demand on packages. But as far as I can see, nothing is demanding courier, not even @system, it just wants to do it.

Never mind - I see now. I have to add the "mta" use flag to ssmtp. From "virtual/mta/mta-0.ebuild:
RDEPEND="|| ( >=mail-mta/ssmtp-2.64-r2[mta]
<mail-mta/ssmtp-2.64-r2
mail-mta/courier
mail-mta/esmtp
mail-mta/exim
mail-mta/mini-qmail
>=mail-mta/msmtp-1.4.19-r1[mta]
<mail-mta/msmtp-1.4.19-r1
mail-mta/nbsmtp
mail-mta/netqmail
mail-mta/nullmailer
mail-mta/postfix
mail-mta/qmail-ldap
mail-mta/sendmail
mail-mta/citadel[-postfix] )"

The "mta" USE flag looks to be new to ssmtp with 2.64-r2, which is why this all suddenly popped up. I've added that to /etc/portage/package.use and now "emerge -atuvDN world" is rebuilding mail-mta/ssmtp with the new flag.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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