Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29499 - emerge -Du world, installs ssmtp when virtual/mta already provided by postfix
Summary: emerge -Du world, installs ssmtp when virtual/mta already provided by postfix
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 8810 9050 11455
Blocks: 33790 34718
  Show dependency tree
 
Reported: 2003-09-24 02:55 UTC by Rob Davies
Modified: 2011-10-30 22:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Davies 2003-09-24 02:55:51 UTC
emerge -DUup world, shows  
[blocks B     ] net-mail/ssmtp ("virtual/mta" from pkg net-mail/
postfix-2.0.16) 
 
unmerging ssmtp and re-emerging postfix, results in : 
# emerge -Dup world 
Calculating world dependencies ...done! 
[ebuild  N    ] net-mail/ssmtp-2.60.4 
 

Reproducible: Always
Steps to Reproduce:
1.Install Gentoo	 
2.emerge postfix 
3.Try to do deep upgrade, emerge -Du 
Actual Results:  
ssmtp, tends to get installed unecessarily, to satisfy the virtual/mta 
dependancy, which is satisfied by postfix. 

Expected Results:  
Would expect postfix to satisfy virtual/mta and prevent install of ssmtp even 
on deep upgrade emerge. 

Symptoms very similar to http://bugs.gentoo.org/show_bug.cgi?id=282 which has 
been fixed, but emerge -D seems to expose similar issue.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-09-24 06:42:40 UTC
Please check the virtual/mta line in your /var/cache/edb/virtuals once you've postfix installed. It should read "virtual/mta net-mail/postfix", if it is different try to change it and report if it fixed the problem.
Comment 2 Rob Davies 2003-09-24 08:00:27 UTC
This is strange! 
 
It had "virtual/mta  net-mail/ssmtp", as I expected, but when I editted the 
file, so that virtual/mta  net-mail/postfix was present, it still wants to 
install net-mail/ssmtp! 
 
Perhaps something else is depending (incorrectly) on net-mail/ssmtp rather than 
virtual/mta, how can I check?  Could a dependancy of another package (installed 
as a dependancy), be pulling it in, which is why this shows up when emerge -Du 
is used? 
Comment 3 Rob Davies 2003-09-26 01:10:09 UTC
Does the ebuild update postfix-2.0.16-r1 set the virtual/mta back to net-mail/ssmtp?
 This appeared to happen this morning, so I've reset virtual/mta to net-mail/postfix.
 The emerge -Dup world still marks ssmtp-2.60.4 as [ebuild N].

I've another open bug now, "emerge -up world" wants to install a new package,
ssh-3.2.5, for no apperent reason, mention it in case it's not an ebuild
bug, but some related problem http://bugs.gentoo.org/show_bug.cgi?id=29651
Comment 4 John Huttley 2003-12-04 22:14:24 UTC
This bug is still alive and kicking!
Anyone using postfix must be used to it by now..
Comment 5 Johan Ymerson 2003-12-08 02:24:02 UTC
I have a similar problem.
I have sendmail installed.
I tried to emerge mod_php, which resulted in:
emerge -p mod_php
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] app-crypt/mhash-0.8.18-r1
[ebuild  N    ] media-libs/freetype-2.1.4
[ebuild  N    ] media-libs/pdflib-4.0.3-r1
[ebuild  N    ] dev-libs/libmcrypt-2.5.7
[ebuild  N    ] dev-perl/XML-Parser-2.31-r1
[ebuild  N    ] app-text/sablotron-0.97
[ebuild  N    ] media-libs/t1lib-1.3.1
[ebuild  N    ] media-libs/freetype-1.3.1-r3
[ebuild  N    ] net-libs/libwww-5.4.0-r1
[ebuild  N    ] net-mail/ssmtp-2.48
[ebuild  N    ] dev-php/mod_php-4.3.3-r3

On a test box, I tried to really do it, and
it resulted in that ssmtp wrote over some important files
for sendmail (sendmail executable for example...)
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2003-12-24 12:54:28 UTC
This is fixed in test/development releases.
Comment 7 Jan Schubert 2003-12-30 01:34:40 UTC
On my side /var/cache/edb/virtuals pointed to ssmtp and sendmail. I removed sstmp and now i'm happy.
To get rid of the dependency for virtual/mta i've tried a emerge -e sendmail before, which showed some success, but now it is solved :-)

Thx,
Jan
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2004-01-18 06:52:33 UTC
closing