Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 199228

Summary: portage pulls in ssmtp when you install postfix
Product: Gentoo Linux Reporter: Richard Scott <gentoo.bugs>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Scott 2007-11-15 11:58:52 UTC
On a virgin system with NO mta installed you are unable to install postfix without portage requesting you to install ssmtp.

Reproducible: Always

Steps to Reproduce:
1. unmerge any mta's on your system or start with a fresh system
2. emerge postfix without the mailwrapper flag

Actual Results:  
portage blocks the installation of postfix as it is trying to install ssmtp

Expected Results:  
postfix to be installed
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-15 12:00:06 UTC

*** This bug has been marked as a duplicate of bug 1343 ***
Comment 2 Richard Scott 2007-11-15 12:13:28 UTC
I'm confused as to how that bug #1343 is relevant to this?

All I want to do is emerge postfix on a system with no MTA. Portage is checking for a virtual/mta and as this doesn't exist is trying to install ssmtp to meet this requirement even tho it is met via postfix.

Bug #1343 was opened in 2002.... the problem I am having is a recent one that has only been around for the past month or so. 

If you roll back your portage to at least the 22nd of October then all works as it should do! 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-15 12:15:39 UTC
Read the bug more carefully and please avoid more noise here. 

*** This bug has been marked as a duplicate of bug 1343 ***
Comment 4 Richard Scott 2007-11-15 12:29:45 UTC
I have read the bug and it stated that it should be fixed on 2.0.51!

As its not I opened a bug report.

I have since found a fix tho.... downgrade to sys-apps/portage-2.1.3.16 and all works well!

So, back to me telling you guys that there is a bug in the latest verison of portage ;-)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-11-15 12:32:19 UTC
You read the bug plain wrong. 

Bug 1343 affects every single portage version out there. That's why it is still OPEN. So now move there and leave this DUPLICATE alone.


*** This bug has been marked as a duplicate of bug 1343 ***
Comment 6 Zac Medico gentoo-dev 2007-11-16 01:08:52 UTC
(In reply to comment #2)
> If you roll back your portage to at least the 22nd of October then all works as
> it should do! 

There was a code change that can explain that. The previous code may have worked better in some cases but it wasn't guaranteed to work and it could also lead to problems in some cases. I'm working on a fix for bug 1343 that should handle most cases pretty well.